GeoTools is checking what formats are supported by your JRE; and the GDAL 
formats are not supported or installed. If you are interested in installing 
support please visit the imageio-ext project. 

I am not sure how to turn off that warning :-(

Jody

On 24/06/2010, at 8:52 AM, arnauld ndefo wrote:

> Hello every body, i use geotools 2.6.3. Then i have readed this link 
> 
> http://docs.geotools.org/latest/userguide/examples/imagelab.html which show 
> me how i can add the .png image of my map like a layer into a 
> DefaultMapContext object. But i have a error 
> 
> Jun 24, 2010 12:38:05 AM it.geosolutions.imageio.gdalframework.GDALUtilities 
> loadGDAL
> WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no 
> gdaljni in java.library.path
> Jun 24, 2010 12:38:05 AM it.geosolutions.util.KakaduUtilities loadKakadu
> WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no 
> kdu_jni in java.library.path
> Exception in thread "main" java.lang.IllegalArgumentException: input == null!
>         at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:313)
>         at 
> org.geotools.coverageio.jp2k.JP2KFormat.accepts(JP2KFormat.java:215)
>         at 
> org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:172)
>         at 
> org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:200)
>         at com.mycompany.cartes.App.main(App.java:130)
> [ERROR]The following mojo encountered an error while executing:
> [ERROR]Group-Id: org.codehaus.mojo
> [ERROR]Artifact-Id: exec-maven-plugin
> [ERROR]Version: 1.1.1
> [ERROR]Mojo: exec
> [ERROR]brought in via: Direct invocation
> [ERROR]While building project:
> [ERROR]Group-Id: com.mycompany
> [ERROR]Artifact-Id: cartes
> [ERROR]Version: 1.0-SNAPSHOT
> [ERROR]From file: C:\Users\Arnauld\Documents\NetBeansProjects\cartes\pom.xml
> [ERROR]Reason: Result of cmd.exe /X /C ""C:\Program 
> Files\Java\jdk1.6.0_02\bin\java.exe" -classpath C:\Users\Arnauld\Docum
> 
> 
> The exception refer to this line: 
> 
>  AbstractGridFormat format = GridFormatFinder.findFormat( RasterFile );
> 
> Please i want to know the problem.Thank you
> 
> 
> Ndefo Kamgne Arnauld
> Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
> 0021624249357
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to