View source: R/transfer_bin_raster.R
transfer_bin_raster | R Documentation |
Get the values of a binary file (in integer format) and transfer them to a raster file. All formats
considered in writeRaster
are allowed.
transfer_bin_raster( inputPath, outputPath, master, what = integer(), signed = TRUE, endian = "little", size = 2, format = "GTiff", dataType = "INT2S", overwrite = TRUE )
inputPath |
character with full path name of input file(s). |
outputPath |
character with full path name (where the raster files will be saved). |
master |
character with full path name of a raster file; extent and projection of this file are applied to this function output. |
what |
See |
signed |
See |
endian |
See |
size |
integer, number of bytes per element in the byte stream, default 2. See |
format |
character, output file type. See |
dataType |
character, output data type. See |
overwrite |
logical, default |
At the designated path (outputPath
) the user will find TIF
file(s).
inputPath = system.file("extdata", package = "geoTS") masterFile = system.file("extdata", "master.tif", package = "geoTS") transfer_bin_raster(inputPath = inputPath, outputPath = inputPath, master = masterFile, what = integer(), signed = TRUE, endian = "little", size = 2, format = "GTiff", dataType = "INT2S", overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.