datatype2GDALot: Convert raster::dataType to GDAL ot

Description Usage Arguments Details Value Examples

Description

Helper function to use gdal command line tools.

Usage

1
datatype2GDALot(datatype)

Arguments

datatype

Character raster::dataType

Details

Mapping: In:"LOG1S", "INT1S", "INT1U", "INT2S", "INT2U", "INT4S", "INT4U", "FLT4S", "FLT8S", Out: "Byte", "Int16", "Byte", "Int16", "UInt16", "Int32", "UInt32", "Float32", "Float64"

Value

Character GDAL datatype.

Examples

1
datatype2GDALot("INT2S")

johanez/probaV documentation built on May 19, 2019, 3:01 p.m.