4

As mentioned in the title, i want to create a new folder with current date and time as the folder name using model designer in QGIS. After that, outputs generated from all the other process in the subsequent steps will be saved inside the newly created folder as a format of GeoPackage.

However, i don't know how to specify the output path since the folder name would be different every time i run the "Create Directory" algorithm.

Attached below is the model designer that I've written so far.

enter image description here

Create Directory

enter image description here

Extract by expression

enter image description here

What should i specify the output path in Matching features in "Extract by expression" so that the output will be saved immediately inside the folder created from the previous step (Create Directory)?

1 Answer 1

2

Use Calculate Expression to define the path where can be called as a variable when saving output.

enter image description here

enter image description here

enter image description here enter image description here

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.