[GRASS-user] tiling and 'cliping' DEMs
Rich Shepard
rshepard at appl-ecosys.com
Wed Sep 11 06:03:54 PDT 2019
On Tue, 10 Sep 2019, Helmut Kudrnovsky wrote:
> To save diskspace,, build a virtual raster with your tiles outside GRASS
> by GDAL's buildvrt, do r.external yourvirtual.vrt.
>
> No import is needed for raster calculations, r.external to link the virtual
> raster works nicely..
>
> regarding to clip a raster to vector extent, there a several ways. One may
> be: g.region -a raster=yourraster vector=yourvector followed by a r.mask
> vector=yourvector then r.mapcal clippedraster=yourraster
Helmut,
This is exceptionally useful information. I've not looked closely at gdal
and don't know all its capabilities. Perhaps this could be added to the Wiki
as it's likely to be useful to others.
I greatly appreciate the lesson.
Best regards,
Rich
More information about the grass-user
mailing list