GIS 4102, Lab 4 - Model Builder

This was another fun lab. Coding has been a giant challenge for me, but I've been able to make it through every week so far, and I'm learning a lot.
This week, we learned to use Model Builder to create complex actions. We took two shapefiles, of a basin and soils, and used the builder to clip the soils to the basin, select unsuitable farmland from the attributes table of the clip output, then erase it from that output to produce a new shapefile: We then used the Python notebook in ArcGIS to create a program that would take a point shapefile of hospital locations, and add XY coordinates to it, create a dissolved 1000m buffer around them, and print status messages about the process. The final output looked like this:
In this lab, I leaned heavily on the ESRI documentation for code examples. I also discovered that when using a geoprocessing analysis tool, in lieu of running it you can copy the Python code the tool uses into the notebook, which helped me develop code backwards.

Comments