[Qgis-user] QGIS 3 : Python scripts

Jean-Baptiste Desbas jb.desbas at gmail.com
Mon Mar 26 05:09:11 PDT 2018


Hi,

If still interested in templates for alg, i found this :
https://gis.stackexchange.com/questions/272927/processing-framework-input-variables-from-qgis-2-not-working-in-qgis-3/276263#276263
And this :
https://anitagraser.com/2018/03/25/processing-script-template-for-qgis3/amp/


2018-03-06 11:38 GMT+01:00 Stefan Giese <Stefan.Giese at wheregroup.com>:

> 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 Bonnhttps://fossgis-konferenz.de/2018/
> ***********************************
> WhereGroup GmbH & Co. KG
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
>
> Fon: +49 (0)761 / 519 102 - 61 <+49%20761%2051910261>
> Fax: +49 (0)761 / 519 102 - 11 <+49%20761%2051910211>
> stefan.giese at wheregroup.comwww.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>:
>
>> 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>:
>>
>>> "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>:
>>>
>>>> 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
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>
>>>
>>>
>>> --
>>> Alexander Bruy
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: 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/20180326/4396ae97/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/20180326/4396ae97/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/20180326/4396ae97/attachment-0001.png>


More information about the Qgis-user mailing list