[GRASS-user] r.mask vs g.region
Rich Shepard
rshepard at appl-ecosys.com
Wed Jul 11 07:50:10 PDT 2018
On Wed, 11 Jul 2018, Moritz Lennert wrote:
> See also the general raster info:
> https://grass.osgeo.org/grass74/manuals/rasterintro.html which explains that:
>
> 1. Raster output maps have their bounds and resolution equal to those of
> the current computational region.
> 2. Raster input maps are automatically cropped/padded and rescaled (using
> nearest-neighbour resampling) to match the current region.
> 3. Raster input maps are automatically masked if a raster map named MASK
> exists. The MASK is only applied when reading maps from the disk.
>
> In other words: the MASK only applies for reading. For a given region and
> MASK, interpolation will happen for the entire region, but only using raster
> input data which falls within the MASK (vector input data is read from the
> entire region generally). If you erase the MASK, you will see that the result
> of interpolation (and other raster commands) covers the entire region.
Moritz,
Thank you.
Regards,
Rich
More information about the grass-user
mailing list