Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 3 ) Crime analysis: There are a bunch of hobos wreaking havoc along the railroads, and the police want to know how much railroad
Crime analysis: There are a bunch of hobos wreaking havoc along the
railroads, and the police want to know how much railroad is within
miles of key points. You are the person for the job. Pretend there are a
ton of different point shapefiles in the Challenge folder. List the point
shapefiles using the List Feature Classes function pts Loop over the
list of shapefiles pts and save all output to the Results folder. Inside
the loop complete the following tasks pt for each task:
Create a mile buffer around the point shapefile.
Clip railroads, shp using the buffer.
Dissolve the railroad clip into a single feature.
Add a float field to the dissolved shapefile.
Calculate the mileage of the dissolved shapefile.
Your end result should be the length of railroad within miles of the key
points. This is the area that the police must patrol. Report how much
railroad the police must patrol below this includes the mileage in
each shapefile pt
Miles of railroad
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