2

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 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 Sep 14 '15 at 13:55
  • 1
    I'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. Sep 14 '15 at 18:49
3

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.