Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-22 Thread Richard Duivenvoorde
On 21/02/2019 15.22, Tom Chadwin wrote: > Nyall Dawson wrote >>> I agree. Even if the PyQGIS-Documentation is now much better than in the >>> past for me often some short examples like the ones from Thomas Gratier >>> are really helpful to know how to proceed: >>> https://webgeodatavore.github.io/p

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-21 Thread Tom Chadwin
Nyall Dawson wrote >> I agree. Even if the PyQGIS-Documentation is now much better than in the >> past for me often some short examples like the ones from Thomas Gratier >> are really helpful to know how to proceed: >> https://webgeodatavore.github.io/pyqgis-samples/ > > I'd love to see discussion

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-20 Thread Nyall Dawson
On Thu, 21 Feb 2019 at 00:51, Thomas Baumann wrote: > > Hi Nyall, > > thanks for your feedback. > You are right that some of my examples were not ideal to explain what I > meant, so I try to explain it a bit better this time ;-) Thanks - it's much appreciated! > create a vectorlayer > > Somethi

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-20 Thread Thomas Baumann
Hi Nyall, thanks for your feedback. You are right that some of my examples were not ideal to explain what I meant, so I try to explain it a bit better this time ;-) Some of the following pyqgis-examples may be outdated as things can be done easier in qgis3 now but they should just be an example f

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-20 Thread Nyall Dawson
On Wed, 20 Feb 2019 at 18:38, Thomas Baumann wrote: > > Hi qgis-devs, > > I recently updated 15 QGIS-plugins to be QGIS3-ready. Most of them were self > written (in house) plugins but four of them were also plugins from the > official repository which were written by someone else. > > I noticed

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-20 Thread Matthias Kuhn
Hi Thomas, Recently more and more is added to QGIS in the `qgis.utils` module, for example the latest addition is the `@alg` decorator for processing algorithms [1]. I really like these efforts and more additions are very welcome! From a workflow perspective, it's good to come up with a QEP

[QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-20 Thread Thomas Baumann
Hi qgis-devs, I recently updated 15 QGIS-plugins to be QGIS3-ready. Most of them were self written (in house) plugins but four of them were also plugins from the official repository which were written by someone else. I noticed that there are severals tasks that have many plugins in common like: