[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-user
Subject:    Re: [GRASS-user] V.Select strange results
From:       Stefano <elstefen () gmail ! com>
Date:       2009-05-28 13:42:56
Message-ID: f28b4a290905280642u2a515036x23caa26f4be2f2cd () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks all. i think that the current solution is good enough. maybe next
time i'll try the 6.5 with feature.

thanks

On Thu, May 28, 2009 at 10:39, Moritz Lennert
<mlennert@club.worldonline.be>wrote:

> On 25/05/09 18:00, Stefano wrote:
>
>> Hi all.
>> i'm looking to v.select (grass 6.4).
>>
>> i've 2 paths done by v.net.path, i want to extract the diff path of
>> these 2 paths using v.select, overlap and the reverse.
>> before this operation i clean both of them using break and snap.
>>
>> As you can see in the image there are two path, one blue and one
>> green, these two path sheared pieces (u can't see the shared path,but
>> is not imporant).
>> so, i want find the differences of these two path.
>> i do the select with a reverse command but the result is not right as
>> i can excepted.
>>
>> if u pay attention the black path (the diff path) is not completly
>> right. in fact this path has to start and finish on the intersection
>> of these two path (blue and green) but start and end before the
>> intersection. so the black path has to be identical as the green path
>> (the green path that u can see)
>>
>> i think the problem is the lines of these 2 path (green and blue) that
>> are not cut in the intersection, so the line goes across the
>> intersection of these line.
>>
>> how can i fix this problem?
>>
>
> 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").
>
> What you want is v.overlay, but unfortunately this has never been
> implemented for two line layers (never understood why).
>
> 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].
>
> Moritz
>
> [1] http://grass.osgeo.org/grass65/manuals/html65_user/v.select.html
>



-- 
Stefano

[Attachment #5 (text/html)]

Thanks all. i think that the current solution is good enough. maybe next time \
i&#39;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">&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><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&#39;m looking to v.select (grass 6.4).<br>
<br>
i&#39;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&#39;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 \
&quot;overlap&quot; and not an &quot;intersect&quot;).<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>



_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic