[Qgis-user] Processing: QGIS Crash with new processing script format, QGIS 3.6.1-SOLVED
Stefan Giese (WhereGroup)
stefan.giese at wheregroup.com
Fri Apr 12 07:48:21 PDT 2019
Hi Harvard,
that's on the point - it works perfect now. Just in time, that I can use
it next monday in my PYQGIS workshop. I think, that is tons easier to
understand then the whole bunch of functions which you had to define
before. Thank's again for the link and the work done on the manual. I
have attached the changed script with the two processing algorithms
best regards
stefan
---
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
-----------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-Schulungen
bei der www.foss-academy.com
-----------------------------------
WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany
Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11
stefan.giese at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Am 2019-04-12 08:50, schrieb Havard Tveite:
> Hi Stefan,
>
> We have recently updated the user manual to reflect this new
> great feature.
> Can you test the example that is given there (also includes
> two processing algorithms)?
>
> https://docs.qgis.org/testing/en/docs/user_manual/processing/scripts.html#the-alg-decorator
>
> Håvard
>
> On 12.04.2019 08:28, Stefan Giese wrote:
>> Hi everybody,
>>
>> I've just played with the new (3.6.1) processing script format (see
>> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/134 or
>> https://anitagraser.com/2019/03/02/easy-processing-scripts-comeback-in-qgis-3-6/)
>> and tried to put 2 processing algorithmen in it (centroid and buffer),
>> but without success. The script stopped with the ":( QGIS crashed" -
>> so anything goes wrong I suppose. May be someone can help me to get
>> the right idea to connect various processing steps within the new
>> format. my script is attached, it should take a polygon layer, make
>> the centroids and then buffer the points.
>>
>> best regards
>>
>> stefan
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: processing_new_2_algorithms.py
Type: text/x-python
Size: 1576 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190412/11c9ac43/attachment.py>
More information about the Qgis-user
mailing list