[QGIS-Developer] QGIS & PROJ 6 & SAGA

Nyall Dawson nyall.dawson at gmail.com
Sun Dec 1 19:18:52 PST 2019


On Mon, 2 Dec 2019 at 05:51, William Kyngesburye <woklist at kyngchaos.com> wrote:
>
> I'm slowly working on updating everything to build my QGIS 3.10 Mac package, and found a disparity between PROJ and SAGA.
>
> I want to have PROJ 6 (and GDAL 3) for QGIS (should be fully supported in QGIS 3.10.1), but found a problem with SAGA.  QGIS is still using SAGA 2.3 (LTS) for API stability.  SAGA 2.3 is stuck on PROJ.4.  It's only the latest SAGA, v7.4 that finally updated for PROJ 6 support.
>
> I must then build and include both PROJ 6 and PROJ.4 in the QGIS package.
>
> But, looking at the Processing-SAGA algorithms, I see no mention of proj, or pj, SAGA modules.  So, maybe then I don't need PROJ.4 after all?  Is there any interdependency within SAGA that some other SAGA module needs to use the proj module?
>
> There is no option to build SAGA without PROJ, but I could hack the makefiles to skip it.  Or I could build it with the old PROJ and just not include those modules in the QGIS package.

Ehh... the frustrating saga with SAGA continues...

I suggest we do a gross hack and whitelist SAGA 7.4. It'll be broken
in parts, but as I see it saga support in qgis is (and always has
been) hit-or-miss. Numerous devs have tried to fix this, even to the
extent of there being two 3rd party plugins which tried to expose
newer saga support (one by Alex Bruy, one by myself). No-one has
showed the slightest interest in these plugins or stepping up to
maintain them.

For QGIS 4 we need to revisit earlier discussions, and I'll be pushing
as hard as I possibly can for us to completely drop SAGA support in
master and shaft all this mess off to plugins to deal with.

Nyall



>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
> Second Pogril: I don't know.  Why IS life like sticking your head in a bucket filled with hyena offal?
> First Pogril: I don't know either.  Wretched, isn't it?
>
> -HitchHiker's Guide to the Galaxy
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list