[GRASS-user] Shortest Distance v.net.path

jfk02 kaplanj at gmail.com
Fri Sep 3 16:46:51 EDT 2010


I am working with v.net.path in Grass 6.4.0RC7. I am attempting to get the
shortest distance between a point and numerous other points along a network
of streets. I have point A going to 112 different point Bs. I created a text
file that looks like this and is loaded into GRASS as the file containing
the start and end points: 

0 747212.685926 4720037.13823 746483.659225 4716904.53527
1 747212.685926 4720037.13823 746500.601921 4716933.7664
2 747212.685926 4720037.13823 746511.948724 4716964.86195
3 747212.685926 4720037.13823 746520.848479 4716995.63643
4 747212.685926 4720037.13823 746516.776154 4717023.48178
5 747212.685926 4720037.13823 746546.774411 4717037.56583
6 747212.685926 4720037.13823 746573.881945 4717057.02371


It seems like the path works for some start and finish point combonations,
but for others it does not and it simply draws a straight line between point
A and point B (see image below). I am hoping someone might be able to tell
me why this may be happening and how I can stop this from happening. The
coordinate system I am using is in US feet and I am using a Maximum Distance
to Network of "1" because all of the points should fall essentially right on
the line. Thank you very much for any help you can lend.

View this message in context: http://osgeo-org.1803224.n2.nabble.com/Shortest-Distance-v-net-path-tp5496931p5496931.html
Sent from the Grass - Users mailing list archive at Nabble.com.

More information about the grass-user mailing list