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 ...
Cannot Connect (pg_hba.conf Error)
Portal Error - The portal site is currently unavailable. Please contact your portal administrator to resolve the issue (Log files attached)
I cannot create a Portal admin account with ArcGIS Enterprise
ArcGIS Portal Issue
I am upgrading from ArcGIS Portal 10.4.1 to 10.5.1