[gdal-dev] Can block offsets ever be negative?

Even Rouault even.rouault at spatialys.com
Thu Jun 1 11:45:39 PDT 2023


Le 01/06/2023 à 20:39, Laurențiu Nicola via gdal-dev a écrit :
> Hello,
>
> Just a quick question: can block offsets (such as those in in 
> GDALReadBlock or IRasterIO) ever be negative?

No, this isn't allowed.

> Is there any format that supports that?
No
>
> GDAL uses signed integers everywhere, which is fine, but the intention 
> isn't always clear at times.
Doc enhancements to clarify that welcome
>
> Thanks,
> Laurentiu Nicola
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230601/7e7d6c66/attachment.htm>


More information about the gdal-dev mailing list