Saturday, June 6, 2026

Module 4

 

In this weeks lab I used model builder and notebooks to create scripts to preform functions on shapefiles. In the screenshot above I used notebooks to create a script to add XY coordinates to a shapefile then add a 1000 meter buffer to the shapefile, dissolving the area into a single feature. I did this by utilizing he toolbox and copying the scripts after putting in my conditions. In the beginning of the script i had to add "arcpy.env.overwriteOutput = True" to avoid errors and stop manual prompt interruption's. I used the GetMessages() function to give the the start time and success messages you see in the screenshot.