RouteTask() - Walking route?

1656
2
10-30-2015 07:39 AM
TiffanyRam
New Contributor

I have been using the RouteTask() to plot barriers on sidewalks in the Boston area for pedestrians.  However, when I run the route, it appears to be using the driving route.  I have been looking around to see if there is a way to change the transit mode to walking, but have been unsuccessful.  Is it possible to do this?

Tags (2)
0 Kudos
2 Replies
RickeyFight
MVP Regular Contributor

Tiffany,

You could always create your own route service using a layer that follows sidewalks.

Then when you switch to walking, it would switch that layer for routing.

0 Kudos
FreddieGibson
Occasional Contributor III

Assuming that you're using route.arcgis.com to perform the routes are you setting the needed attribute parameters prior to calling the service to have it reflect enforce the Walking and Walktime attribute parameters?

Route service with synchronous execution

http://resources.arcgis.com/en/help/arcgis-rest-api/#/Route_service_with_synchronous_execution/02r30...

0 Kudos