<div class="gmail_quote">On Thu, Jan 22, 2009 at 10:00 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 21/01/09 16:33, Christopher Mire wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hello, I have a problem that I am considering doing some manual coding for,<br>
but thought I would check here for easier way first. I'm new to grass, so there<br>
are still alot of things I don't know.<br>
<br>
Basically I have this huge vector map which<br>
is mostly connected. Problem is that there are a bunch of intersections of lines<br>
that dont actually connected together, due to way data was put together. Instead I<br>
have another vector map which is just a bunch of points. Usually these points all<br>
correspond to one of these disconnected intersections. What I want to do is<br>
connect each point to all of the unconnected end points within some threshold<br>
distance. My plan is to use v.net.path on network, but I need to have it all<br></div>
connected so this is why I am doing this. I know there is <a href="http://v.net" target="_blank">v.net</a> <<a href="http://v.net" target="_blank">http://v.net</a>>, but this<div class="Ih2E3d"><br>
connects points to a line, where as I only want to connected points to the<br>
end points of a line, or even connecting to line, but only if endpoint of line is<br>
within threshold.<br>
<br></div>
I was thinking about modifying <a href="http://v.net" target="_blank">v.net</a> <<a href="http://v.net" target="_blank">http://v.net</a>> to have option on what to connect to, to<div class="Ih2E3d"><br>
specify option to only connect to endpoints instead of anywhere on line. Does<br>
this sound reasonable, or is there way to get this behavior another way?<br>
</div></blockquote>
<br>
Not sure I understand exactly what you want to do, but I have the feeling that v.edit should help you do the job.<br><font color="#888888">
<br>
Moritz<br>
</font></blockquote></div><br>Hmm, basically there are a bunch connected lines in this vector map. In certain regions of this map<br>
the lines don't actually intersect, but just really close to each other. Luckily I happen to have ,roughly,<br>
the coordinate of each of these intersections where the points don't actually touch. What I want to do<br>
is use this coordinate to connect all the close endpoints to it, therefore completing the connections in<br>
graph so I am able to traverse with other GRASS modules. By endpoints, I mean I don't want to<br>
connect the point to the closest line, but rather the closest endpoint of a line, if within threshold. This<br>
is because there might be lines passing through intersection which I don't want to connect to, but<br>
rather only the lines which end there.<br>
<br>
I had tried v.edit snap tool, but I ended up just merging lines together, which I don't want.<br>