GeoJPEG2000-Images
Johannes Krzyzanowski
johannes.krzyzanowski at LGB-RLP.DE
Fri Aug 10 00:04:26 PDT 2007
Hi,
we are running UMN-Mapserver on SLES 10 SP1 in 64-Bit with
Geo-Jasper-libraries from GDAL (jasper-1.900.1.uuid).
Everything is fine, but the display of GeoJPEG2000-Images in Mapsever
does not work.
gdalinfo with the JPEG2000-File is OK (see below).
Mapserver error is:
msDrawRaster(): Unrecognized or unsupported image format
drawEPP():
/shares/www/mapserver/htdocs/data/altbergbau/00054_rec3_kompl.jp2 is not
an EPPL file.
UNIX-ldd shows, that gdalinfo and mapserv are using the same libraries.
Any suggestions ???
Best regards,
Johannes Krzyzanowski
gdalinfo:
pilosa:/usr/local/httpd/cgi-bin # gdalinfo
/shares/www/mapserver/htdocs/data/altbergbau/00054_rec3_kompl.jp2
Driver: JPEG2000/JPEG-2000 part 1 (ISO/IEC 15444-1)
Size is 10461, 7425
Coordinate System is:
PROJCS[" Projection Name = Transverse Mercator Units = meters GeoTIFF
Units = meters",
GEOGCS[" Unable to match Ellipsoid (Datum) to a GeographicTypeGeoKey
value Ellipsoid = Bessel Datum = DE_DHDN (whole country, 2001) to ETRS89",
DATUM["unknown",
SPHEROID["unnamed",6377397.155,299.1528131060786]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",3500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (3410838.000000000000000,5505685.000000000000000)
Pixel Size = (2.000000000000000,-2.000000000000000)
Corner Coordinates:
Upper Left ( 3410838.000, 5505685.000) ( 7d45'51.62"E, 49d40'56.44"N)
Lower Left ( 3410838.000, 5490835.000) ( 7d46'3.76"E, 49d32'55.83"N)
Upper Right ( 3431760.000, 5505685.000) ( 8d 3'15.27"E, 49d41'6.27"N)
Lower Right ( 3431760.000, 5490835.000) ( 8d 3'24.56"E, 49d33'5.62"N)
Center ( 3421299.000, 5498260.000) ( 7d54'38.79"E, 49d37'1.36"N)
Band 1 Block=10461x7425 Type=Byte, ColorInterp=Red
Band 2 Block=10461x7425 Type=Byte, ColorInterp=Green
Band 3 Block=10461x7425 Type=Byte, ColorInterp=Blue
Logfile php.log
[09-Aug-2007 16:38:16] PHP Warning: [MapServer Error]: msDrawRaster():
Unrecognized or unsupported image format
in /shares/www/mapserver/htdocs/geobasis_enwicklung/incphp/map.php on
line 325
[09-Aug-2007 16:38:16] PHP Warning: [MapServer Error]: drawEPP():
/shares/www/mapserver/htdocs/data/altbergbau/00054_rec3_kompl.jp2 is not
an EPPL file.
in /shares/www/mapserver/htdocs/geobasis_enwicklung/incphp/map.php on
line 325
[09-Aug-2007 16:38:16] PHP Fatal error: Call to a member function
saveWebImage() on a non-object in
/shares/www/mapserver/htdocs/geobasis_enwicklung/incphp/map.php on line 347
ldd:
pilosa:/ # ldd /usr/local/httpd/cgi-bin/mapserv | sort
/lib64/ld-linux-x86-64.so.2 (0x00002b53d764e000)
libICE.so.6 => /usr/X11R6/lib64/libICE.so.6 (0x00002b53dbd5c000)
libSM.so.6 => /usr/X11R6/lib64/libSM.so.6 (0x00002b53dbc52000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x00002b53d7ebd000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x00002b53db913000)
libXpm.so.4 => /usr/X11R6/lib64/libXpm.so.4 (0x00002b53d7dac000)
libc.so.6 => /lib64/libc.so.6 (0x00002b53db354000)
libclntsh.so.10.1 =>
/opt/oracle/product/10.2/prod/lib/libclntsh.so.10.1 (0x00002b53d86fa000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002b53dc484000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b53dbfef000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8
(0x00002b53dad9d000)
libcurl.so.3 => /usr/lib64/libcurl.so.3 (0x00002b53da9ed000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b53da8e9000)
libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00002b53dc23d000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1
(0x00002b53db693000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6
(0x00002b53d79e0000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b53db586000)
libgd.so.2 => /usr/local/lib/libgd.so.2 (0x00002b53d776a000)
libgdal.so => /usr/local/lib/libgdal.so (0x00002b53d820c000)
libgeotiff.so => /usr/local/lib/libgeotiff.so (0x00002b53da437000)
libgif.so.4 => /usr/lib64/libgif.so.4 (0x00002b53da32d000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002b53dab26000)
libjasper.so.1 => /usr/local/lib/libjasper.so.1
(0x00002b53da1d7000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002b53d78bf000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3
(0x00002b53dc360000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002b53dbe78000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00002b53dc586000)
libm.so.6 => /lib64/libm.so.6 (0x00002b53db001000)
libnnz10.so => /opt/oracle/product/10.2/prod/lib/libnnz10.so
(0x00002b53d9ac1000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b53dbb3c000)
libodbc.so.1 => /usr/lib64/libodbc.so.1 (0x00002b53d9f64000)
libodbcinst.so.1 => /usr/lib64/libodbcinst.so.1
(0x00002b53da0c6000)
libpng.so.3 => /usr/lib64/libpng.so.3 (0x00002b53d7b5c000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00002b53db7d6000)
libpq.so.4 => /usr/lib64/libpq.so.4 (0x00002b53da6bd000)
libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00002b53d80cb000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b53dba24000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b53dc128000)
librt.so.1 => /lib64/librt.so.1 (0x00002b53da7e0000)
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00002b53dac57000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b53db156000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00002b53da564000)
libz.so.1 => /lib64/libz.so.1 (0x00002b53d7c98000)
pilosa:/ # ldd /usr/local/bin/gdalinfo | sort
/lib64/ld-linux-x86-64.so.2 (0x00002b595d9d8000)
libICE.so.6 => /usr/X11R6/lib64/libICE.so.6 (0x00002b5961624000)
libSM.so.6 => /usr/X11R6/lib64/libSM.so.6 (0x00002b596151a000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x00002b5961740000)
libc.so.6 => /lib64/libc.so.6 (0x00002b59610bb000)
libclntsh.so.10.1 =>
/opt/oracle/product/10.2/prod/lib/libclntsh.so.10.1 (0x00002b595dfe1000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002b5961e37000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b5961ac5000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8
(0x00002b59609f7000)
libcurl.so.3 => /usr/lib64/libcurl.so.3 (0x00002b5960647000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b5960542000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b5960fae000)
libgdal.so => /usr/local/lib/libgdal.so (0x00002b595daf4000)
libgeotiff.so => /usr/local/lib/libgeotiff.so (0x00002b595fe3f000)
libgif.so.4 => /usr/lib64/libgif.so.4 (0x00002b595fc15000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002b596077f000)
libjasper.so.1 => /usr/local/lib/libjasper.so.1
(0x00002b595fabe000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002b595fd1e000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3
(0x00002b5961d13000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002b596194e000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00002b5961f39000)
libm.so.6 => /lib64/libm.so.6 (0x00002b5960e58000)
libnnz10.so => /opt/oracle/product/10.2/prod/lib/libnnz10.so
(0x00002b595f3a8000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b5961404000)
libodbc.so.1 => /usr/lib64/libodbc.so.1 (0x00002b595f84c000)
libodbcinst.so.1 => /usr/lib64/libodbcinst.so.1
(0x00002b595f9ad000)
libpng.so.3 => /usr/lib64/libpng.so.3 (0x00002b59600c6000)
libpq.so.4 => /usr/lib64/libpq.so.4 (0x00002b5960202000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b59612ec000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b5961bff000)
librt.so.1 => /lib64/librt.so.1 (0x00002b5960439000)
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00002b59608b0000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b5960c5a000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00002b595ff6d000)
libz.so.1 => /lib64/libz.so.1 (0x00002b5960325000)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: johannes.krzyzanowski.vcf
Type: text/x-vcard
Size: 310 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070810/9f77672a/attachment.vcf>
More information about the MapServer-users
mailing list