[Qgis-developer] how to distribute Processing modules?
Ricardo Filipe Soares Garcia da
ricardo.garcia.silva at gmail.com
Sat Sep 14 18:40:57 PDT 2013
Sorry for the noise, but this message's title should say 'how to distribute
Processing models' instead of modules...
On Sun, Sep 15, 2013 at 2:39 AM, Ricardo Filipe Soares Garcia da <
ricardo.garcia.silva at gmail.com> wrote:
> Hi list
> I am building a plugin for Processing (former Sextante). Besides the
> GeoAlgorithms, I'd like to include some ready-made models along with the
> Is this feasible? How to do it?
> I am currently using a 'models' subdir under my plugin's code with the
> It seems I should be able to register the models with processing's own
> ModelerAlgorithmProvider, but I am missing something
> # python code
> alg = ModelerAlgorithm()
> modeler_provider = Processing.modeler
> When running the above from the Python console I get no errors. But the
> Processing Toolbox does not show my models.
> What am I missing?
> Is there another way to do this? Is including models in plugins a nice way
> of distributing them? In this case it seems like a good thing, beacuse I
> want to provide some examples on how the plugin can be used.
> Best regards
> ___________________________ ___ __
> Ricardo Garcia Silva
___________________________ ___ __
Ricardo Garcia Silva
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer