Question
1. Write a script called erase.py. special_regions.shp represents areas where a fire damaged a park, park.shp. Use the Erase (Analysis) tool to create a shapefile
1. Write a script called erase.py. special_regions.shp represents areas where a fire damaged a park, park.shp. Use the Erase (Analysis) tool to create a shapefile in C:/gispy/scratch called no_damage.shp which shows all the park regions that did not sustain damage. 2. Write a script called reclassify.py To explore using the RemapValue object, run the Reclassify (Spatial Analyst) tool by hand as follows: Reclassify the Gettysburg battlefield Esri GRID raster (getty_rast) VALUE field so that all raster areas with a value of 1 have a new value of 100 and all areas with a value of 2 have a new value of 200. Name the output raster C:/gispy/scratch/reclassGetty. Next, copy a code snippet from the results to see the syntax for the RemapValue object, and write a script that calls the Reclassify tool with the same input and output. In the script, be sure to delete the output Raster object using the del keyword. 3. Write a script called split.py park.shp is a large park. Maintenance has outlined work zones for which different teams will be responsible. workzones.shp specifies the zones. The manager would like to give each team leader a map that only includes her/his own work zone. Write a script to call the Split (Analysis) tool to generate the desired shapefiles. Using the Zone field to split the park. Have the script place the output shapefiles in C:/gispy/scratch.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started