[gdal-dev] Re: Unable to load CIB datasets with GDAL

Ryan McKinley ryantxu at gmail.com
Mon Nov 22 19:54:10 EST 2010


This is the output I get for the file that fails to load:  (semi redacted)

c:\data\RPF>nitfdump "F:\path\to\file.i24"
Dump for F:\path\to\file.i24
File TREs: RPFHDR(48)
File Metadata:
  NITF_FHDR=NITF02.00
  NITF_CLEVEL=03
  NITF_STYPE=
  NITF_OSTAID=TRIFID
  NITF_FDT=11XXXXXX
  NITF_FTITLE=file.I24
  NITF_FSCLAS=U
  NITF_FSCODE=DS
  NITF_FSCTLH=
  NITF_FSREL=
  NITF_FSCAUT=
  NITF_FSCTLN=
  NITF_FSDWNG=
  NITF_FSCOP=00000
  NITF_FSCPYS=00000
  NITF_ENCRYP=0
  NITF_ONAME=TRIFID
  NITF_OPHONE=
ERROR 1: Image header too small
Segment 1 (Type=IM):
  HeaderStart=479, HeaderSize=2123, DataStart=2602, DataSize=286797
  DLVL=-1, ALVL=-1, LOC=C-1,R-1, CCS=C-1,R-1

Segment 2 (Type=DE):
  HeaderStart=289399, HeaderSize=209, DataStart=289608, DataSize=601
  DLVL=-1, ALVL=-1, LOC=C-1,R-1, CCS=C-1,R-1

ERROR 1: Image header too small
NITFAccessImage(0) failed!

c:\data\RPF>


thanks
ryan

On Mon, Nov 22, 2010 at 4:20 AM, morabit <b.morabito at tdnet.it> wrote:
>
> Hi,
> I' ve just executed the nitfdump utility included in FwTools (GDAL 1.7.0)
> against the nitf file
> and for the complete file and for the truncated one I get the same report in
> output:
>
> Dump for 0AA43516_trunc.I42
> File TREs: RPFHDR(48)
> File Metadata:
>  NITF_FHDR=NITF02.00
>  NITF_CLEVEL=99
>  NITF_STYPE=
>  NITF_OSTAID=Ciga
>  NITF_FDT=21050525212525
>  NITF_FTITLE=0AA43516.I42
>  NITF_FSCLAS=U
>  NITF_FSCODE=
>  NITF_FSCTLH=
>  NITF_FSREL=
>  NITF_FSCAUT=
>  NITF_FSCTLN=
>  NITF_FSDWNG=
>  NITF_FSCOP=00000
>  NITF_FSCPYS=00000
>  NITF_ENCRYP=0
>  NITF_ONAME=Datamat
>  NITF_OPHONE=
> Warning 1: Ignoring NITF RPF Location table since it seems to be corrupt.
> Segment 1 (Type=IM):
>  HeaderStart=466, HeaderSize=2130, DataStart=2596, DataSize=2425208
>  DLVL=1, ALVL=0, LOC=C0,R0, CCS=C0,R0
>
> Image Segment 0, 1536Px1536Lx1B x 8bits:
>  PVTYPE=INT, IREP=MONO, ICAT=VIS, IMODE=B, IC=M4, COMRAT=0.75, ICORDS=G
>  UL=(12.4447162504524,41.6429166666667), UR=(12.4630615273254,41.6498656351
>
>  LL=(12.4447162504524,41.6359676981542), LR=(12.4630615273254,41.6429166666
>
>  IDLVL=1, IALVL=0, ILOC R=0,C=0, IMAG=1.0
>  6 x 6 blocks of size 256 x 256
>  Image TREs: RPFIMG(1400)
>  Band 1: IREPBAND=, ISUBCAT=, 217 LUT entries.
>  Image Metadata:
>    NITF_IID1=CIB
>    NITF_IDATIM=21050525212525
>    NITF_TGTID=
>    NITF_ITITLE=0AA43516.I42
>    NITF_ISCLAS=U
>    NITF_ISCODE=
>    NITF_ISCTLH=
>    NITF_ISREL=
>    NITF_ISCAUT=
>    NITF_ISCTLN=
>    NITF_ISDWNG=
>    NITF_ISORCE=To be defined by the user
>    NITF_PVTYPE=INT
>    NITF_IREP=MONO
>    NITF_ICAT=VIS
>    NITF_ABPP=08
>    NITF_PJUST=R
>
> So I don't see the error you report in your post...
> We hope that a solution to this issue can be found in a short time
> as this is fondumental for our project.
> Thank You
>
> Best regards
>
> Bruno
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Unable-to-load-CIB-datasets-with-GDAL-tp5756271p5762059.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