[GRASS-user] v.net.path through gis manager (GRASS6.2)

Moritz Lennert mlennert at club.worldonline.be
Tue Feb 20 11:06:15 EST 2007


On 20/02/07 15:21, Aldo Clerici wrote:
> Dear GRASSusers,
> 
> I'm trying to use v.net.path through gis manager (GRASS6.2) to define the
> shortest path between two points of given coordinates, but the panel of the
> command seems not to allow the coordinates input, even though the
> description of the last parameter in the panel reports explicitly this
> possibility 'Maximum distance to the network if start/end are given as
> coordinates' 
> 
> In command line mode the following works:
> v.net.path in=roads ou=roads_pt <<end
>> 1 592634 4925356 596568 4922912
>> 2 591738 4923061 593170 4915608
>> end
> 
> Is there a way to perform the same operation using gis manager?


You can define a command layer and in this layer use something like:

echo "1 592634 4925356 596568 4922912 2 591738 4923061 593170 4915608" | 
v.net.path in=roads ou=roads_pt

(don't know if you need to add a separator between the points)

Moritz




More information about the grass-user mailing list