GIS 5103 Module 4 - Model Builder

 

For week 4, we moved from learning the basics of how Python functions to using it within the ArcPro ecosystem. We learned how to use modelbuilder and how to write code necessary to complete basic geoprocessing steps like buffers and clips. 

For our results we included printed comments in order for it to be possible to see what code was executing when.

1        To create the xy coordinates, I pulled from the demo code on the Add XY coordinates help page, changing variables as necessary, and adding the print GetMessages function

2        To create the buffer, I first tried using the demo code available from ESRI help, but ran into it trying to do more steps than I wanted, so I built what I wanted in model builder and sent it to the python window and used that to create the code I needed, modifying names & code as necessary

3        I returned to my model builder to help create the dissolve code, troubleshooting a few issues I had with the creation of variables

4        I added a line of code after exporting my notebook to facilitate overwriting previous outputs by the script


I decided to get fancy and export my completed geoprocessing model as a map layout.

Comments

Popular posts from this blog

GIS 5007 - About Me!

GIS 5100 Module 5 Damage Assessment

GIS 5100 M4