I have recently been doing some testing with GeoServer and GDAL 2.3
I have ran into one major issue - as of GDAL 2.3.0, the GDAL JNI bindings (formerly libgdaljni and libgdalconstjni) have been combined into libgdalalljni. This means that imageio-ext-gdalframework will be incompatible with GDAL 2.3.0 and newer, since it does a hardcoded System.loadLibrary call for the old binding.
The quick workaround for this is to add a symlink named libgdaljni pointing at libgdalalljni.
Longer term, I have opened a couple of PRs that check for the new name in a backwards-compatible fashion:
Apart from that issue, GDAL 2.3.2 seems to work just fine in GeoServer - I was able to add and view stores in several different GDAL formats without issue.
I have recently been doing some testing with GeoServer and GDAL 2.3
I have ran into one major issue - as of GDAL 2.3.0, the GDAL JNI bindings (formerly libgdaljni and libgdalconstjni) have been combined into libgdalalljni. This means that imageio-ext-gdalframework will be incompatible with GDAL 2.3.0 and newer, since it does a hardcoded System.loadLibrary call for the old binding.
The quick workaround for this is to add a symlink named libgdaljni pointing at libgdalalljni.
Longer term, I have opened a couple of PRs that check for the new name in a backwards-compatible fashion:
Apart from that issue, GDAL 2.3.2 seems to work just fine in GeoServer - I was able to add and view stores in several different GDAL formats without issue.
Hi Torben,
I’m wondering, do you have GDAL 2.3 binaries that could replace the ones we are currently distributing, and can you share them with the community?
If so, why don’t we switch GeoServer 2.15.x to use that, it would give us six good months of testing to see if there are significant issues.
Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
Answering to Andrea: yep the build you referred is using GDAL.
Quoting from jenkins log:
<details class='elided'>
<summary title='Show trimmed content'>···</summary>
On Thu, Sep 27, 2018 at 12:34 PM, Andrea Aime <[andrea.aime@anonymised.com](mailto:andrea.aime@anonymised.com)> wrote:
> Hi Torben,
> I'm wondering, do you have GDAL 2.3 binaries that could replace the ones we are currently distributing, and can you share them with the community?
> If so, why don't we switch GeoServer 2.15.x to use that, it would give us six good months of testing to see if there are significant issues.
>
> To answer Jody's question, I believe this build might be running with GDAL 1.x active (I'm cc'ing Daniele and Alessandro to get confirmation):
> [https://build.geo-solutions.it/jenkins/view/GeoTools/job/GeoTools-Master-OpenJDK8/](https://build.geo-solutions.it/jenkins/view/GeoTools/job/GeoTools-Master-OpenJDK8/)
>
> Cheers
> Andrea
>
> On Thu, Sep 27, 2018 at 1:02 AM Torben Barsballe <[tbarsballe@anonymised.com..](mailto:tbarsballe@anonymised.com)> wrote:
>
> > I have recently been doing some testing with GeoServer and GDAL 2.3
> >
> > I have ran into one major issue - [as of GDAL 2.3.0](https://trac.osgeo.org/gdal/wiki/Release/2.3.0-News#SWIGLanguageBindings), the GDAL JNI bindings (formerly `libgdaljni` and `libgdalconstjni`) have been combined into `libgdalalljni`. This means that imageio-ext-gdalframework will be incompatible with GDAL 2.3.0 and newer, since it does a hardcoded System.loadLibrary call for the old binding.
> >
> > The quick workaround for this is to add a symlink named libgdaljni pointing at libgdalalljni.
> >
> > Longer term, I have opened a couple of PRs that check for the new name in a backwards-compatible fashion:
> >
> > - [https://github.com/geosolutions-it/imageio-ext/pull/170](https://github.com/geosolutions-it/imageio-ext/pull/170)
> >
> > - [https://github.com/geotools/geotools/pull/2070](https://github.com/geotools/geotools/pull/2070)
> >
> > Apart from that issue, GDAL 2.3.2 seems to work just fine in GeoServer - I was able to add and view stores in several different GDAL formats without issue.
> >
> > Cheers,
> >
> > Torben
> >
> > _______________________________________________
> > Geoserver-devel mailing list
> > [Geoserver-devel@anonymised.comsourceforge.net](mailto:Geoserver-devel@lists.sourceforge.net)
> > [https://lists.sourceforge.net/lists/listinfo/geoserver-devel](https://lists.sourceforge.net/lists/listinfo/geoserver-devel)
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit [http://goo.gl/it488V](http://goo.gl/it488V) for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 [http://www.geo-solutions.it](http://www.geo-solutions.it) [http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it) ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
--
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit [http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
</details>
Hi Torben,
I’m wondering, do you have GDAL 2.3 binaries that could replace the ones we are currently distributing, and can you share them with the community?
If so, why don’t we switch GeoServer 2.15.x to use that, it would give us six good months of testing to see if there are significant issues.
I don’t yet, we are currently working with test builds from the GDAL source (and working off of an RC). I may have something distributable in the near future - let me get back to you about that.
One note: we are currently only working with linux binaries, and are unlikely to be making any Windows binaries.
I’m using the binding jar generated from the GDAL source build itself, so yes. See our existing GDAL docs for more details:
If you are using a version of GDAL more recent than 1.9.2, replace theimageio-ext-gdal-bindings-1.9.2.jar file with the equivalent java binding jar (typically named either gdal.jar or imageio-ext-gdal-bindings-*.jar) included with your GDAL version. If your GDAL version does not include a bindings jar, it was probably not compiled with the java bindings and will not work with GeoServer.
I have recently been doing some testing with GeoServer and GDAL 2.3
I have ran into one major issue - as of GDAL 2.3.0, the GDAL JNI bindings (formerly libgdaljni and libgdalconstjni) have been combined into libgdalalljni. This means that imageio-ext-gdalframework will be incompatible with GDAL 2.3.0 and newer, since it does a hardcoded System.loadLibrary call for the old binding.
The quick workaround for this is to add a symlink named libgdaljni pointing at libgdalalljni.
Longer term, I have opened a couple of PRs that check for the new name in a backwards-compatible fashion:
Apart from that issue, GDAL 2.3.2 seems to work just fine in GeoServer - I was able to add and view stores in several different GDAL formats without issue.
Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
Hi Torben,
I’m wondering, do you have GDAL 2.3 binaries that could replace the ones we are currently distributing, and can you share them with the community?
If so, why don’t we switch GeoServer 2.15.x to use that, it would give us six good months of testing to see if there are significant issues.
I don’t yet, we are currently working with test builds from the GDAL source (and working off of an RC). I may have something distributable in the near future - let me get back to you about that.
What stopped us so far has been the testing needed to verify things are working. Doing it last minute before a release is not practical,
but having months ahead looks more manageable. So the sooner we have binaries to try that we can put on demo servers, the better, I guess.
One note: we are currently only working with linux binaries, and are unlikely to be making any Windows binaries.
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.