<div dir="ltr"><div dir="auto">On Jan 23, 2018 1:19 AM, "Nyall Dawson" <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 23 January 2018 at 04:12, Anita Graser <<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>> wrote:<br>
> On Sat, Jan 20, 2018 at 12:40 PM, Anita Graser <<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>> wrote:<br>
>><br>
>> Do we have any working example scripts for Processing in QGIS 3?<br>
>> I tried using "Get scripts from on-line collection" but they all seem<br>
>> broken:<br>
>> <a href="https://issues.qgis.org/issues/17897" rel="noreferrer" target="_blank">https://issues.qgis.org/issues<wbr>/17897</a><br>
><br>
><br>
> Is there any documentation how Processing scripts have changed?<br>
<br>
See <a href="https://github.com/qgis/QGIS/pull/4841" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/p<wbr>ull/4841</a> - needs completion and<br>
merging though.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">​Thank you for the pointer Nyall. That's certainly a start but as you mention correctly, it still seems incomplete. For example, it currently doesn't help me figure out how to fix </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="background-color:rgb(255,255,221);color:rgb(48,48,48);font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11.7px">This script has a syntax errors. Problem with line: ##output=output vector</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">There is a line in the PR about vector outputs but ​it's a bit cryptic: </div><div class="gmail_default"><br>- OutputVector -><br>- processAlgorithm has a new signature....<br>Use parameterAsSink instead of getOutputFromName</div></div><div><br></div><div><div class="gmail_default" style="font-size:small">​Regards,</div><div class="gmail_default" style="font-size:small">Anita</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">​</div><br><div class="gmail_default" style="font-size:small">​</div><br></div><div><br></div><div> </div></div></div>
</div>