Is it possible to use the @project_home variable in QGIS to set a default file path location for an output in the graphical modeler?

Ideally I would like the default to be the project home folder which contains a sub folder called Shapefiles and then the file name to be the output parameter name from the model.

@project_home/Shapefiles/[Model output parameter name]

  • 1
    I would think there are no direct file outputs in the modeler There are just outputs with a name. If you want to write the output in a file you need to define it when running the model. Maybe translating the model to a python script lets you write the output always to a file. – Gabriel De Luca Dec 11 '19 at 1:21
  • 1
    @GabrielDeLuca thank you, I thought this might be the case. It would be a nice feature so I might submit a feature request. – AWGIS Dec 17 '19 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.