Regarding the explanation marked below in red, I tried several times to run the following command v.distance but always getting the error message "Not enough column names".<br><br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-weight:600">v.distance from=Pxy@Lisboa from_layer=1 to=Proximo@Lisboa to_type=line to_layer=1 upload=to_x,to_y,to_attr to_column=label column=lat output=Res3 dmax=-1 dmin=-1</span></p>
<br>I also did not get any field to specify the column parameter to "outlet_x,outlet_y". I am running qgis on Linux.<br><br>Jaime<br><br><br><br><div class="gmail_quote">2012/7/13 Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span><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 07/13/2012 04:02 PM, Jaime Palalane wrote:
<blockquote type="cite">Dear qgis users,<br>
<br>
I am trying to use qGIS to characterize a hydrographic basin but I
am facing problems with the profile from line tool as it is giving
an unique altitude value for my rivers and lengths in grades. I
would like to have them in SI units. I would appreciate some tips
in how to solve this problem.<br>
<br>
</blockquote>
<br></div>
The units should be the units of the coordinate system. I think that
if you want altitudes and lengths in meters, you'll have to project
both the raster and the line features to a projected CRS with meters
as units.<div class="im"><br>
<br>
<blockquote type="cite">I am also trying to use the r.water.outlet command to
define a basin draining to a specific point of a stream in raster
format but without success as it gives me back only one cell as
the basin and not a combination of cells which could form a real
basin. Any tutorial or video in how to use this command?<br>
<br>
</blockquote>
<br></div>
Perhaps the problem is that the outlet point must fall exactly on a
stream. There's a trick using v.distance to find a drainage point
exactly on the stream, described here:<br>
<br>
<a href="http://www.surfaces.co.il/?p=241" target="_blank">http://www.surfaces.co.il/?p=241</a><br>
<br>
<span style="color:rgb(255,0,0)">First add two columns to the streams layer: outlet_x, outlet_y. Now
use v.distance with your outlet point as the "from" parameter, and
the stream as the "to" parameter. Set the upload parameter to
"to_x,to_y" and the column parameter to "outlet_x,outlet_y". Now
after you run, you should get the X,Y coordinates of a point *on the
stream* nearest to your planned outlet point. Use those coordinates
in your r.water.outlet command, and you should get the full drainage
area.</span><br>
<br>
HTH,<br>
Micha<br>
<br>
<blockquote type="cite">Saudaçoes!<br>
<br>
Jaime<br>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.
</pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<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>Jaime Palalane<br>+258 82 70 56 990<br>