[Live-demo] PostGIS 2.2 and gdal2, what is ahead ?

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue May 31 14:57:16 PDT 2016


On 05/31/2016 11:00 PM, Brian M Hamlin wrote:
> postgis_2.2.1+dfsg-3~xenial0.dsc
> 
>   inside, the Build-Depends:
> 
> libgdal-dev (>= 1.11.2+dfsg-3~) | libgdal1-dev (>= 1.9.0~)
> 
>   Q. How does that fit with gdal2 ?   

Those are just the minimum version required to build the package. These
version constraints were mostly added to ensure postgis was built with
at least that version as part of past GDAL transitions. These are
requirements for building the Debian packages, not the minimum
requirements for PostGIS (which requires >= 1.8.0 and recommends 1.9+).

If you check the actual dependencies of the binary packages built from
the postgis source package, you'll see that it requires the library
packages for GDAL 2.x:

 $ apt-cache show postgis | grep ^Depends
 Depends: libc6 (>= 2.14), libgdal20 (>= 2.0.1), libgeos-c1v5 (>=
3.4.2), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.14.0),
liblwgeom-2.2-5 (>= 2.0.0), libpq5

 $ apt-cache show postgresql-9.5-postgis-2.2 | grep ^Depends
 Depends: libc6 (>= 2.14), libgdal20 (>= 2.0.1), libgeos-c1v5 (>=
3.5.0), libjson-c2 (>= 0.11), liblwgeom-2.2-5 (>= 2.2.0), libpcre3,
libproj9 (>= 4.9.0), libsfcgal1 (>= 1.2.0), libxml2 (>= 2.7.4),
postgresql-9.5, postgresql-9.5-postgis-scripts

As mentioned before, kalxas built the GDAL 2.1.0 packages for OSGeo-Live
and subsequently built the other packages in the nightly repository with
it. So all packages in the nightly PPA are using GDAL 2.x already. Fiona
includes a bunch of patches from the upcoming 1.7 release to
successfully build with GDAL 2.x, the other packages already have
support for it.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Live-demo mailing list