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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Working with lists6m 18s
-
(Locked)
List methods and functions8m 48s
-
(Locked)
Use loops to work with lists7m 50s
-
(Locked)
Write a script using list methods and a for-loop3m 39s
-
(Locked)
Nested loops8m 16s
-
(Locked)
Conditional statements7m 35s
-
(Locked)
Write a script using ArcGIS API10m 31s
-
(Locked)
Getting to the properties of GIS data with Describe3m 28s
-
(Locked)
Challenge: Properties of layers37s
-
(Locked)
Solution: Properties of layers3m 4s
-
(Locked)
-
-
-
-