[gdal-dev] FITS format not listed in gdalinfo --formats

Even Rouault even.rouault at spatialys.com
Thu Jul 5 09:45:10 PDT 2018


On jeudi 5 juillet 2018 12:41:08 CEST Susan Borda wrote:
> Hi-
> I'm new to gdal and am trying to use gdalinfo to read a *.fits file
> (astronomy files), specifically the header. When I list the formats
> supported by gdalinfo, I'm only seeing FIT not FITS. Is FITS no longer
> supported?

It is, but you must build GDAL against the CFITSIO library:
http://gdal.org/frmt_various.html#FITS

On Debian and derivatives, this is the libcfitsio-dev package.

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


More information about the gdal-dev mailing list