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

Arthur Bogard arthur.bogard at gmail.com
Fri Oct 26 13:52:43 PDT 2018


Thanks Evan!

That appears to have fixed it!  Tested on one image with 137 billion pixels
and it worked great.

Cheers, and have a great weekend, Sir Lancelot!

On Wed, Oct 24, 2018 at 11:25 AM Even Rouault <even.rouault at spatialys.com>
wrote:

> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181026/eb1c5be7/attachment.html>


More information about the gdal-dev mailing list