[GRASS-user] Cropping maps

Vaclav Petras wenzeslaus at gmail.com
Wed Dec 27 06:47:18 PST 2017


On Fri, Dec 1, 2017 at 10:39 AM, Markus Metz <markus.metz.giswork at gmail.com>
wrote:

>
>
> On Fri, Dec 1, 2017 at 4:26 PM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
> >
> > 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:
> >
> > https://grass.osgeo.org/grass72/manuals/addons/r.clip.html
> >
> > Testing and feedback welcome.
>
> About https://trac.osgeo.org/grass/browser/grass-addons/grass7/
> raster/r.clip/r.clip.py#L42
>
> g.region align=original
>
> 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.
>
>

Fixed. Thanks MarkusM for the tip.

https://trac.osgeo.org/grass/changeset/71982

r.clip and v.clip are now missing in the Cropping maps wiki page if
somebody wants to contribute some text...

https://grasswiki.osgeo.org/wiki/Cropping_maps

Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171227/ad85619a/attachment.html>


More information about the grass-user mailing list