[gdal-dev] GDAL: How to create one NITF image from CIB CD

Even Rouault even.rouault at mines-paris.org
Thu Sep 3 15:55:32 EDT 2009


Selon Even Rouault <even.rouault at mines-paris.org>:

Actually, I read too fast. You want to convert all the NITF tiles into a single
NITF file. That is possible too of course. Just add -of NITF in the
gdal_translate command line. Note that the resulting NITF will be larger in size
than the sum of source NITF tiles, as CIB uses the Vector Quantization
compression scheme that is only supported as read-only by GDAL.

> Selon "Rydzak, Carol-P28503" <Carol.Rydzak at gdc4s.com>:
>
> I assume you are using a recent enough GDAL version (>= 1.5.0) that has the
> RPFTOC driver. If so, gdalinfo on the a.toc should return a list of
> subdatasets
> (at least one). You can then select one and translate it to a GeoTIFF. It
> will
> mosaic all the underlying NITF tiles. See
> http://gdal.org/frmt_various.html#RPFTOC for more info.
>
> Someone recently reported problems with CIB but I've not heard any news since
> then. The driver was tested against CADRG datasets but should theoritically
> work
> with CIB too.
>
> > I am trying to use GDAL utilities (on a Solaris 10 system) against CIB
> > files (from a CD) to convert them to a single NITF image.
> >
> > When I run gdal_translate, it doesn't seem to accept the a.toc, but it
> > does create a one-to-one nitf image for each CIB file the command is run
> > against.
> >
> > Is there a GDAL command that takes the table of contents file and
> > processes all the CIB frames into one NITF image?  Or takes all the .ntf
> > files that get created and stitches them together into one .ntf image?
> >
> >
> > Thank you,
> >
> > Carol Rydzak
> > General Dynamics C4 Systems
> > Phone: (480) 441-7405
> > Email: Carol.Rydzak at gdc4s.com
> > This email message is for the sole use of the intended recipient(s) and
> > may contain GDC4S confidential or privileged information. Any
> > unauthorized review, use, disclosure or distribution is prohibited. If
> > you are not an intended recipient, please contact the sender by reply
> > email and destroy all copies of the original message.
> >
> >
> >
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>




More information about the gdal-dev mailing list