Creating a Parameter in Toolbox that allows user to select existing road features form a map as input

307
2
02-12-2025 08:36 AM
EmmaButzler
Emerging Contributor

I want the users input to my script to be road sections that the user chooses from the map. I want those road sections that were chosen to them be used in a calculation to determine how much time would be saved traveling that road selection that user wanted if the MPH were to change. 

How do I configure my parameters so the input is only the roads that the user selects to change? 

0 Kudos
2 Replies
AlfredBaldenweck
MVP Regular Contributor

I feel like the straight-forward thing to do here is have them input the layer with the selections already selected. A layer parameter will operate on whatever selected features you feed it.

EmmaButzler
Emerging Contributor

Thanks for the response. The idea is to put this into a GP tool and then a web service tool. I think a work around way would be to create a new feature layer with the selection, not display it and calculate the time base on that. 

0 Kudos