ESM 263 Geographic Information Systems

QGIS Graphical Modeler FAQs

CONTENTS

Saving models

QGIS can save your Graphical Modeler models in either of 2 locations:

For the purposes of ESM 263, you should use Save model in project:

If you ever need to save a model as a stand-alone file, you can use Save model as…, which saves the model in a file with a .model3 extension. This shouldn’t be necessary, since saving it in the .qgz file is equally effective, and less buggy.

Opening/editing a saved model

Once saved, a model can be invoked just like any other tool, either independently, or from another model.

In the graphical modeler, you’ll find the models you saved in the Algorithms panel. This allows you to add the saved model to another model as a submodel.

To edit a saved model, find it in the Processing Toolbox panel in the main QGIS window (i.e., not the graphical modeler). It should be all the way at the bottom. Right click the model and select Edit. (Don’t double-click it; that will run it.)

Terminating runaway models

Occasionally a model will stop responding, and cause QGIS to freeze as well. Usually this is due to an incorrect parameter setting that causes the model to run at too fine a resolution, or over too large an area, or (etc. etc.) Of course, sometimes it’s just a bug. If you’ve been careful about frequently saving your model and your project, you should be able to force-quit QGIS without causing yourself too much pain: