[QGIS-Developer] Export PDFs from the processing modeler

Nyall Dawson nyall.dawson at gmail.com
Thu Sep 20 18:49:01 PDT 2018


On Thu, 13 Sep 2018 at 09:30, Olivier Dalang <olivier.dalang at gmail.com> wrote:

> So far, I sticked to my first intuition which was to use a project as the starting point (rather than just a layout). The algorithm just allows to "override" the datasource from layers in that project. The rationale is that the project may contain relatively complex logic (atlas configuration, table joins, etc...), and that this way, everything would (hopefully) continue to work if it worked in the initial project.
>
> If taking a layout as a starting point, we'd almost have to recreate projects in the processing model, which would quickly be limiting or over-complex. With "lock layers" and "lock styles", we could at least use some predefined layers, but then it's much less practical to work with and still isn't as flexible as using a whole project.
>
>
> There's a few bugs in QGIS master that are a bit annoying (esp. https://issues.qgis.org/issues/19836 that prevents the sample model to work in batch mode), I'll try to see if I can figure out what's happening but C++ isn't my cup of tea...
>
> But besides this, no major technical limitation I think ! I've written down a few ideas for next steps in the readme (short&longer term).
>
> Let me know what you think !

Great work!

I've uploaded my layout widgets & utility algorithms. Might be worth
pulling these in too:
https://github.com/nyalldawson/pyqgis/blob/master/processing/layout_algorithms.py

Nyall


More information about the QGIS-Developer mailing list