GIS 5103 - Working with Geometries

 Module 5 of the GIS Programming course introduced students to working with geometries. Geometries refer to features that are points, lines, polygons or multipart features. We were able to read geometry objects to obtain additional information about them and their properties, we were able to write to the geometry in essence modifying or updating it, and we learned about nested loops which are necessary when working with polylines, polygons and multipart features. The code and functions we learned about take processes that require a long time and provides "shortcuts" making the GIS professional more efficient. This particular module also built on last week's module, requiring us to utilize a search cursor. 

The following image is a screenshot of a section of the text file resulting from our assignment. 


We were tasked with producing a text file which included a list of the vertices for rivers in a shapefile. Each entry in the list needed to include a feature number, vertex number, XY coordinates and name of the feature. I've also included the flowchart which shows the steps I took. 


It is worth mentioning that using the print function at various steps (which was not require) while I created the script helped me to closely follow what my script was supposed to do and assisted greatly during the debugging process. 



Comments

Popular posts from this blog

GIS 5935 - Data Quality Assessment

GIS 5935 - Surfaces - TINs and DEMs

GIS 5100 - Who is Gabrielle Hudson?