[gdal-dev] GDAL FITS reader support for more than 32-bit signed INT number of pixels?

Even Rouault even.rouault at spatialys.com
Wed Oct 24 11:25:38 PDT 2018


On mercredi 24 octobre 2018 10:59:45 CEST kingarthur10 wrote:
> Hello All,
> 
> I'm trying to read in a large FITS image using the following command:
> 
> 
> 
> When I run that, I get the following error:
> 
> 
> After some sluething, I can pull in an image up to 65536 x 32768 in size.
> One pixel beyond that in a dimension gives me the same error (although the
> Y-offset changes based on the size).
> 
> It appears that if the total number of pixels exceeds a 32-bit signed
> integer, the reader crashes.

Dear King Arthur,

Should be fixed per 
https://github.com/OSGeo/gdal/commit/25fc57b7642662356328928a01e3d64ff89eb4c7

Lancelot

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list