[GRASS-user] Multiple v.net.path parameters

Hamish hamish_b at yahoo.com
Mon Aug 17 09:50:58 EDT 2009


achim wrote:
> In attached example it is possible to calc path from 1 to 4
> and from 5 to 6, but not from 1 to 2,3,5,6 or from 5 to anywhere
> expect 6 and so on.
> 
> Do you have an idea how to handle this?
> 
> Especially: do you know if "breaking the lines" (eg. dark
> green one at point 5) is possible with networking techniques?


from the image the little "+"s indicate there are nodes at all
intersections, so there is nothing to break really. (unless there
are two lines on top of each other, in which case you can do v.clean
remove duplicates tool)

if you want each line to have it's own color/cat use v.category option
to remove all cat numbers then again to add new ones sequentially. you
might have to do that in another column and then change the key column
to the new one with v.reclass.


Hamish



      



More information about the grass-user mailing list