In this lab PyScripter was used to create a script that would allow for the selection of landslides that meet the required criteria, add the raster values for precipitation, slope and land use to a point feature class, add and calculate fields to find a radius a of a buffer for the landslides and buffer the landslides using this radius, use zonal statistics to find the mean slope of the buffered landslides and add it to the table, create an update cursor to update the null values, calculate the summary statistics for the raster values based on movement class and land cover type then, as well as the combination of both and finally use the tabulate area tool to calculate how much of each buffer falls within different analysis class. The results were then exported to a MS Excel table.
Methods
Figures 1.1, 1.2 and 1.3 show the script that was used to create the final table.
(Figure 1.1: Part 1 of the script)
(Figure 1.2: Part 2 of the script)
(Figure 1.3: Part 3 of the script)
Results
Figure 2.1 shows a portion of the table that was created using the script. On the table are all the different land types that are within the study and have experienced a landslide.
(Figure 2.1: Final Table)
Sources
-The “Oregon Spatial Data Library” Accessed in 2016 from http://spatialdata.oregonexplorer.info/geoportal/catalog/main/home.page
-USGS National Map Accessed in 2016
http://nationalmap.gov/
No comments:
Post a Comment