Module 8- Working with Geometries
This week's exercises demanded hands on writing multiple scripts that worked with geometries in a shape file and text file in order to produce a poly line. I've never done this type of script, so it was really interesting going through the steps to find points, find lengths, and define an area using just a script and coordinates in a text file.
For the lab, I wrote a script that creates a new text file in which it writes the Object IDs for the vertices in a shape file and the coordinates.
To be honest, I had some troubles working backwards in the retrieval of coordinates part as well as writing all the vertices into the text file. Below is part of the script output.
For the lab, I wrote a script that creates a new text file in which it writes the Object IDs for the vertices in a shape file and the coordinates.
To be honest, I had some troubles working backwards in the retrieval of coordinates part as well as writing all the vertices into the text file. Below is part of the script output.
Comments
Post a Comment