Thanks for all your suggestions, they help me to solve my problem<br><br><div class="gmail_quote">On Thu, Jun 14, 2012 at 2:24 PM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span> wrote:<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 06/14/2012 06:46 PM, David Montoya wrote:
<blockquote type="cite">I have points over a line and i need to split the line
where the points are located. The points aren't at the same
distance to each other. Any idea how to do that?<br clear="all">
<br>
</blockquote>
<br></div>
I think that:<br>
v.edit <your line> tool=break coord=...<br>
will do that. If you're sure that the points indeed fall exactly on
the line, then dump the coordinates to a text file (v.out.ascii)
then loop thru that file, and feed the coords to v.edit, like so<br>
v.out.ascii <your points> out=points.txt<br>
while read x y; do<br>
v.edit <your line> tool=break coord=$x,$y cat=0-99999<br>
done < points.txt<br>
<br>
Be aware that the tool=break is actually breaking the line into two
at each point. There's also tool=vertexadd if you only need to add a
vertex along the line, rather than actually splitting it.<br>
<br>
-- <br>
Micha<br>
<br>
<blockquote type="cite"><div class="im">Thanks in advance for your help<br>
<br>
-- <br>
David Montoya González<br>
Ing. Forestal, Universidad Nacional de Colombia<br>
Laboratorio de Sistemas Complejos, UNAL Medellin<br>
<br>
<br></div>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset></fieldset>
<br>
<pre><div class="im">_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a></div>
This mail was received via Mail-SeCure System.
</pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<br>
<pre cols="72">--
Micha Silver
GIS Consultant, Arava Development Co.
<a href="http://www.surfaces.co.il" target="_blank">http://www.surfaces.co.il</a></pre>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>David Montoya González<br>Ing. Forestal, Universidad Nacional de Colombia<br>Laboratorio de Sistemas Complejos, UNAL Medellin<br><br>