[GRASSLIST:2461] Re: d.path

Radim Blazek blazek at itc.it
Wed Feb 4 04:43:14 EST 2004


On Wednesday 04 February 2004 07:58, Maliheh wrote:
> Please help me:
>
> Hello dear list,
> I'm working on an application that I want to find best
> path between two points on a vector map, by use of
> d.path.
> But I want to specify "from" and "to" points with
> giving their name ( I have a name column in my dbf)
> for example: from x to y; Not by specifying points
> with mouse.
> Did someone work on this before?
> Do you have any suggestion for me?
> Thanks a lot
> Maliheh

v.net.path can find shortest path between 2 nodes on the network.
Node is identified by category of point at the node. Use v.net
to create such points and v.category to assign categories.

Radim




More information about the grass-user mailing list