GIS5103 Module 6: Working with Geometries

    In this week’s GIS Programming lab, we focused on creating a search cursor to iterate over shapefile geometries and demonstrating the ability to write vertices of a geometry to a text file. Ultimately, we needed to create a script that successfully wrote (into a text file, such as in Notepad++) with specific vertex/point information:

  • Feature OID
  • Vertex ID
  • X-coordinate
  • Y-coordinate
  • Name of river feature

The below screenshot is a snippet of the completed, successful script outcome.

From left to right, items are: OID, vertex ID, X-coordinate, Y-coordinate, and name of feature.

See below flowchart providing a logical flow of script created:


Comments

Popular posts from this blog

GIS5007 Orientation: About Me

GIS 5007 Module 6: Isarithmic Mapping

GIS5935 Module 2.1: Surfaces - TINs and DEMs