<div class="gmail_quote">On Thu, Jan 22, 2009 at 10:00 AM, Moritz Lennert <span dir="ltr">&lt;<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>&gt;</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. &nbsp;I&#39;m new to grass, so there<br>
are still alot of things I don&#39;t know.<br>
<br>
Basically I have this huge vector map which<br>
is mostly connected. &nbsp;Problem is that there are a bunch of intersections of lines<br>
that dont actually connected together, due to way data was put together. &nbsp;Instead I<br>
have another vector map which is just a bunch of points. &nbsp;Usually these points all<br>
correspond to one of these disconnected intersections. &nbsp;What I want to do is<br>
connect each point to all of the unconnected end points within some threshold<br>
distance. &nbsp;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. &nbsp;I know there is <a href="http://v.net" target="_blank">v.net</a> &lt;<a href="http://v.net" target="_blank">http://v.net</a>&gt;, 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> &lt;<a href="http://v.net" target="_blank">http://v.net</a>&gt; 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. &nbsp;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.&nbsp; In certain regions of this map<br>
the lines don&#39;t actually intersect, but just really close to each other.&nbsp; Luckily I happen to have ,roughly,<br>
the coordinate of each of these intersections where the points don&#39;t actually touch.&nbsp; 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.&nbsp; By endpoints, I mean I don&#39;t want to<br>
connect the point to the closest line, but rather the closest endpoint of a line, if within threshold.&nbsp; This<br>
is because there might be lines passing through intersection which I don&#39;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&#39;t want.<br>