Hi Devs,
I recently used the CheckValidity algorithm to check some strange shapefile:
https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/qgis/CheckValidity.py
It generates (if you let them load) three layers:
- Valid output (features)
- Invalid output
- Error output
Yes, that is the method I am looking for. Thank you, Etienne.
I am still curious why the output is different depending on the
isChildAlgorithm parameter??
Simon
Am 24.11.2021 um 12:50 schrieb Etienne Trimaille:
This might help you ?
QgsProcessingUtils::mapLayerFromString()
FYI, the image at https://hub.docker.com/r/3liz/qgis-platform is
perfectly suited for using processing with python
(we use it as base image for our wps/processing server)
Le 24/11/2021 à 18:21, Denis Rouzaud a écrit :
I didn't pay attention but replied privately to David.
After
I didn't pay attention but replied privately to David.
After discussing, it appears that qgis_process is only available under the
qgis package.
It would make sense to make it available under it own package, no?
Le mer. 24 nov. 2021 à 09:58, David Marteau a écrit :
> Hi Nyall
>
> I don't know
This might help you ?
QgsProcessingUtils::mapLayerFromString()
https://qgis.org/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17
Le mer. 24 nov. 2021 à 11:19, Simon Gröchenig <
simon.groeche...@salzburgresearch.at> a écrit :
> Hi developers,
>
> I am developing a Python
Hi developers,
I am developing a Python processing algorithm with some child
algorithms. I am struggling to find a way to access a child algorithm's
output vector layer. I want to use isChildAlgorithm=True in order to
correctly set the feedback progress.
* If I use processing.run(...) with
Hi Nyall,
I prepared a qgis image based on alpine linux a couple of months back but
never released it to public.
It's super slim and builds QGIS from source during docker build.
If there is interest, I can revive that.
Cheers
Matthias
On Wed, Nov 24, 2021 at 7:31 AM Nyall Dawson wrote:
> Hi
Hi Nyall
I don't know if this is what you are seeking for but you will find at
https://hub.docker.com/r/3liz/qgis-platform a simple
image that embed the official version (release/ltr) of Qgis library (no
desktop support).
That image do nothing except having a Qgis install. We use it as a