Geometries

 

Working with Geometries

GIS5103 - GIS Programming - Module 6


Learning Objectives:
  • Create a search cursor to iterate over shapefile geometries 
  • Demonstrate the ability to write vertices of a geometry to a text file 
  • Contrast the different objects using in parsing over geometries within a script

These were accomplished by writing a script that creates a text file and writes information from a shape file into it. The script utilizes search cursers, nested for loops, string functions, and many print functions to monitor the functionality of the script as it runs. Below is a screenshot of part of the output of this script.







Comments