Module 7 - Geometries and Rasters
GIS 4102
PART 1.
The above screenshot contains a notepad text file. It was created using Python and the use of a nested "for" loop. Using a SearchCursor I was able to identify a polyline object and then using the nested "for" loop extract the information I needed from the feature object. The arrays within the feature contained multiple points or vertices that are identified above. Each point has it's coordinates (X, Y) values shown as well as the NAME field from the rivers shapefile that was used.
PART 2.
The above screenshot shows the final result of a raster tiff file that was created working with the elevation and landcover raster files. Utilizing Spatial Analysis I was able to modify the Forest landcover raster and identify Slopes between 5 and 20 degrees, as well as Aspects between 150 and 270 degrees. Once all these variables were isolated and identified I utilized a map algebra operator (Boolean "And" function) to classify the combined rasters. The final raster image is shown above.
This module was very robust and covered a lot of data that dealt with nested loops as well as spatial analysis of raster files. I enjoyed the challenge of this assignment.
No comments:
Post a Comment