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



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to