Monday, May 30, 2022

GIS Programming Module 2: Debugging

 


The first screenshot details how the first script for module 2 works. The errors for the first script involved making the casing and spelling consistent for variables. The script prints the names for the fields in the parks shapefile.

The second screenshot details the output of the second module 2 script. The errors for the second script also involved inconsistent spelling and casing. The programs displays the aprx's spatial reference, and displays the layers located within the aprx.


The third screenshot details the output of the third module 2 script. The errors for the third scripted were resolved using try-except. The script excepts part A. Part B names the layers, identifies the data source filepath and lists the spatial reference.


Wednesday, May 25, 2022

GIS Programming Module 1


 This is the results of the script created in Module 1 of my GIS Programming graduate class.

First, the script print my last name after splitting my full name. Second, a dice game is ran on a list of names that rolls dice based on the length of each name. Third a list of 20 random numbers ranging from 0 to 10 are created. Finally, the number 6 is removed from the previous list.

Mod 3.1 Scale Effect and Spatial Data Aggregation

  Scale effects the number of features that are depicted in a map, the overall length of these features, and if the feature is a polygon the...