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

kingarthur10 arthur.bogard at gmail.com
Wed Oct 24 10:59:45 PDT 2018


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.

Does anyone have ideas on how I can make this work with GDAL?  It simplifies
my process a lot, and I ultimately need to output a geotiff from the data. 
GDAL is way more efficient than ImageMagick with large image conversions,
and cutting out a step entirely is helpful.

Thanks for any insight!

Arthur



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list