Thursday, July 19, 2018
Module 8: Geometries
This week used Python to work with spatial data in ArcMap. Specifically, we focused on reading and writing geometry objects (aka Vector data). Vector data can be organized into rows of an attribute table, each row may contain an array of object or point information continue down to individual vertices that make up the shape. Geometry tokens are shortcuts to specific geometry properties. This week in lab we utilized search cursors and for loops to get through, row, array of parts to points. Then the information was converted to strings to write the OID, point number, x coordinate, Y coordinate and name of the feature to a text file. Above is a section of the text file, created and written with Python, containing the information
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment