<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 29 Nov 2016 1:22 AM, "Julie Pierson" <<a href="mailto:julie.pierson@cnrs.fr">julie.pierson@cnrs.fr</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I would like to answer this issue for my plugin : <a href="https://github.com/UMR-PASSAGES/DissolveWithStats/issues/2" rel="noreferrer" target="_blank">https://github.com/UMR-PASSAGE<wbr>S/DissolveWithStats/issues/2</a>, and turn it into a processing subplugin. I read this : <a href="https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/processing.html" rel="noreferrer" target="_blank">https://docs.qgis.org/testing/<wbr>en/docs/pyqgis_developer_cookb<wbr>ook/processing.html</a>, but I'm still not sure how to go on.<br>
<br>
I'm guessing that my script will be accessible from the Scripts/Tools part of the processing toolbox. But I don't understand :<br>
- where these scripts are hosted, and how do I submit it<br>
- where do I start ? Should I just makeĀ a new version of my plugin without the GUI ?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Have a look atĀ <a href="https://github.com/jdugge/BufferByPercentage/commit/c52d161b40abf6bbd45e7ec421eb311623592e90">https://github.com/jdugge/BufferByPercentage/commit/c52d161b40abf6bbd45e7ec421eb311623592e90</a></div><div dir="auto"><br></div><div dir="auto">That's a similar commit which added a processing module to an existing plugin.</div><div dir="auto"><br></div><div dir="auto">The hardest(?) part is refactoring your plugin to split all the logic out from any existing gui. Buts that's a good thing to do in any case.</div><div dir="auto"><br></div><div dir="auto">Nyall</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Sorry if the answers are obvious !<br>
<br>
Thanks,<br>
<br>
Julie.<br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-developer</a></blockquote></div><br></div></div></div>