<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 1, 2017 at 10:39 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</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"><div dir="ltr"><div><div><span class="gmail-"><div><br><br>On Fri, Dec 1, 2017 at 4:26 PM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>> wrote:<br>><br>> For cropping, see also a new addon module called r.clip which clips according the computational region while respecting mask and the *original* raster resolution:<br>><br>> <a href="https://grass.osgeo.org/grass72/manuals/addons/r.clip.html" target="_blank">https://grass.osgeo.org/<wbr>grass72/manuals/addons/r.clip.<wbr>html</a><br>><br>> Testing and feedback welcome.<br></div><div><br></div></span><div>About <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.clip/r.clip.py#L42" target="_blank">https://trac.osgeo.org/grass/<wbr>browser/grass-addons/grass7/<wbr>raster/r.clip/r.clip.py#L42</a><br></div><div><br></div>g.region align=original<br><br></div>is sufficient. You don't need to specify nsres or ewres when aligning to a raster map because nsres and ewres of the raster map are used anyway for alignment.<br><br></div></div></blockquote><div><br></div><div><br></div><div>Fixed. Thanks MarkusM for the tip.<br></div><div><br></div><div><a href="https://trac.osgeo.org/grass/changeset/71982">https://trac.osgeo.org/grass/changeset/71982</a></div><div><br></div><div>r.clip and v.clip are now missing in the Cropping maps wiki page if somebody wants to contribute some text...<br></div><div><br></div><div><a href="https://grasswiki.osgeo.org/wiki/Cropping_maps">https://grasswiki.osgeo.org/wiki/Cropping_maps</a></div><div><br></div><div>Vaclav<br></div></div></div></div>