2

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 ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.