[QGIS-Developer] QGIS 2.18 compiled against GDAL 3?

Even Rouault even.rouault at spatialys.com
Fri Oct 9 08:51:07 PDT 2020


Andreas,

> Can QGIS 2.18 be built against GDAL 3.x?

Hum, I guess it would build, although definitely not a vetted combination. I wouldn't expect 
datum transformations to work very well, since QGIS would be dependent on towgs84 
coming in PROJ.4 strings, and GDAL 3 / PROJ >= 6 will not populate that often now.

You might have to add
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
in CMAKE_CXX_FLAGS to get QGIS to build against PROJ >= 6

You should check also which PROJ version your spatialite lib is linking to.

You might instead to choose the 'internal PROJ' trick (https://trac.osgeo.org/gdal/wiki/
BuildingOnUnixGDAL25dev) to have only GDAL built against PROJ >= 6 and have the rest of 
the stack (spatialite, QGIS) still using PROJ 5

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201009/4a3231be/attachment.html>


More information about the QGIS-Developer mailing list