QGIS-ResourceSharing icon indicating copy to clipboard operation
QGIS-ResourceSharing copied to clipboard

Make models available via processing toolbox/algorithms

Open Marwe opened this issue 11 months ago • 0 comments

Feature description

Processing scripts and models do not appear in Toolbox after a resource is added.

Resources are copied to $profile/resource_sharing/collections/ but the models folder in processing settings points to $profile/processing/models/. I would like to create smaller generic models that depend on each other, as described in documentation:

27.5. The model designer — QGIS Documentation documentation Models loaded from the models folder appear not only in the toolbox, but also in the algorithms tree in the Algorithms tab of the modeler window. That means that you can incorporate a model as a part of a bigger model, just like other algorithms.

I would be nice to have a way to integrate models from resources into the toolbox. For now I create softlinks manually (Linux here, so no big deal), alternatively models can be added via processing toolbox -> models icon/menu -> add model to toolbox and will be copied over.

I don't know if this is a restriction of QGIS core (only one path for models, could be multiple) or if the resource plugin could be a 'provider' and if that would help anyways.

Additional context

No response

Marwe avatar Jan 22 '25 19:01 Marwe