enum GDALDataType
The GDAL libary uses GDALDataType to indicate the value type of a dataset. The following types are supported by GDAL:
enum GDALDataType {
GDT_Unknown = 0, GDT_Byte = 1, GDT_UInt16 = 2, GDT_Int16 = 3,
GDT_UInt32 = 4, GDT_Int32 = 5, GDT_Float32 = 6, GDT_Float64 = 7,
GDT_CInt16 = 8, GDT_CInt32 = 9, GDT_CFloat32 = 10, GDT_CFloat64 = 11,
GDT_TypeCount = 12
}
Of these, only the following are supported by the Pronto Raster library:
GDT_Byte
(associated withstd::uint8_t
)GDT_UInt16
(associated withstd::uint16_t
)GDT_Int16
(associated withstd::int16_t
)GDT_UInt32
(associated withstd::uint32_t
)GDT_Int32
(associated withstd::int32_t
)GDT_Float32
(associated withfloat
)GDT_Float64
(associated withdouble
)
The data types that are not supported (yet) are associated with complex numbers.