Labels

Wednesday, June 24, 2015

GIS 4102: GIS Programming Module 6

Module 6: Geoprocessing with Python

This week’s lecture covered using Python for geoprocessing tools, working with toolboxes, using functions and classes, using environment settings, working with tool messages and ArcGIS licenses, and accessing Help for syntax and sample code.

This week’s assignment involved writing a script to do the following:

1.     Add XY coordinates to a layer by using the AddXY Tool.
2.     Creating a buffer around features by using the Buffer Tool.
3.     Dissolving the buffer layer into a separate, single feature by using the Dissolve Tool.
4.     Printing the messages after each tool.

Below is a screen shot of the results in the Interactive Python window.



No comments:

Post a Comment