AnsweredAssumed Answered

retrieveTravelModes returning travel modes not defined in my dataset

Question asked by smas01 on May 27, 2019
Latest reply on Sep 30, 2019 by smas01

I am observing a very strange behavior. I have published a network service on version 10.61.

When i click on

.../NAServer/Route/retrieveTravelModes?f=json

I get following travel modes which are not defined in my network data set. 

  • Walking Time
  • Rural Driving Distance
  • Driving Time
  • Driving Distance
  • Walking Distance
  • Rural Driving Time
  • Trucking Time

When i try to get travel mode on the same network data using

arcpy.na.GetTravelModes

I get following travel modes which i defined in my network data set.

  • Avoid Planned Roads

 

I have tried publishing same network dataset twice on my server but i am observing the same behavior. 

What i am missing here ?

Outcomes