[Gdal-dev] gdaladdo for large RPF

Charles Chung cchung at draper.com
Wed Jul 15 18:21:05 EDT 2009


When I try to build an overview of a.toc file that is associated with 10 GB
(38K files) NITF files, I get the following error message.

c:\>gdaladdo --config COMPRESS_OVERVIEW DEFLATE
NITF_TOC_ENTRY:CIB__1M_1_0:C:\aOI\rpf\a.toc 2 4 8 16
ERROR 1: TIFFFetchStripThing:Sanity check on size of "TileOffsets" value
failed
ERROR 1: TIFFFetchStripThing:Sanity check on size of "TileOffsets" value
failed
Overview building failed.

Is it possible to build an overview for this big file?
FYI, I will use the overview file with MapServer to increase the
performance.

Thanks in advance.

Charles Chung


c:\>gdalinfo c:\aoi\rpf\a.toc
Driver: NITF/National Imagery Transmission Format
Files: ???????.???
Size is 366028, 466944
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AUTHORITY["EPSG","4326"]]
Origin = (?????)
Pixel Size = (0.000011897208122,-0.000008991368286)
Metadata:
   ???????
Subdatasets:
  SUBDATASET_1_NAME=NITF_TOC_ENTRY:CIB__1M_1_0:c:\aoi\rpf\a.toc
  SUBDATASET_1_DESC=CIB::Imagery, 1 meter resolution:1M:1:0
  SUBDATASET_2_NAME=NITF_TOC_ENTRY:CIB__1M_2_1:f:\aoi\rpf\a.toc
  SUBDATASET_2_DESC=CIB::Imagery, 1 meter resolution:1M:2:1
Corner Coordinates:
  ????



c:\>gdalinfo NITF_TOC_ENTRY:CIB__1M_1_0:c:\aoi\rpf\a.toc
  FILENAME=?????
  NITF_SCALE=1M
  NITF_SERIES_ABBREVIATION=
  NITF_SERIES_NAME=Imagery, 1 meter resolution
Corner Coordinates:
  ????
Band 1 Block=128x128 Type=Byte, ColorInterp=Palette
  NoData Value=216
  Overviews: 208128x157440, 104064x78720, 52032x39360, 26016x19680
  Color Table (RGB with 217 entries)

-- 
View this message in context: http://n2.nabble.com/gdaladdo-for-large-RPF-tp3266107p3266107.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list