[Gdal-dev] GDAL seems unable to translate CIB data set

Even Rouault even.rouault at mines-paris.org
Thu Aug 6 16:28:56 EDT 2009


There's probably nothing wrong with your dataset. The error comes from the 
part of the driver that tries to mosaic all the NITF tiles from the CIB 
exchange. The error issued by the RPFTOC driver is an assertion that checks 
that the theoretical placement of the tile into the mosaic given by the 
A.TOC file is consistant with the georeferencing of the NITF tile itself. 
The assertion would indicate that the longitude of the north west corner of 
the tile wouldn't match the one deduced from the A.TOC. Maybe the test is a 
bit too strict on the precision. I don't know. I've been able to test the 
driver on many CADRG datasets, but no CIB until now. What would help to 
understand is sending the output of gdalinfo on the .\NI425J2\01LGBN2B.I42 
tile to get its georeferencing (gdalinfo on other random tiles could help 
also to see/confirm if it's limited on a single tile or a general 
phenomenon) and joining the A.TOC file which is just an index and contains 
no imagery. You could create a Trac ticket (http://trac.osgeo.org/gdal/) for 
that. (I won't be able to look at this before two weeks).

Best regards,


----- Original Message ----- 
From: "Ollie Newman" <oliver.newman at baesystems.com>
To: <gdal-dev at lists.osgeo.org>
Sent: Thursday, August 06, 2009 5:56 PM
Subject: Re: [Gdal-dev] GDAL seems unable to translate CIB data set

> Frank Warmerdam wrote:
>> Ollie,
>> Can you make .\NI425J2\01LGBN2B.I42 available for inspection?  I imagine
>> Even
>> will need to comment on the particulars of the RPFTOC driver - I see this
>> assertion is coming from it, not the NITF driver.
>> 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
>> and watch the world go round - Rush    | Geospatial Programmer for Rent
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> Hi Frank,
> Unfortunately I think that would be unlikely as it's a limited 
> distribution
> military data set.  I know this doesn't help a great deal!
> Attacking this from a different angle I am now using gdal_translate to
> translate each of the 1073 tiles (which are in NITF format) to GeoTiffs 
> and
> then mosaic into a single image.  This will run overnight based on the
> current rate but so far has produced 1073 previewable GeoTiffs (which at a
> random sampling process all seem to contain some data) and is working
> through the mosaic operation.  I'll confirm the results in the morning but
> this may help narrow down where the problem area may be - or not (I'm not
> familiar enough with the GDAL code to know whether this helps)
> Thanks
> Ollie
> -- 
> View this message in context: 
> http://n2.nabble.com/GDAL-seems-unable-to-translate-CIB-data-set-tp3398950p3399120.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> 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