<br><br><div><span class="gmail_quote">On 1/27/06, <b class="gmail_sendername">Patricio Antonio Toledo Peņa</b> &lt;<a href="mailto:patricioantoniotoledo@gmail.com">patricioantoniotoledo@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
dear grass list,<br><br>i have two points, they do not belong to a vector map, i have found that i<br>can obtain the distance (in UTM and LAT/LONG locations) with this (ugly)<br>trick<br><br>grass$ r.profile map=rmap profile=x1,y1,x2,y2 2&gt; temp_file
<br>grass$ distance=$(awk '/length/{print $4}' &lt; temp_file)<br><br>this method needs a query to a raster map, which is unnecessary, is<br>something like d.measure available in r.* commands?<br><br>Thanks in advance<br>

<br><br clear="all"><br>-- <br><span class="sg">Patricio Toledo

</span></blockquote></div><br>Try d.geodesic.<br><br><em><b>d.geodesic</b></em> - Displays a geodesic line, tracing the
shortest distance between two geographic points along a great circle,
in a longitude/latitude data set. (from the grass 6 manual)<br><br>--<br>Odoardo Zecca<br>