AnsweredAssumed Answered

LocalRoutingTask- Ordering of Routes and TotalCost property

Question asked by lyap8408 on May 7, 2015
Latest reply on May 10, 2015 by lyap8408

I am using LocalRouteTask, on ArcGIS Runtime SDK for .NET 10.2.5

 

I have a limited network dataset (the only impedance is Length), so I have not been able to make an observation on the following.

 

In any circumstances that the LocalRouteTask returns more than one Route in RouteResult, how are these routes ordered? Are they ordered by the cost (on the impedance attribute)?

 

Would like to know what does the property Route.TotalCost indicate? What is specified as "key". The routes I had solved only provides:

- TotalWait_Length (always 0)

- TotalViolation_Length (always 0)

 

I am assuming that Route.TotalCost to include the cost based on impedance attribute.

Eg. ImpedanceAttribute = "Slope"

So...Route.TotalCost["Slope"] will return the cost of the route

Outcomes