<div dir="ltr"><div class="gmail_extra">Hi,<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 12, 2015 at 5:09 AM, Jean-Roc Morreale <span dir="ltr"><<a href="mailto:jr.morreale@enoreth.net" target="_blank">jr.morreale@enoreth.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I would like to know how to extract a valley feature from a DEM as a polygon</blockquote></div><br>The classic way would be to use r.param.scale with method=feature, but I would recommend using r.geomorphon by Stepinski and Jasiewicz (2011, 2013).<br><br></div><div class="gmail_extra">Both modules will give you a raster map. You can use r.to.vect to get vector polygons. To get just the valley use either raster algebra (r.mapcalc) on the raster map or v.extract on the vector map.<br><br></div><div class="gmail_extra">Note that r.geomorphon module is in GRASS Addons repository, so use e.g., g.extension r.geomorphon to get it.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Vaclav<br></div><div class="gmail_extra"><br><a href="https://grass.osgeo.org/grass70/manuals/r.param.scale.html" target="_blank">https://grass.osgeo.org/grass70/manuals/r.param.scale.html</a><br><a href="https://grass.osgeo.org/grass70/manuals/addons/r.geomorphon.html" target="_blank">https://grass.osgeo.org/grass70/manuals/addons/r.geomorphon.html</a><br></div></div>