Hi Michael,
At the moment, the latest officially supported GDAL version is 1.7.3 which
is used by imageio-ext-1.1.5 (which is the core of the geootols GDAL based
modules)
However, the imageio-ext-1.1.x should support GDAL 1.9.2 starting from
version 1.1.6
We are working on it these days and I'm also preparing GDAL 1.9.2 native
libs for Linux.
Hope this helps.
Best Regards,
Daniele
On Thu, Nov 29, 2012 at 1:32 AM, Michael Speth <[email protected]>wrote:
> Greetings,
> I am attempting to use a recent version of gdal (1.9.2) with Geotools.
> I have tried using the latest stable (8.4) as well as 9-SNAPSHOT (which I
> assume is the latest development version). Both of these versions give me
> the following error when attempting to use gdal:
>
> INFO: GDAL Native Library loaded (version: 1.9.2)
>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>> org.gdal.gdalconst.gdalconstJNI.DMD_LONGNAME_get()Ljava/lang/String;
>> at org.gdal.gdalconst.gdalconstJNI.DMD_LONGNAME_get(Native Method)
>> at
>> org.gdal.gdalconst.gdalconstConstants.<clinit>(gdalconstConstants.java:75)
>> at
>> it.geosolutions.imageio.gdalframework.GDALImageReader.setInput(GDALImageReader.java:703)
>> at javax.imageio.ImageReader.setInput(ImageReader.java:380)
>> at
>> org.geotools.coverageio.BaseGridCoverage2DReader.<init>(BaseGridCoverage2DReader.java:172)
>> at
>> org.geotools.coverageio.gdal.BaseGDALGridCoverage2DReader.<init>(BaseGDALGridCoverage2DReader.java:84)
>> at
>> org.geotools.coverageio.gdal.erdasimg.ErdasImgReader.<init>(ErdasImgReader.java:66)
>> at
>> org.geotools.coverageio.gdal.erdasimg.ErdasImgReader.<init>(ErdasImgReader.java:52)
>> at org.geotools.tutorial.App.main(App.java:31)
>
>
> It seems that gdal has changed the function name from *DMD_LONGNAME_get* to
> *GDAL_DMD_LONGNAME_get*.
>
> Is there any suggestions on how to work around this problem? I have read
> from the docs that GeoTools should be compatible with gdal 1.4.5 but that's
> a fairly out-dated version of gdal released back in dec 2008 (which I
> wasn't able to compile due to my system libraries are not compatible).
>
> Thanks
>
> --
>
> Michael Speth
> Research Systems Developer
> Landcare Research
>
>
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> VERIFY Test and improve your parallel project with help from experts
> and peers. http://goparallel.sourceforge.net
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users