The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
How do you calculate Route Directness?
Discussion created by
on Oct 2, 2012
on Oct 3, 2012 by jsandhu-esristaff
Show 0 Likes
I have a pedestrian network and am trying to calculate the ratio of route distance to straight-line distance for two selected points before and after a pedestrian improvement.
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Oct 3, 2012 10:15 AM
You can solve the route with options of outputting either a true shape or straight line.
So you can add two double fields to your output route line sub class called routelength and straightlength.
Solve the route with true shape and then use the field calculator to calculate the geometry (length) for the routelength field and then change the route property to output straight line and then use the field calculator to calculate the geometry (length) for the straightlength.
Make sure you are in a projected view (not geographic coordinates) for the field calculator/calculate geomtry option to work for computing the lenght of the lines.
Show 0 Likes
Retrieving data ...
Query service vs query DB
Geometry in NumPy... # 1
ArcGIS Portal : Federated server - "failed to validate the server managed database"
Spatial Statistics: Mean Center tool failed to work
Standby Portal Webgisdr issues