From the course: Learning ArcGIS Python Scripting

Unlock the full course today

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

Getting to the properties of GIS data with Describe

Getting to the properties of GIS data with Describe - ArcGIS Pro Tutorial

From the course: Learning ArcGIS Python Scripting

Getting to the properties of GIS data with Describe

- [Lecturer] We've seen how to connect to web maps and web services and how to get to an ARC GIS Pro project and its maps and layers, but we haven't spent any time getting into geo databases, raster files and feature classes. Let's talk about how to get to a geodatabase and work with the properties of the feature classes, the rasters, and other data types in the geodatabase. Suppose you want to list out all the feature classes in a geodatabase, you'd need to use the arcpy.ListFeatureClasses function. I'll need to import ArcPy first of course, but this function is a little different because you don't specify the geodatabase name in those parentheses of the function. Instead, you have to set the current workspace environment setting before using this tool. We talked about that a little bit earlier in the course. So I'll set the current workspace. The workspace setting comes from the env module of ArcPy. I'm going to set the workspace to the Baytown geodatabase. This is one of the geo…

Contents