GIS 4048 - Module 6 Assignment: Working with Rasters
For module 6 we are to create a raster that displays certain areas with particular parameters of slope, aspect, and land cover type.
While I was working on this assignment, I tried to edit my code multiple times as I felt my raster results were not exact to the example in the assignment directions. I decided to submit with my results, as I felt it was the closest, I was going to get to the assignment raster example. Once I zoom in closer to my final raster map, I felt a little more confident as it matched better with the example. (I also have a small computer screen).
Final Raster Map:
Zoomed Raster Map:
Flow Chart:
Start
print
import arcpy
from arcpy import env
from arcpy.sa import *
print
env.overwriteOutput = True
print
set workspace to gdb
print
create new raster
if arcpy.CheckExtension
print
check out extension
print
remap value function
reclassify tool
.save
print
assign elevation raster variable
print
create variables for slope and aspect
print
calculate slope and aspect calculations
print
combine temporary rasters
print
save final raster
print
check in extension
create else extension
print
Stop


Comments
Post a Comment