Module 5 GIS Programming: Explore and Manipulate Data

 Hello all, in the 5th week of GIS Programming we learned how to deal with data. As the title of the module states, we explored data using things like describe functions and search cursors, and we manipulated data by learning about insert/update cursors and how to create different data (such as creating a file geodatabase or a dictionary). 
    The assignment was to create a script that made a new file geodatabase, copied over feature classes from one folder to the geodatabase, and then populated a dictionary using data from a search cursor done on the cities layer in the fGDB. 
    Below is a picture of the flowchart of my script: 

    The results of the script are shown above. There are print statements throughout the script to explain what processes were happening and when they were completed. The only problem that I ran into with the script actually helped me learn how to determine if my script is working the way I want it to in general. I did not think the feature classes were being copied over because I could not find them in the file explorer. By using a list feature classes function on the geodatabase I was able to determine that they were copied over, so I was able to continue my code.

Comments

Popular posts from this blog

Module 2 GIS Programming: Python Fundamentals

Module 6 GIS Programming: Working with Geometries