> Ciao Simo,
>
> -1- did you put the .so in the LD_LIBRARY_PATH?
yes: this points to the shared objects of you deployed builds.
LD_LIBRARY_PATH=/APP/gdal-1.9.2_linux64/
> -2- I would explicitly also set the -Djava.library.path switch
I added this option now:
java -classpath "${CLASSPATH}" -Djava.library.path=/APP/gdal-1.9.2_linux64
gdalinfo $input
see output below:
> -3- did you set the GDAL_DATA and GDAL_DRIVER_PATJ env var?
GDAL_DATA is set, GDAL_DRIVER_PATJ not. To which path I should set this?
################## begin output #####################
[root@sdcgbe02 javainfo]# ./gdalinfo.sh
/raid0/GeoserverDATA/ecw_st1/001140w.ecw
Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
Files: /raid0/GeoserverDATA/ecw_st1/001140w.ecw
Size is 13540, 12020
Coordinate System is:
PROJCS["NUTM32",
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"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",9],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["Meter",1]]
Origin = (683347.037701787,5213800.08958991)
Pixel Size = (0.5,-0.5)
Metadata:
COLORSPACE=RGB
COMPRESSION_RATE_TARGET=1
VERSION=2
Corner Coordinates:
Upper Left (683347.037701787,5213800.08958991) ( 11d24'50.60"E, 47d 3' 8.15"N)
Lower Left (683347.037701787,5207790.08958991) ( 11d24'41.83"E, 46d59'53.63"N)
Upper Right (690117.037701787,5213800.08958991) ( 11d30'11.18"E, 47d 3' 1.26"N)
Lower Right (690117.037701787,5207790.08958991) ( 11d30' 2.09"E, 46d59'46.75"N)
Center (686732.037701787,5210795.08958991) ( 11d27'26.43"E, 47d 1'27.48"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Description = Red
Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Description = Green
Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
Description = Blue
Overviews: 6770x6010, 3385x3005, 1692x1502, 846x751, 423x375, 211x187
################## begin output #####################
>
> This looks like a misconfiguration of your env vars.
Is it not related to your deployed builds? I mean that is was compiled for
Centos 5.8 , while I am using Redhat version 6.
cheers Markus------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users