<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Micha, <br>
    you are a champ. Thanks heaps that works really well. <br>
    I had a few issues with v.in.lines as there was a line created after
    the protocol but it wasn't. I think the file wasn't read properly. <br>
    It worked when I used the command with the in=- option and copying
    the x y coordinates in the Terminal.  <br>
    Thanks again. <br>
    <br>
    Cheers,<br>
    Harald<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    On 17/04/12 21:42 , Micha Silver wrote:
    <blockquote cite="mid:4F8D5727.5020103@arava.co.il" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style> On
      04/17/2012 02:13 PM, G. Allegri wrote:
      <blockquote
cite="mid:CAB4g1=wRJhNGA-y9DmA90c14evZ318aXdXZeSTu83+LXqySP5A@mail.gmail.com"
        type="cite">
        <div class="gmail_quote">
          <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="#660000">Now

              run v.distance as:<br>
              v.distance from=gps_point to=river_line upload=to_along
              column=along out=connectors <br>
              # The output parameter hold the line segments connecting
              each point to the river_line. It's required by the module
              to run, by has no significance for you.  <br>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>I have never tested the to_along upload type, but what is
            considered the "to" nearest point in this case? I mean, you
            will have the original points located on the endpoints of
            the line, isn't the nearest point the endpoint itself?</div>
          <div><br>
          </div>
        </div>
      </blockquote>
      <br>
      IIUC, v.distance finds the distance along the line from each point
      to the *vertex* on the line closest to that point. <br>
      But in this particular case, since we're creating the line from
      the same input points, the line vertices and the points are all
      the same, so I think it shouldn't matter. The distance from the
      points to the nearest vertex will always be 0, and 'to_along'
      should give the distance along the line to that vertex=point.<br>
      <br>
      If I'm wrong, someone on the list with more experience will jump
      up...<br>
      <br>
      <br>
      <blockquote
cite="mid:CAB4g1=wRJhNGA-y9DmA90c14evZ318aXdXZeSTu83+LXqySP5A@mail.gmail.com"
        type="cite">
        <div class="gmail_quote">
          <div>giovanni</div>
          <div> </div>
          <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="#660000">
              <br>
              Cheers,<br>
              Micha
              <div class="im"><br>
                <blockquote type="cite"> <br>
                  Help would be really appreciated. And I am sorry if
                  that has been asked before but I couldn't find a
                  thread dealing with that. <br>
                  <br>
                  Best regards, <br>
                  Harald <br>
                  <br>
                  <br>
                </blockquote>
                <p><br>
                </p>
                <br>
              </div>
              <span class="HOEnZb"><font color="#888888">
                  <pre cols="72">-- 
Micha Silver
052-3665918
</pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            Qgis-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
              target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br>
        This mail was received via Mail-SeCure System.<br>
      </blockquote>
      <p><br>
      </p>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

------------------------------
Harald Hofmann
Research Fellow PhD - Hydrogeology
School of Geosciences
Monash University
Wellington Road
Clayton, Victoria 3800
Australia</pre>
  </body>
</html>