<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#000000">
On 05/10/2012 06:31 PM, Carlos Grohmann wrote:
<blockquote cite="mid:70BB8015C797453FA4741E61FA95D395@gmail.com"
type="cite">
<div>
<div id="message-body"> Hi all </div>
<div id="message-body">I'm thinking if there is a way to
project a series of points into a line, but this projection
must be in a direction perpendicular to the line.</div>
<div id="message-body"><br>
</div>
</div>
</blockquote>
One approach is a three step process: <br>
1- Begin with v.distance from your points to the line. The 'output'
parameter will be a line vector of the (perpendicular) connectors
from the points to the line.<br>
2- Next do v.patch to merge the connectors to the line.<br>
3- And finally v.clean with tool=break error=connector_points. The
'error' parameter contains all those points where a new intersection
had to be created after patching the connectors to the line vector.
<br>
<br>
(There is a chance that one connector will intersect the line
exactly on a node, and then v.clean won't find that point since it's
not an 'error'. But that's probably a very rare case.)<br>
<br>
HTH,<br>
Micha<br>
<blockquote cite="mid:70BB8015C797453FA4741E61FA95D395@gmail.com"
type="cite">
<div>
<div id="message-body">Tks</div>
<div id="6B4AEFBBBCCA44A18C5714BF36C18BEC">
<div><br>
</div>
-- <br>
Carlos Grohmann<br>
<div>Sent with <a moz-do-not-send="true"
href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div>
<div><br>
</div>
</div>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a 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 class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a></pre>
</body>
</html>