Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Quality Audit In Health Care To Avoid Disallowances Literature Review

Authors: Ana P. Alves De Asevedo

1st Edition

6206120406, 978-6206120407

More Books

Students also viewed these Accounting questions

Question

How do you construct a left-or right-shifted Gantt chart?

Answered: 1 week ago

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How can we visually describe our goals?

Answered: 1 week ago