<html>
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#660000">
<p>On 22/03/2012 09:31, Pierluigi wrote:
<blockquote
cite="mid:662BCC45-D50B-4222-9939-A80E45955F8F@gfosservices.it"
type="cite">
<div>Thanks micha</div>
<div>So can I attach the attribuite table from the first vector
to the error point vector?</div>
<div>P </div>
</blockquote>
</p>
<p><br>
</p>
<p>What you'll have to do, as Lee pointed out [1] is use the
v.distance module to upload values from each of the line vectors
to the new (errors) point vector. So it will be something like:</p>
<p><big><br>
</big></p>
<p><big><tt># setup columns in the point vector<br>
</tt></big></p>
<p><big><tt>v.db.addcol intersection_pts columns="line1_attr1
double, line1_attr2 text, line2_attr1 double, line2_attr2 text
...." </tt></big></p>
<p><big><tt># upload attributes from one of the line vectors<br>
</tt></big></p>
<p><big><tt>v.distance from=intersection_pts to=line1 upload=to_attr
to_column=attr1 column=line1_attr1</tt></big></p>
<p><br>
</p>
<p>and so on for each attribute from each of the original lines.</p>
<p><br>
</p>
<p>HTH,</p>
<p>Micha<br>
</p>
<p><br>
</p>
<p>[1]
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/pipermail/grass-user/2012-March/064069.html">http://lists.osgeo.org/pipermail/grass-user/2012-March/064069.html</a></p>
<p><br>
</p>
<p>
<blockquote
cite="mid:662BCC45-D50B-4222-9939-A80E45955F8F@gfosservices.it"
type="cite">
<div><br>
Il giorno 21/mar/2012, alle ore 19:05, Micha Silver <<a
moz-do-not-send="true" href="mailto:micha@arava.co.il">micha@arava.co.il</a>>
ha scritto:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
On 03/21/2012 06:46 PM, Pierluigi De Rosa wrote:
<blockquote
cite="mid:1332348418.4808.7.camel@pierluigi-laptop"
type="cite">
<pre wrap="">Hi
I'm looking for a procedure to get a point vector obtained as
intersection of two vector layer.</pre>
</blockquote>
<br>
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)<br>
<br>
<blockquote
cite="mid:1332348418.4808.7.camel@pierluigi-laptop"
type="cite">
<pre wrap="">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>
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>
HTH,<br>
MIcha<br>
<br>
<blockquote
cite="mid:1332348418.4808.7.camel@pierluigi-laptop"
type="cite">
<pre wrap="">does anyones have ideas?
Thanks
Pierluigi
________________________________________________________________________
Ing. Pierluigi De Rosa (PhD)
Studio Associato GFOSSERVICES
_______________________________________________
grass-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<p><br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consultant, Arava Development Co.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a></pre>
</div>
</blockquote>
<br>
<br>
This mail was received via Mail-SeCure System.<br>
</blockquote>
<br>
<br>
</p>
</body>
</html>