How do you calculate Route Directness?

3610
1
10-02-2012 12:53 PM
DavidDaddio
New Contributor
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.
Tags (2)
0 Kudos
1 Reply
JaySandhu
Esri Regular Contributor
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.

Jay Sandhu
0 Kudos