Tuesday, July 12, 2016

Working With Geometries

GIS Programming - Mod 8

This week in working with geometries we created a text file and wrote lines of data to it from a rivers polyline shapefile.  This text file is the result.  Each segment of line for each object is listed individually.  The first number is the object ID, the second number is a vertex ID to show which segment of the object it belongs to.  Next are the xy coordinates and last is the river name.  This data was derived using a SearchCursor and a couple for loops, then written to the text file with a .write () statement.

Also as part of the assignment was writing the pseudocode and a flowchart for the script.



No comments:

Post a Comment