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.


No comments:

Post a Comment

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...