hypertidy / vapour

GDAL API package for R
https://hypertidy.github.io/vapour/
80 stars 9 forks source link

vapour_vrt for building up VRT #207

Open mdsumner opened 1 year ago

mdsumner commented 1 year ago

it can be as simple as

'<VRTDataset rasterXSize="512" rasterYSize="512"><VRTRasterBand dataType="Float64" band="1"/></VRTDataset>'

e.g.

vapour::vapour_vrt('<VRTDataset rasterXSize="512" rasterYSize="512"><VRTRasterBand dataType="Float64" band="1"/></VRTDataset>', projection = "OGC:CRS84", bands = c(1, 1, 1), extent = c(-180, 180, -90, 90))