3

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.

Taras
35.8k5 gold badges77 silver badges152 bronze badges
asked Sep 14, 2015 at 12:36
2
  • @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. Commented Sep 14, 2015 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. Commented Sep 14, 2015 at 18:49

1 Answer 1

4

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

answered Sep 18, 2015 at 5:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.