Module 6: Working with Geometries
Module 6: Working with Geometries
This week we learned how to use search cursors to write data to text files. Using a for statement I wrote the data see in the image to the left. The left image is a flowchart documenting a simple presentation of the code used. Additionally, I created a pseudocode documenting the actions of my code in 10 steps; Set the workspace, Identify the shapefile being used, Open/create a new text file, Create a new search cursor, Set the value for “row”, Set the vertex ID, Set line as the value to write as the 5 required values, Write line into the text file, Delete the row and cursor, Close the text file.

Comments
Post a Comment