3

I am trying to add a new processing algorithm provider into QGIS 2.18. In the picture below there are GDAL/OGR, GRASS GIS, etc. I want to add a provider called My Provider.

enter image description here

So I read the doc here: https://docs.qgis.org/2.18/en/docs/pyqgis_developer_cookbook/processing.html and saw:

enter image description here

So I followed:

enter image description here enter image description here enter image description here

Then I reopened QGIS and installed the plugin, but no new provider appears. I read this thread: How to see the 'example provider' in processing toolbox of QGIS?. But this looks like this is for version 2.8, my exampleprovider is located in QGIS_2_18\apps\qgis\python\plugins\processing\algs\exampleprovider and I dont see which import is pointing to the wrong file.

What should I modify to make my provider appear in the processing toolbox?

  • 1
    To clarify, are you wanting to add a new provider from your plugin? – Joseph Oct 17 '17 at 15:19
3

For create a custom processing provider into QGIS 2.18,all your steps is correct. When create a provider,this not show by default,for example.

I created this :

enter image description here

save it :

enter image description here

but the new empty algorithm not show :

enter image description here

you need activate your plugin :

enter image description here

and click in "enable additional provider" in the bottom.

enter image description here

In the new dialog you can show your new provider:

enter image description here

And click "activate" checkbox for show it.

enter image description here

And enjoy!

tested in QGIS 2.18

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.