Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Reading the whole VRT is slower than reading the equivalent single raster map. Only reading small parts of the VRT provides a performance benefit.
A GRASS virtual raster can be regarded as a simplified version of GDAL's virtual raster format. The GRASS equivalent is simpler because issues like nodata, projection, resolution, resampling, masking are already handled by native GRASS raster routines.
# set the computational region to elevation map g.region raster=elev_state_500m -p # enforce higher resolution g.region res=50 -p # resample the 500 meter DEM to 50 meter resolution r.resamp.interp input=elev_state_500m output=elev_state_50m method=bilinear # create tiles from resulting large 50 m elevation map r.tile input=elev_state_50m output=elev_state_50m_tile_ width=1000 height=1000 overlap=0 # for convenience, dump list of tile names to a file g.list type=raster pattern=elev_state_50m_tile_* output=tilelist.csv # build a mosaik as VRT from tile list r.buildvrt file=tilelist.csv output=elev_state_50m_vrt
The equivalent GDAL utility gdalbuildvrt
Available at: r.buildvrt source code (history)
Latest change: Friday Feb 18 16:17:09 2022 in commit: f5400638312e8d7d8dd09cc03e5fd8e90b20b3fc
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 8.2.2dev Reference Manual