Hi, Can you help with opening terra-sar images? Terra-sar data is complex data like : C=A+i*B. If i understand correctly, when we will read only 'A' part of data (for testing purposes) in output we an image without phase. So, when using RasterIO, i use as buff_type GDT_Int16. In output there is only a noise. What i'm wrong?
Here is a part of code: Int16 * scanline_16bit=new Int16[xSize]; if (unit_type==GDT_CInt16) { poRasterBand->RasterIO(GF_Read, 0, i, xSize, 1, scanline_16bit, xSize, 1, GDT_Int16, 0, 0); } GDAL version: 1.8.0 Language: Visual C++ -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-read-cos-files-tp4471351p4471351.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev