Working With Rasters (GIS4102- GIS Programming)

This weeks assignment involved working with rasters. Our goal was to create a raster output that identified areas with set parameters, these being slope, aspect, and land cover type.

The script begins by checking whether or not the Spatial Analyst extension is available. If true, it moves onto reclassifying the land cover to only show forested areas, this created a temporary raster. Next, map algebra is used to perform slope and aspect calculations on temporary rasters. The slope is set between 5-20° and the aspect between 150-270°. All five temporary rasters are then combined to produce the result seen in the image provided, a new .tif file. If the Spatial Analyst extension is not available, an else statement was added to print such a message.

Comments