I made a new plugin for QGIS and I want to include it to the Processing toolbar. I can't find a good hint on how to do it cleanly (applying the answer of this question on my algorithms seems dirty). So, how to do it?
I built the plugin using Plugin Builder, and I already published it (FYI, it's this one). However, I would like to enable processing-specific options like using batch.
-
@Underdark asked something similar a few years ago, back when Processing was called Sextante. Perhaps the workflow is still valid? Expanding Sextante’s ftools toolbox.Joseph– Joseph2015年09月14日 13:55:00 +00:00Commented Sep 14, 2015 at 13:55
-
1I've been pointed to LecoS as an example of a plugin available in the processing. Its processing/sextante wrapper is here. I would prefer someone more proficient to explain it here, but I might as well try to reverse engineer it and answer myself tomorrow.Pavel V.– Pavel V.2015年09月14日 18:49:16 +00:00Commented Sep 14, 2015 at 18:49
1 Answer 1
You can use this example instead of LecoS. It will be easier for you to understand how to write down a new provider for Processing
https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider