[gdal-dev] gdalinfo on an NITF file I get a warning message of "Warning 1: Image with 11 bits per sample will not be interpreted properly."

John Mitchell mitchelljj98 at gmail.com
Wed Dec 5 10:12:42 EST 2007


Frank,

How would I do the below from within FWTools2.0.0?

Thanks,

John

On Dec 5, 2007 9:59 AM, Frank Warmerdam <warmerdam at pobox.com> wrote:

> John Mitchell wrote:
> > Hi,
> >
> > When running gdalinfo on an NITF file I get a warning message of
> > "Warning 1: Image with 11 bits per sample will not be interpreted
> > properly." and the attached gdalinfo file.
> >
> > What does this warning message mean as far as accurately processing this
> > file (along with similar NITF files) with gdal tools like gdalwarp,
> > gdal_translate, gdaltindex, gdalinfo and then displaying this data
> > within UMN MapServer?
>
> John,
>
> I suspect the image data will just be badly corrupted.  If you are
> building
> GDAL from source, you can go into gdal/frmts/nitf and build the nitfdump
> utility.  The output of it on your file might be helpful in diagnosing
> the situation.
>
> Unix:
>   make nitfdump
>
> Windows:
>   nmake /f makefile.vc nitfdump.exe
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org
>
>


-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071205/828aa5f7/attachment.html


More information about the gdal-dev mailing list