Select to view content in your preferred language

How to enter stops in the find_routes function?

336
1
08-07-2020 04:12 PM
JocivanCabrera
New Contributor

In what format do stops have to be entered into the find_routes function from the ArcGIS Python API? I have looked at examples of it, but am still not fully understanding how it has to be entered into the function. A quick heads up, I am relatively new to programming so I'm still getting familiar with the terminology. Thank you!

0 Kudos
1 Reply
JocivanCabrera
New Contributor

I figured it out, I misinterpreted directions for the function to be used and was not aware JSON formatting had to be used to enter stops. Examples of formatting stops can be found here Route service with asynchronous execution—ArcGIS REST API | ArcGIS for Developers 

0 Kudos