From the course: Python Scripting Using the ArcGIS API for Python

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Working with the FeatureLayerCollection object

Working with the FeatureLayerCollection object

From the course: Python Scripting Using the ArcGIS API for Python

Working with the FeatureLayerCollection object

- [Instructor] A feature layer collection is a Python API representation of a feature service. I can create instances of the feature layer collection class by connecting to a feature service through its URL or by connecting to a feature layer item in AGOL or Portal through its item ID. I can also connect to a feature layer collection by using the search method on my content property of my GIS object. I'll show you some of the properties and methods of a feature layer collection and how I can use them. I've got a script open already that connects to my ArcGIS Online account, and I've already run this cell. I'll add a cell below. So let's see. I'm going to connect to some data from the City of Houston. City of Houston has this GIS Data Hub out here. Here's what I'm going to look for. The City of Houston has a dataset that shows where all the structural fires have been, the building fires in the city. Let me see if I can find that and bring that into my script. So I'll go over here to…

Contents