GDAL&DFAL数据类型
GDAL数据类型
GDALDataType | c++ |
---|---|
GDT_Unknown | – |
GDT_Byte | unsigned char |
GDT_UInt16 | unsigned short |
GDT_Int16 | short / short int |
GDT_UInt32 | unsigned long |
GDT_Int32 | int / long / long int |
GDT_Float32 | float |
GDT_Float64 | double |
GDT_CInt16 (complex Int16) | – |
GDT_CInt32 (complex Int32) | – |
GDT_CFloat32 (complex Float32) | – |
GDT_CFloat64 (complex Float64) | – |
DFAL数据类型
DFALDataType | c++ |
---|---|
DFAL_UINT8 | unsigned char |
DFAL_INT8 | char |
DFAL_UINT32 | unsigned int |
DFAL_INT32 | int |
DFAL_UINT64 | unsigned long long |
DFAL_INT64 | long long |
DFAL_UINT16 | unsigned short |
DFAL_INT16 | short |
DFAL_FLOAT32 | float |
DFAL_FLOAT64 | double |
DFAL_BOOL | bool |