Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GDAL dependency to v3.0.0 #1265

Merged
merged 2 commits into from
May 14, 2022
Merged

Conversation

dstenger
Copy link
Contributor

This pull requests updates GDAL dependency to v3.0.0.

Solves #1103.

@dstenger dstenger added the enhancement enhancement or improvement label Jan 11, 2022
@tfr42 tfr42 added the dependencies Pull requests that update a dependency (library) label Jan 19, 2022
@tfr42 tfr42 added this to the 3.5 milestone May 12, 2022
@dstenger
Copy link
Contributor Author

dstenger commented May 13, 2022

Test with Debian 11

Docker Image is used for test: docker run -it debian:11 bash

It was not possible to install the GDAL JNI binding as package libgdal-java does not exist anymore (see https://packages.debian.org/search?keywords=libgdal-java).

It seems that the package was removed while working on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947960.

Test with Docker Container confirms that GDAL JNI interface does not exist after installing all available GDAL packages:

root@fdc706307090:~# apt update
root@fdc706307090:~# apt install gdal*
root@fdc706307090:~# apt install libgdal-*
root@fdc706307090:~# find / -iname *gdal*jni*
(no results are returned)

@dstenger
Copy link
Contributor Author

dstenger commented May 13, 2022

Test with Ubuntu 22.04 LTS

Docker Image is used for test: docker run -it ubuntu:22.04 bash

Also, the package libgdal-java does not exist anymore:

root@420589942d9d:/# apt update
root@420589942d9d:/# apt search gdal
Sorting... Done
Full Text Search... Done
gdal-bin/jammy,now 3.4.1+dfsg-1build4 amd64 [installed]
  Geospatial Data Abstraction Library - Utility programs

gdal-data/jammy,now 3.4.1+dfsg-1build4 all [installed]
  Geospatial Data Abstraction Library - Data files

libalgorithms1/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing - libalgorithms

libbase1/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing - libbase

libfileclasses1/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing - libfileClasses

libgdal-dev/jammy,now 3.4.1+dfsg-1build4 amd64 [installed]
  Geospatial Data Abstraction Library - Development files

libgdal-grass/jammy,now 3.4.1-3 amd64 [installed]
  GRASS extension for the GDAL library

libgdal-perl/jammy,now 3.4.1+dfsg-1build4 amd64 [installed]
  Perl bindings to the Geospatial Data Abstraction Library

libgdal-perl-doc/jammy,now 3.4.1+dfsg-1build4 all [installed]
  Documentation for the GDAL Perl bindings

libgdal30/jammy,now 3.4.1+dfsg-1build4 amd64 [installed]
  Geospatial Data Abstraction Library

libimageclasses1/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing - libimageClasses

pktools/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing

pktools-dev/jammy 2.6.7.6+ds-3build3 amd64
  GDAL add-on tools to perform useful raster processing - development files

python3-gdal/jammy,now 3.4.1+dfsg-1build4 amd64 [installed,automatic]
  Python 3 bindings to the Geospatial Data Abstraction Library

r-cran-rgdal/jammy 1.5-28+dfsg-1 amd64
  GNU R bindings for the geospatial data abstraction library

Test with Docker Container confirms that GDAL JNI interface does not exist after installing all available GDAL packages:

root@420589942d9d:/# apt install gdal*
root@420589942d9d:/# apt install libgdal*
root@420589942d9d:/# find / -iname *gdal*jni*
(no results are returned)

@dstenger
Copy link
Contributor Author

Test with Ubuntu 20.04 LTS

Docker Image is used for test: docker run -it ubuntu:20.04 bash

Package libgdal-java can be installed and JNI interface exists afterwards:

root@5ec1175e75b2:/# apt update
root@5ec1175e75b2:/# apt install libgdal-java
root@5ec1175e75b2:/# find / -iname *gdal*jni*
/usr/lib/jni/libgdalalljni.so.26
/usr/lib/jni/libgdalalljni.so

@tfr42 tfr42 merged commit bba8f13 into deegree:main May 14, 2022
@lgoltz lgoltz deleted the upgradeGdal-1103 branch December 8, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency (library) enhancement enhancement or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants