| vec_write_raster | R Documentation |
Writes a row-major raster (one band) or a band-major 3D array (multi-band) to the VECR raster format. Each tile is encoded as a self-describing tdc block (PRED_2D + BYTE_SHUFFLE + LZ).
vec_write_raster(
x,
path,
dtype = "f32",
tile_size = 512L,
extent = NULL,
gt = NULL,
epsg = 0L,
nodata = NA_real_,
band_names = NULL,
compression = c("fast", "balanced", "max")
)
x |
A numeric matrix |
path |
Output file path. |
dtype |
Storage dtype, one of |
tile_size |
Square tile edge in pixels. Default 512. |
extent |
Numeric vector |
gt |
Numeric(6) GDAL-style geotransform. Overrides |
epsg |
EPSG code (integer) or 0L for none. |
nodata |
Nodata value, or |
band_names |
Optional character vector of length equal to the number of bands. |
compression |
Compression effort, one of |
Invisible NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.