Select to view content in your preferred language

Convert Shape_Length

760
1
05-12-2010 09:53 AM
AndreSmit
Emerging Contributor
How would one convert the shape length returned in the routeResult (routeResult.route.attributes.Shape_Length) to miles say.

e.g.
"Shape_Length":0.327328222939893
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Guys,

    Shape_Length is just one of the standard geodatabase fields and is not configurable. It uses the units of the feature classes spatial reference. You can convert this value using standard math though.
0 Kudos