[GRASS-user] Cropping maps
Marco Alicera
marco.alicera at gmail.com
Tue Sep 26 06:57:44 PDT 2017
Dear list,
I am trying to crop a raster map into a smaller area, but I am failing.
This wiki page link <https://grasswiki.osgeo.org/wiki/Cropping_maps> is
quite clear:
"Make boundary into mask using r.mask
<https://grass.osgeo.org/grass72/manuals/r.mask.html> then copy raster
source to new map (g.copy
<https://grass.osgeo.org/grass72/manuals/g.copy.html>). All cells outside
of the mask will be omitted from the new copy."
r.mask vector=myarea
g.copy --overwrite raster=OldRasterWithBigArea,NewRasterWithSmallArea
r.mask -r
I expected all cell outside were not going to be omitted, but replaced by
NULL.
Regards
--
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170926/55e15dc6/attachment.html>
More information about the grass-user
mailing list