Hello,

Not sure what's going on, but ignoring the Kakadu message (which as
Simone says is just a warning) it looks like the error is related to
decoding the coordinate reference system (CRS) of your image.

Firstly, are you building and running the example with Maven ? I ask
because this type of error could indicate an essential jar missing
from the app classpath.

If you are using Maven, and your pom includes all of the dependencies
specified in the image tutorial, the next thing to look at is the
actual reference system associated with your image. If your image file
is a geotiff, please post the details of the CRS used. If your file is
a plain tiff, please post the associated world file (.tfw) that you
are using.

Michael


On 20 November 2012 19:45, Boided <[email protected]> wrote:
> Ciao simone,
>
> this is the complete warning that i m getting
> Native library load failed.java.lang.UnsatisfiedLinkError: no gdaljni in
> java.library.path
>  Nov 19, 2012 12:34:07 PM it.geosolutions.util.KakaduUtilities loadKakadu
>  WARNING: Failed to load the Kakadu native libs. This is not a problem
> unless
>  you need to use the Kakadu plugin: it won't be enabled.
> java.lang.UnsatisfiedLinkError: no kdu_jni in java.library.path
> Exception in thread "main" java.lang.ExceptionInInitializerError
>         at
> org.geotools.referencing.crs.DefaultEngineeringCRS.<init>(DefaultEngineeringCRS.java:136)
>         at
> org.geotools.referencing.crs.DefaultEngineeringCRS.<clinit>(DefaultEngineeringCRS.java:88)
>         at
> org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.<clinit>(CartesianAuthorityFactory.java:61)
>         at
> org.geotools.coverage.grid.io.AbstractGridFormat.<clinit>(AbstractGridFormat.java:99)
>         at
> org.geotools.coverageio.jp2k.JP2KFormatFactory.createFormat(JP2KFormatFactory.java:164)
>         at
> org.geotools.coverageio.jp2k.JP2KFormatFactory.createFormat(JP2KFormatFactory.java:51)
>         at
> org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:185)
>         at
> org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:241)
>         at
> org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:216)
>         at geodataextraction.ImageLab.displayLayers(ImageLab.java:97)
>         at geodataextraction.ImageLab.getLayersAndDisplay(ImageLab.java:82)
>         at geodataextraction.ImageLab.main(ImageLab.java:56)
> Caused by: java.util.MissingResourceException: Can't find resource for
> bundle org.geotools.resources.i18n.Vocabulary, key 252
>         at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
>         at java.util.ResourceBundle.getObject(ResourceBundle.java:383)
>         at java.util.ResourceBundle.getString(ResourceBundle.java:346)
>         at
> org.geotools.util.ResourceInternationalString.toString(ResourceInternationalString.java:100)
>         at
> org.geotools.referencing.datum.AbstractDatum.name(AbstractDatum.java:183)
>         at
> org.geotools.referencing.datum.DefaultEngineeringDatum.<clinit>(DefaultEngineeringDatum.java:69)
>         ... 12 more
>
> all the native libraries are there..but still it is not getting deployd..
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Gdal-error-while-running-ImageLab-example-tp5017554p5017585.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to