Sunday, June 30, 2013

Module 5: Geoprocessing with Python

Script Result

This is a screen shot of the Pythonwin Interactive Window displaying the successful result of a script written to run three geoprocessing tools. The first tool adds xy coordinates to the features of a point shapefile called hospitals. The second tool creates a 1000 meter buffer of the hospitals shapefile. And the third tool dissolves the hospital buffers into a single polygon feature. Writing and running a script does not automatically display each tools messages in the interactive window. To get feedback on the result of a tool, it is necessary to instruct Python to print each tools messages. I successfully incorporated two while loops to accomplish this part of the lab.

No comments:

Post a Comment