Saturday, July 30, 2016

Exercise 9: Create a Script Tool

Goal: This exercise focused on creating a custom script that generates a swiss hillshade of any inputted DEM.


Methods: In this exercise Python and ArcMap were both utilized in the creation of a script that allows for any DEM to be hillshaded. The steps involved include: Importing system and Python Modules, setting up variables and loops, dividing DEM, calculating hillshades, add DEM, setting up except statement, creating a custom toolbox in ArcMap, creating a map in ArcMap.


Results: The script (Figure 1) and map highlighting the finished tool (Figure 2) can be found below.


 
Figure 1 - Script showing commands for hillshade tool
Figure 2 - Map showing off the result of using the hillshade tool.
The “Oregon Spatial Data Library” Accessed in 2016 from http://spatialdata.oregonexplorer.info/geoportal/catalog/main/home.page
USGS National Map Accessed in 2016 
Hupy, C. (2016, July). Module 2 - Exercise 3. Retrieved July, 2016, from http://www.uwec.edu/Staff/hupycm/  

No comments:

Post a Comment