| vec_to_tiff | R Documentation |
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"))
r |
Either a path to a |
path |
Output |
compression |
One of |
Invisible NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.