Re: [GRASS-user] more on v.net: break lines on nodes

2012-02-28 Thread Johannes Radinger
Hi, I'd like to re-open a quite old thread about breaking lines in a network. the old thread: If each line is a straight line, then you have two nodes, one at each end. So, do you mean that you want to break the longer line, thus creating two new nodes, representing the new end points of the

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread achim
Hi, as an explanation I draw a little picture... I like to have each line extra to have a common node on each crossing. I would to have that in order to try handling tree structures and some analysis in a database. Thanks, achim Moritz Lennert schrieb: On 03/07/09 12:10, achim wrote: Hi,

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread achim
So, I don't really see the possibility of having nodes on a network line. Could you elaborate ? I like to do something like zonal statistics on vector areas. Not with rasters, but with vectors inside. That means eg: length of all roads of a kind for every area. Or: longest road on that area

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread achim
Sorry, not very clear... They are snapped! I wanted to show that I have 1) two lines (two cats) with no common nodes on the network 2) I want the longer to be broken on the node of the longer one in order to have a common node (and three lines with three cats) achim Moritz Lennert schrieb: On

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread Moritz Lennert
On 07/07/09 12:18, achim wrote: Sorry, not very clear... They are snapped! I wanted to show that I have 1) two lines (two cats) with no common nodes on the network 2) I want the longer to be broken on the node of the longer one in order to have a common node (and three lines with three cats)

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread achim
v.edit tool=break cat=CatOfTheLineToBreak coords=CoordinatesOfYourNode thresh= v.edit tool=snap cat=CatOfTheBrokenLine,CatOfOtherLine thresh You can get the coordinates of your nodes with v.to.db. Thats what I was looking for. Thank you very much, Moritz! I didn't recognized the break

Re: [GRASS-user] more on v.net: break lines on nodes

2009-07-07 Thread Moritz Lennert
On 07/07/09 14:23, achim wrote: Sorry for complicated problem description. I am still a little confused why v.net produces such lines that no new (poly)lines begin on each node (picture). I don't think that v.net produces any lines, except for the connecting lines it creates when using