[gdal-dev] gdal NITF complex driver question
Gong, Shawn (Contractor)
Shawn.Gong at drdc-rddc.gc.ca
Thu Jul 9 16:40:11 EDT 2009
hi list,
We made a slight modification in gdal/frmts/nitf/nitfdataset.cpp to add
support for RADARSAT-2 NITF Single Look Complex format.
in NITFRasterBand::NITFRasterBand( NITFDataset *poDS, int nBand )
/* --------------------------------------------------------------------
*/
/* Translate data type(s).
*/
/* --------------------------------------------------------------------
*/
added:
else if( psImage->nBitsPerSample == 64
&& EQUAL(psImage->szPVType,"C") )
eDataType = GDT_CFloat32;
However we found that the real and imaginary fields come out switched.
i.e. the gdal driver put Q in front of I.
We used OpenEV and gdal_translate to confirm that.
Any thoughts and help are appreciated.
thanks,
Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090709/d60ac07e/attachment.html
More information about the gdal-dev
mailing list