Writes the level-0 pixels of a .vec raster to a GeoTIFF file. The
TIFF inherits dtype, geotransform, EPSG, and nodata from the source.
Strip layout; the writer supports "none", "deflate", and "lzw"
compression. LZW also applies horizontal differencing (Predictor 2)
for integer pixel types, which dramatically improves compression on
smooth raster data and matches the layout most production GIS tools
produce by default. Tiled and BigTIFF output land in a follow-up.
vec_to_tiff(r, path, compression = c("deflate", "lzw", "none"))Invisible NULL.
Either a path to a .vec raster or a vectra_raster returned
by vec_open_raster(). If a handle is passed it is left open.
Output .tif path.
One of "deflate" (default), "lzw", or "none".