[gdal-dev] 64 bit linux format support

Even Rouault even.rouault at mines-paris.org
Fri Jan 29 17:09:51 EST 2010


As your GDAL installation looks to work OK, you might get better help by the 
GeoServer/ImageIOExt community as it might be more related to the 
ImageIOExt/GDAL integration itself.

Le Friday 29 January 2010 23:02:59 David Boyd, vous avez écrit :
> Even:
>    Thanks.  I found part of the issue.  Apparently
> I had the ECW version of the library (instead of the base
> one) and was getting a unresolved dynamic link error.
>
> Now NITF is an available option.  Unfortunatly, I can still
> not get it to load.  Now I am getting an error in the log about
> an IllegalArgumentException.  The attached is the log file.
> Below is the output from gdalinfo on the file.
>
> I am using 1.0.5 of the imageio ext.  In my googling about
> I saw something about Geoserver 2.0RC1 using 1.0.4.  I have
> version 2.0.1 of Geoserver.
> Could that be the difference?
>
> > [jboss at dt-demo-geo imageiolibs]$ ./gdalinfo
> > /mapdata/CADRG/centcom/rpf/cdrgxgnc
> > jncn_13/rpf/cjnc/cjncz01/0004r023.jn1.ntf
> > Driver: NITF/National Imagery Transmission Format
> > Size is 1536, 1536
> > 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"]],
> >     AXIS["Lat",NORTH],
> >     AXIS["Long",EAST],
> >     AUTHORITY["EPSG","4326"]]
> > Origin = (179.251559251559286,8.307692307692307)
> > Pixel Size = (0.002923596673597,-0.002704326923077)
> > Metadata:
> >   NITF_FHDR=NITF02.00
> >   NITF_CLEVEL=03
> >   NITF_STYPE=
> >   NITF_OSTAID=DMA
> >   NITF_FDT=24160004ZJAN02
> >   NITF_FTITLE=0004R023.JN1
> >   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=DMA Primary Site
> >   NITF_OPHONE=
> >   NITF_IID1=CADRG
> >   NITF_IDATIM=
> >   NITF_TGTID=
> >   NITF_ITITLE=0004R023.JN1
> >   NITF_ISCLAS=U
> >   NITF_ISCODE=
> >   NITF_ISCTLH=
> >   NITF_ISREL=
> >   NITF_ISCAUT=
> >   NITF_ISCTLN=
> >   NITF_ISDWNG=
> >   NITF_ISORCE=
> >   NITF_PVTYPE=INT
> >   NITF_IREP=RGB/LUT
> >   NITF_ICAT=MAP
> >   NITF_ABPP=08
> >   NITF_PJUST=R
> >   NITF_IC=M4
> >   NITF_IMODE=B
> > Image Structure Metadata:
> >   COMPRESSION=VECTOR QUANTIZATION
> > Corner Coordinates:
> > Upper Left  ( 179.2515593,   8.3076923)
> > Lower Left  ( 179.2515593,   4.1538462)
> > Upper Right (     183.742,       8.308)
> > Lower Right (     183.742,       4.154)
> > Center      (     181.497,       6.231)
> > Band 1 Block=256x256 Type=Byte, ColorInterp=Palette
> >   Color Table (RGB with 216 entries)
> >     0: 7,23,178,255
> >     1: 247,245,245,255
> >     2: 124,137,224,255
> >     3: 245,237,226,255
> >     4: 154,162,228,255
>
> Even Rouault wrote:
> > David,
> >
> > If you just need reading uncompressed or JPEG compressed NITF, you don't
> > have to bother with MrSID or ECW. Those formats are totally unrelated.
> > Except if you want to read JPEG2000 compressed NITF files, in which case
> > you need to have a GDAL build with a JPEG2000 capable driver (Kakadu,
> > MrSID or ECW).
> >
> > See http://trac.osgeo.org/gdal/wiki/BuildHints that has some information
> > specific to how building with those drivers.
> >
> > Best reagards,
> >
> > Even
> >
> >> All:
> >>    Sorry for the newbie question.  I have searched archives and not
> >> seen an answer.
> >>
> >>    I am setting up a Geoserver system on 64 bit Linux (CENTOS) and
> >> need support for NITF formats.  I installed the lastest imageioext
> >> binaries but none of the additional GDAL formats show up.
> >>
> >> I have verified all the paths (LD_LIBRARY_PATH) and such but but
> >>
> >> According to the 2.0 docs I should see DTED, EHdr, ERDASImg the MrSID
> >> and NITF formats when I create a new data store.  I downloaded the ECW
> >> version of the libraries.
> >>
> >> I have looked all through the docs and the only thing I can figure is
> >> that MrSID support is needed to support NITF and a number of
> >> other formats. That only seems to be available in the 32 bit
> >> versions.
> >>
> >> Any ideas/help on where to look or what I might have done
> >> wrong would be appreciated.




More information about the gdal-dev mailing list