Hi Daniele,

Thanks for the info. It makes more sense now. I *think* i was using swig
1.3.40 but I am not 100% sure as it was a virtual server that no longer
exists. But I was just using the latest available on ubuntu 1040 which
appears to be 1.3.40.

Given the weirdly named symbols I saw in the gdaljni lib you are probably
right that it is a swig issue. I will try using 1.3.36 and report back. When
you build the bindings are you doing anything special? Or is it as simple as
just edit java.opts and run make?

Thanks again for the info!

-Justin

On Tue, Mar 1, 2011 at 1:22 AM, Daniele Romagnoli <
[email protected]> wrote:

> Hi Justin,
> there is no patch for GDAL 1.7.x since there is no need to patch it.
> Patch on 1.0.x (for gdal 1.4.5) has been made to add some features and
> improvements which are now available on gdal 1.7.x.
>
> I didn't tried 1.8.x yet... anyway, which SWIG version are you using? In
> the past, I have noticed that different version may produce different
> bindings (as an instance, SWIG 2.x won't worked fine for me). I have usually
> used 1.3.36 to avoid weird issues.
>
> Daniele
>
>
>
> On Mon, Feb 28, 2011 at 6:09 PM, Justin Deoliveira 
> <[email protected]>wrote:
>
>> Thanks Simone. I did indeed look through the svn repository linked from
>> the site above and found these patches for 1.0.x:
>>
>>
>> http://java.net/projects/imageio-ext/sources/svn/show/branches/1.0.x/patches?rev=1238
>>
>> But I see no such patches in the same directory on 1.1/trunk branch.
>>
>> I must be missing something here. Or perhaps those patches still apply
>> against gdal 1.7?
>>
>> Thanks again for the help.
>>
>> -Justin
>>
>>
>> On Mon, Feb 28, 2011 at 8:30 AM, Simone Giannecchini <
>> [email protected]> wrote:
>>
>>> Ciao Justin,
>>> this is the link http://java.net/projects/imageio-ext/
>>>
>>> Regards,
>>> Simone Giannecchini
>>> -------------------------------------------------------
>>> Ing. Simone Giannecchini
>>> GeoSolutions S.A.S.
>>> Founder
>>>
>>> Via Poggio alle Viti 1187
>>> 55054  Massarosa (LU)
>>> Italy
>>>
>>> phone: +39 0584 962313
>>> fax:      +39 0584 962313
>>> mob:    +39 333 8128928
>>>
>>> http://www.geo-solutions.it
>>> http://geo-solutions.blogspot.com/
>>> http://www.youtube.com/user/GeoSolutionsIT
>>> http://www.linkedin.com/in/simonegiannecchini
>>> http://twitter.com/simogeo
>>>
>>> -------------------------------------------------------
>>>
>>>
>>>
>>> On Mon, Feb 28, 2011 at 4:22 PM, Justin Deoliveira <[email protected]>
>>> wrote:
>>> > Cool, thanks for the info Simone. I checked out the trunk of
>>> imageio-ext but
>>> > can't seem to find the gdal bindings... On the 1.0.x branch I see some
>>> > patches for gdal 1.4.x. Should I use those same patches for 1.7.x?
>>> > Thanks!
>>> > -Justin
>>> >
>>> > On Mon, Feb 28, 2011 at 3:19 AM, Simone Giannecchini
>>> > <[email protected]> wrote:
>>> >>
>>> >> Ciao Justin,
>>> >> long story short, atm imagieo-ext works with its own modified version
>>> >> of gdal bindings which you can get from the imageio-ext site.
>>> >> 1.1 should use 1.7.x instead.
>>> >>
>>> >> Generally speaking I doubt we will ever run after gdal trunk for
>>> >> anything different than local experiments since I tend to be cautious
>>> >> and use older versions
>>> >> of gdal where a memory leak is less likely to occur.
>>> >>
>>> >> Regards,
>>> >> Simone Giannecchini
>>> >> -------------------------------------------------------
>>> >> Ing. Simone Giannecchini
>>> >> GeoSolutions S.A.S.
>>> >> Founder
>>> >>
>>> >> Via Poggio alle Viti 1187
>>> >> 55054  Massarosa (LU)
>>> >> Italy
>>> >>
>>> >> phone: +39 0584 962313
>>> >> fax:      +39 0584 962313
>>> >> mob:    +39 333 8128928
>>> >>
>>> >> http://www.geo-solutions.it
>>> >> http://geo-solutions.blogspot.com/
>>> >> http://www.youtube.com/user/GeoSolutionsIT
>>> >> http://www.linkedin.com/in/simonegiannecchini
>>> >> http://twitter.com/simogeo
>>> >>
>>> >> -------------------------------------------------------
>>> >>
>>> >>
>>> >>
>>> >> On Sat, Feb 26, 2011 at 1:46 AM, Justin Deoliveira <
>>> [email protected]>
>>> >> wrote:
>>> >> > Hi all,
>>> >> > I am trying to load up some mrsid files via the imageio-ext readers
>>> and
>>> >> > running into some issues. My overall question is will the
>>> imageio-ext
>>> >> > libs
>>> >> > work with gdal 1.8?
>>> >> > I know I have made this work with gdal-1.7. But it seems lizardtech
>>> is
>>> >> > not
>>> >> > making available the Geo_SDK version 7. Only the version 8 sdk is
>>> >> > available.
>>> >> > I tried compiling gdal 1.7 against it and it did not work. What I
>>> can
>>> >> > find
>>> >> > online seems to confirm that i need gdal 1.8 to use the mrsid
>>> version 8
>>> >> > sdk.
>>> >> > So I am just wondering if it is a problem on my side... or if the
>>> >> > imageio-ext libs won't work with gdal 1.8. For reference the error I
>>> get
>>> >> > is:
>>> >> > java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.Open
>>> >> > And indeed if I list the symbols in the version 1.8 jni library I
>>> don't
>>> >> > see
>>> >> > it:
>>> >> >                  U GDALOpen
>>> >> >                  U GDALOpenShared
>>> >> > 00000000000289d0 T Java_org_gdal_gdal_gdalJNI_OpenShared_1_1SWIG_10
>>> >> > 0000000000028940 T Java_org_gdal_gdal_gdalJNI_OpenShared_1_1SWIG_11
>>> >> > 0000000000028ae0 T Java_org_gdal_gdal_gdalJNI_Open_1_1SWIG_10
>>> >> > 000000000002f570 T Java_org_gdal_gdal_gdalJNI_Open_1_1SWIG_11
>>> >> > 00000000000288d0 T _Z10OpenSharedPKc10GDALAccess
>>> >> > 0000000000028b80 T _Z4OpenPKc
>>> >> > 0000000000028a70 T _Z4OpenPKc10GDALAccess
>>> >> > Whereas if I list the symbols of the jni lib i download from the
>>> >> > imageio-ext
>>> >> > project I do see it:
>>> >> >                  U GDALOpen
>>> >> >                  U GDALOpenShared
>>> >> > 000000000000eb3c T Java_org_gdal_gdal_gdalJNI_Open
>>> >> > 000000000000ea24 T Java_org_gdal_gdal_gdalJNI_OpenShared
>>> >> > 000000000000e9b6 T _Z10OpenSharedPKc10GDALAccess
>>> >> > 000000000000eac7 T _Z4OpenPKc10GDALAccess
>>> >> >
>>> >> > So perhaps I am building the jni lib improperly. Those SWIG suffixes
>>> >> > make me
>>> >> > think I probably am. Any guidance appreciated :)
>>> >> > Thanks.
>>> >> > -Justin
>>> >> > --
>>> >> > Justin Deoliveira
>>> >> > OpenGeo - http://opengeo.org
>>> >> > Enterprise support for open source geospatial.
>>> >> >
>>> >> >
>>> >> >
>>> ------------------------------------------------------------------------------
>>> >> > Free Software Download: Index, Search & Analyze Logs and other IT
>>> data
>>> >> > in
>>> >> > Real-Time with Splunk. Collect, index and harness all the fast
>>> moving IT
>>> >> > data
>>> >> > generated by your applications, servers and devices whether
>>> physical,
>>> >> > virtual
>>> >> > or in the cloud. Deliver compliance at lower cost and gain new
>>> business
>>> >> > insights. http://p.sf.net/sfu/splunk-dev2dev
>>> >> > _______________________________________________
>>> >> > Geotools-devel mailing list
>>> >> > [email protected]
>>> >> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>> >> >
>>> >> >
>>> >
>>> >
>>> >
>>> > --
>>> > Justin Deoliveira
>>> > OpenGeo - http://opengeo.org
>>> > Enterprise support for open source geospatial.
>>> >
>>> >
>>> ------------------------------------------------------------------------------
>>> > Free Software Download: Index, Search & Analyze Logs and other IT data
>>> in
>>> > Real-Time with Splunk. Collect, index and harness all the fast moving
>>> IT
>>> > data
>>> > generated by your applications, servers and devices whether physical,
>>> > virtual
>>> > or in the cloud. Deliver compliance at lower cost and gain new business
>>> > insights. http://p.sf.net/sfu/splunk-dev2dev
>>> > _______________________________________________
>>> > Geotools-devel mailing list
>>> > [email protected]
>>> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>> >
>>> >
>>>
>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Software Download: Index, Search & Analyze Logs and other IT data in
>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
>> data
>> generated by your applications, servers and devices whether physical,
>> virtual
>> or in the cloud. Deliver compliance at lower cost and gain new business
>> insights. http://p.sf.net/sfu/splunk-dev2dev
>> _______________________________________________
>> Geotools-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
>
> --
> -------------------------------------------------------
> Ing. Daniele Romagnoli
> GeoSolutions S.A.S.
> Software Engineer
>
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:   +39 328 0559267
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://it.linkedin.com/in/danieleromagnoli
>
>
> -------------------------------------------------------
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to