[GRASS-windows] Net work analysis

Moritz Lennert mlennert at club.worldonline.be
Fri Jul 31 04:35:51 EDT 2009


On 30/07/09 23:33, Ravi wrote:
> Hi, as on GRASS windows points cannot be mouse picked for input .. 

Actually, you cannot do this on any platform in grass7...
And in grass6, you have to use x-monitors to do that.

> any suggestions say for; Giving Point A and Point B (X,Y) for
> shortest path.?

Currently, the only way is to use v.net.path with coordinates in a text 
file. To get those coordinates you can use the interrogation tool in the 
Map Display window, click on the desired points and copy-paste the 
coordinates. Not the ideal, but until someone programs a script which 
will do this "automagically", this is the only way to go. The advantage 
of doing this is that you will get and actual vector map with your 
shortest path lines, and not just a line of the display which disappears 
when you close the display. Also, it is easy to understand later what 
you did (i.e. which were the coordinates used) if you have the text 
file, something that is not possible if you only use the interactive d.path.



Moritz


More information about the grass-windows mailing list