[Qgis-user] QGIS 3 : Python scripts

Stefan Giese Stefan.Giese at wheregroup.com
Tue Mar 6 02:38:03 PST 2018


Hi,

I have the same issue. I don't know where to start with new processing 
scripts. Is there any documentation available?

Best

Stefan

Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
***********************************
Treffen Sie uns auf der
FOSSGIS Konferenz 2018
21.-24. März 2018 in Bonn
https://fossgis-konferenz.de/2018/
***********************************
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 06.03.2018 um 08:41 schrieb Jean-Baptiste Desbas:
> Thank you for your explanation,
> So, do you know where i can find sample or doc about making python 
> scripts in QGIS 3 ?
>
> 2018-03-05 9:22 GMT+01:00 Etienne Trimaille 
> <etienne.trimaille at gmail.com <mailto:etienne.trimaille at gmail.com>>:
>
>     We should say somewhere that it's not a "script" with some simple
>     commands anymore (such as print()), but it's now following OOP
>     (Object Oriented Programming) and the user must define his class
>     and methods following the QGIS algorithm.
>
>     Can we provide a template in the editor? Is-there a working script
>     somewhere?
>
>     2018-03-05 9:13 GMT+01:00 Alexander Bruy <alexander.bruy at gmail.com
>     <mailto:alexander.bruy at gmail.com>>:
>
>         "Create new script" was moved to the toolbar inside Processing
>         toolbox.
>
>         As Processing API was changed, scripts should be adopted to
>         new API.
>
>         2018-03-05 10:10 GMT+02:00 Jean-Baptiste Desbas
>         <jb.desbas at gmail.com <mailto:jb.desbas at gmail.com>>:
>
>             Hello,
>
>             Since QGIS 3, I can't run python scripts :
>             - In the toolbox, there is no "create new scripte" under
>             the script block in the toolbox
>             - In the script editeur, when i try to run a script i have
>             an alert : "Seems ther is no valid script in the file"
>
>             The issue occurs in QGIS 3.0 and 3.1.0-9.
>             I am on Windows 10 - 64bits.
>
>             Anyone with the same issue ?
>
>             Regards,
>
>
>
>
>
>
>             _______________________________________________
>             Qgis-user mailing list
>             Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>             List info:
>             https://lists.osgeo.org/mailman/listinfo/qgis-user
>             <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>             Unsubscribe:
>             https://lists.osgeo.org/mailman/listinfo/qgis-user
>             <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>
>
>
>
>         -- 
>         Alexander Bruy
>
>         _______________________________________________
>         Qgis-user mailing list
>         Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>         List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>         <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>         Unsubscribe:
>         https://lists.osgeo.org/mailman/listinfo/qgis-user
>         <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>
>
>
>
>
> _______________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180306/f03295cd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5371 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180306/f03295cd/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12988 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180306/f03295cd/attachment-0001.png>


More information about the Qgis-user mailing list