Hi there,<br><br><div class="gmail_quote">Am 21. März 2012 19:05 schrieb Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" bgcolor="#FFFFFF" text="#000000"><div class="im">
On 03/21/2012 06:46 PM, Pierluigi De Rosa wrote:
<blockquote type="cite">
<pre>Hi
I'm looking for a procedure to get a point vector obtained as
intersection of two vector layer.</pre>
</blockquote>
<br></div>
You can do this with a two step procedure. First patch the two line
vectors together with v.patch. Then run v.clean using the
"error=..." option. It's not so intuitive, but the "errors" output
vector holds the topology "errors". In the case of patching two line
vectors, this will be all the intersection points that v.clean
creates when building topology. (Note that it's theoretically
possible that the two vectors will have an intersection exactly on a
node, and then this node will not be in the errors output vector.
But if the line vectors are independant, this is highly unlikely)<div class="im"><br>
<br>
<blockquote type="cite">
<pre>I want to have the same output of v.overlay (option and) but for two
line vector. So I need as geometry points located exactly at the
intersection of two layers and attribute table as spatial joint of the
two attribute table.</pre>
</blockquote>
<br></div>
This method will find the intersections between the two line
vectors, but it *does not* combine the attribute tables. Only the
attribs from the first table listed in v.patch are included.<br></div></blockquote><div><br>Afterwards you could also use v.distance to grab the attributes from the second table. The manual for v.distance has some examples that could be used almost 1-1.<br>
<br>Cheers,<br>Daniel <br></div></div>