Question: Can you help me with this problem write with python using arcmap? Thanks! Students will write a python script that allows us to return some

Can you help me with this problem write with python using arcmap? Thanks!

Students will write a python script that allows us to return some basic information related to the number of place types (e.g., Coffee Shops) within a specified radius (e.g., 500m) of metro stations in Washington, D.C.

Your will need to use arcpy.GetParameterAsText() in the script to ask/take four userspecified inputs:

Name of points of interest (POI) shapefile. (e.g., DC_POI.shp)

Name of metro stations shapefile. (e.g., DC_MetroStations.shp)

Name of the place category of interest. (e.g., CoffeeShop)

Radius (in meters) from each metro station in which to count POI. (e.g., 500)

Your will need to use arcpy.AddMessage() in the script to print output message which contains the following information:

Name of the user-supplied place type

Radius supplied by the user

Total number of POI

Total number of POI within the specified radius of all metro stations

Total number of POI of the specified category within the specified radius of all metro stations

Below is an example of output (numbers are fake):

User-supplied Place Category: CoffeeShop

User-supplied Radius: 500 meters

Total number of POI: 24428

Total number of POI within 500 m of a metro station: 1131

Total number of coffee shops within 500 m of a metro station: 121

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!