Tom V. wrote:
Hey,

I'm using GDAL to read in a NITF image and write it out as either a NITF
or a GeoTiff file, and I'm basically doing it the same way as
gdal_translate but with a few changes.  The reason I'm writing is because
when the GeoTIFF gets written out using CreateCopy(), the ColorInterp data
is gray for the first band and Undefined for the other three bands.  We're
using a stripped down version of GDAL so I can't use the SetAccess()
method to
write out to the file after it's already written.  I tried reading it back
in with the access set as GA_Update.

Has anyone seen anything like this before, or know what the problem could
be?  I'd be happy to answer any questions or go into more detail.

Tom,

What does the gdalinfo report on the input dataset to the CreateCopy() look
like?

Best regards,

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to