Week 7 - Module 6 - Working Spatial Data
GIS 4102
In this weeks module, we were focusing on working with spatial data. There was a lot to cover, and it was enjoyable learning about functionality available in Python to accomplish different tasks. I discovered how to utilize lists, tuples, directories, as well as different cursors to manipulate and show data to the end user.
The above screenshot was the results of the script I have written. This script creates a Geodatabase named JBG16. It then copies all the shapefiles from the Data directory into the newly created GeoDatabase. Once copied the cities feature class is searched using a search cursor that gathers and populates a directory named countySeats with the NAME and POP_2000 values. Finally, those results are then printed for the user.
Overall, this was the most challenging of all the projects I have done. I ran into a syntax error that kept me busy for a while, but ultimately was able to discover the problem through script troubleshooting. Who knew the addition of the letter s at the end of a value could keep me busy for over an hour...
No comments:
Post a Comment