[gdal-dev] [OSGeo/gdal] Add GDT_Int8 support (RFC 87) (PR #6633)

Even Rouault even.rouault at spatialys.com
Tue Nov 8 16:32:14 PST 2022


Sean,

Le 09/11/2022 à 01:08, Sean Gillies a écrit :
>
> Argh, I typed "unsigned char" when I meant "signed". Changing GDT_Byte 
> to *signed char* is too big of a change, I guess?

I don't believe that would be something reasonable to consider. The 
impact of such a change would be huge on the GDAL code base and also 
super disturbing for all GDAL users (users would have headaches to make 
their code base to work with GDAL versions before and after such a 
change). That could only go in a major release (GDAL 4.0), but it 
doesn't seem to me that's such a change is really desirable. There's 
just no universal convention on the signedness of something called 
"byte": in Java and numpy, byte is signed; in CSharp and Go, it is 
unsigned...

Even

-- 

http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list