Question: I am trying to create a script tool for ArcGIS pro that utilizes osmnx and geopandas to take a user input address use the geocoding

I am trying to create a script tool for ArcGIS pro that utilizes osmnx and geopandas to take a user input address use the geocoding functions from osmnx and create a drive network based off a user defined distance. So for example the user can list an address and define 500m distance osmnx will geocode the address and retun the network graph of roads since we are using drive that is 500m in networkndistance. The script tool will create a line layer of the roads and a point layer of the orgin point ( the geocodeed address). The issue i keep tuning into is if i hard code the values and runnthe script outside of pro it works. However, when i transition to anscript tool and not hardcoded values i get error saying the crs is empty. Even if hardcoding the crs value in the script i still get this error

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 Programming Questions!