Thanks all. i think that the current solution is good enough. maybe next time i'll try the 6.5 with feature.<br><br>thanks<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 10:39, 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><div></div><div class="h5">On 25/05/09 18:00, Stefano wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all.<br>
i'm looking to v.select (grass 6.4).<br>
<br>
i've 2 paths done by v.net.path, i want to extract the diff path of<br>
these 2 paths using v.select, overlap and the reverse.<br>
before this operation i clean both of them using break and snap.<br>
<br>
As you can see in the image there are two path, one blue and one<br>
green, these two path sheared pieces (u can't see the shared path,but<br>
is not imporant).<br>
so, i want find the differences of these two path.<br>
i do the select with a reverse command but the result is not right as<br>
i can excepted.<br>
<br>
if u pay attention the black path (the diff path) is not completly<br>
right. in fact this path has to start and finish on the intersection<br>
of these two path (blue and green) but start and end before the<br>
intersection. so the black path has to be identical as the green path<br>
(the green path that u can see)<br>
<br>
i think the problem is the lines of these 2 path (green and blue) that<br>
are not cut in the intersection, so the line goes across the<br>
intersection of these line.<br>
<br>
how can i fix this problem?<br>
</blockquote>
<br></div></div>
v.select does not cut exactly at the edges of overlap, but selects the entire feature that overlaps, even if this feature goes beyond the overlap (i.e. it does an "overlap" and not an "intersect").<br>
<br>
What you want is v.overlay, but unfortunately this has never been implemented for two line layers (never understood why).<br>
<br>
Your best solution at this stage is to compile the current grass6 svn tree (6.5) with the --with-geos configure flag which will give you access to a much more wide array of tools than only overlap [1].<br>
<br>
Moritz<br>
<br>
[1] <a href="http://grass.osgeo.org/grass65/manuals/html65_user/v.select.html" target="_blank">http://grass.osgeo.org/grass65/manuals/html65_user/v.select.html</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Stefano<br>