|Reported by:||Kurt Schwehr||Owned by:||warmerdam|
gdal_array.OpenArray(numpy_array) creates a GDAL dataset handle from a numpy array, it creates a UINT8 gdal dataset for both signed and unsigned INT8 numpy array. See:
case NPY_BYTE: case NPY_UBYTE: eType = GDT_Byte; break;
In most other places, there are both signed and unsigned 1 byte integers. e.g. NPY_BYTE/NPY_INT8 and NPY_UBYTE/NPY_UINT8
And there is this blog post pointing out the same:
So what would it take to add
GDT_INT8 to the
Is that a reasonable or unreasonable thing to do?