Questions tagged [qgis-modeler]

An application of QGIS used to develop models utilizing a large variety of powerful Geoprocessing tools via a GUI.

Filter by
Sorted by
Tagged with
8
votes
4answers
426 views

Arranging GUI elements in QGIS 3 processing model user interface

Using QGIS 3 graphical modeler I created a model with a variety of input parameters (> 10). When starting the model, a nice user interface is generated. But the arrangement of the GUI elements is ...
0
votes
1answer
38 views

QGIS refactor field in processing modeler

I am trying to create a model to standardize data received from various clients into one single output format. To do so, I use the refactor field and field mapper, following the answer given here: How ...
4
votes
1answer
85 views

Processing tool to invert/switch selection in Graphical Modeler

I want to switch/invert a selection in Graphical Modeler so I'm looking for a processing tool to do so. In ArcGIS, this can be done with "Select Layer By Attribute" with Selection type: ...
1
vote
0answers
16 views

QGIS Model Designer; save layer in geopackage with date

I have used the model designer to make a model in QGIS. The model takes data different shapefiles, and runs a few algorithms. The result is different layers loaded in an new project. I manually store ...
1
vote
0answers
18 views

QGIS field calculator in the graphic modeler: Is it possible to refer to a field name that contains a substring?

I am building a model in which I join attributes from a .csv file (let's name it "upload" here) to a layer. I want to work with some of the new attributes in the next step of the model and I ...
2
votes
1answer
26 views

Call an input layer in field calculator for another layer

My model start by asking two input layer LAYER1 and LAYER2. Then, in field calculator for LAYER1, i want to join an attribute value from LAYER2. Using this code : attribute( get_feature( 'LAYER2','ID1'...
3
votes
1answer
82 views

Using the conditional branch algorithm in QGIS modeler gives unexpected results

I'm trying to implement the new conditional branch algorithm in a model with the following statements: if( @Udtræk_til_grøfter_OUTPUT > 0, true, false) if( @Udtræk_til_grøfter_OUTPUT <= 0, ...
4
votes
1answer
125 views

for iterator in QGIS3 Graphical Modeler

I´d like to integrate the for loop in my model in ModelBuilder in QGIS3 (similar as the for interator in ArcGIS ModelBuilder). data: testdata: point layer with different classes (assignment to ...
1
vote
1answer
33 views

QGIS Plugin: Creating a Plugin based on two scripts: where one script is dependent on another

I have recently exported a model to a python script that is actually dependant on another Python Script I have converted from a previous model. Because the First Script/model F1 gets repeated three ...
5
votes
1answer
77 views

How to select one field and delete all others QGIS graphical modeler

In the Graphical Modeler in QGIS I have the algorithm to Drop Fields, which you select the fields you want to drop: However, the vector layer I'm using has many fields but I just need one in the end. ...
7
votes
2answers
133 views

Dropping all fields exept one with QGIS 3 Model Builder

Is there a way to remove all but one of the fields in the attribute table (with a pre-known name) using QGIS 3 Model Builder? The problem is, I don't want to include all of these names in the model ...
2
votes
2answers
58 views

Creating QGIS Plugin starting from Graphical Modeler

I'd like to know how can I create a QGIS Plugin starting from a model built with the graphical modeler. Is it possible or i have to use necessarily scripts python made in the console of QGIS? Any ...
1
vote
0answers
48 views

Calculate multiple fields at once

Image a polygon layer with fields calculated from values found in a point layer. No witchcraft, there, as that's what we have all been doing for years. The polygon layer needs to be populated with ...
0
votes
1answer
34 views

Algorithm “Merge Layers” from SAGA not showing in QGIS Modeler

I'm trying to merge multiple vector-layers via the modeler in QGIS 3.14.1 as a part of a bigger model. As a matter of fact the QGIS-native "merge layers" algorithm doesn't work here, for the ...
1
vote
1answer
33 views

Set default input Vector Features in model

I have a Graphical Model with ~10 input Vector Features. Every time i execute it I have to set all 10 features manually. Isnt there a way to set default input values so I dont have to point at the ...
4
votes
1answer
407 views

File naming iteration QGIS modeler

I am attempting my first use of the modeler from the Graphical Modeler from the Processing menu in QGIS. I made a simple model for cliping species data by sanctuary.It has two Vector Inputs, uses some ...
3
votes
1answer
70 views

How to Embed a table into QGIS Graphic Modeler?

I am automating a process in QGIS. So far, I have built the following model. The HSG Lookup.csv is a user input right now. But I want it to be a predefined table(or csv file) embedded into the model ...
1
vote
0answers
23 views

QGIS 3 Graphical Modeler pre calculated values using Advanced Field Calculator

I have a new model that tries to create a new column using the Advanced Field Calculator and pre-calculated values. I just seem not able to get the syntax right on how to populate the attribute using ...
1
vote
2answers
28 views

QGIS - Can't select Inputs for Select by Location algorithm in Graphical Modeler?

All the other questions I've seen so far are a step ahead of me. I've defined an Input for a vector layer, and am trying to use the Select by Location Algorithm. I typed the name of my Input, but the ...
0
votes
0answers
15 views

Treating a Vector layer as a file parameter or making sure a vector layer only handles .json files

This question is related to this one: https://gis.stackexchange.com/review/suggested-edits/192945. In that Question I had trouble. Exporting my model as a Python script because I was using a ...
2
votes
2answers
377 views

Running the Graphic Modeler from the Python Console in QGIS [closed]

How can I run the graphic modeler from the python console in QGIS?
1
vote
0answers
41 views

Creating Custom Expresion for Field Calculations and the Model Builder

I am currently exploring Model Builder and I have some trouble setting a custom expression up for certain vector fields of a layer feature collection (points, line and polygons). This is the kind of ...
1
vote
0answers
21 views

Exported QGIS model does not work: Invalid input error

This question is linked to this one: QGIS Graphic modeler: Loading in all the layers I have a very complex model which converts a specific file (pmkl.json) which is a feature collection of points ...
0
votes
0answers
15 views

How to load GPX tracks in graphical modeler as input

Is there a way to load tracks from GPX into graphical modeler as vector input? When you open GPX in QGIS, it comes up with dialog listing layers: route_points routes track_points tracks waypoints It ...
2
votes
1answer
59 views

Batch processing GPX tracks

I have a manual QGIS system that starts when I load a GPX file into QGIS and perform a number of actions on it. It all works perfectly. I want to automate this process using the QGIS Graphical Modeler,...
4
votes
1answer
39 views

Buffering selected objects in the map in Graphical modeler

Process: Buffer selected point to 3000m then unselect that point and grab all records from a particular layer that intersect with the buffer. I can't find a way of specifying that the buffer must use ...
0
votes
1answer
53 views

Advanced Python Field Calculation gives error: TypeError: 'in <string>' requires string as left operand, not QVariant

I am using the following function in QGIS 3.10 Advanced Python Field Calculator as part of a Processing Modelling file. The model processed 4 layers and generates a single layer for use in another ...
3
votes
2answers
166 views

Delete an object or polygon that has been selected in a layer using the Graphical Modeler?

I wish to create a model in QGIS 3, that can delete a specific polygon that has been selected in a layer. Is it possible to do this? I go through a few different locations in a day and I don't wish to ...
0
votes
0answers
37 views

QGIS - graphical modeler aka. processing toolbox - update only selected fields

I have two layers: point layer representing some house addresses. polygon layer representing some kind of territory. What I'm trying to do is, create a model where I select the points inside the ...
4
votes
1answer
54 views

Comments in QGIS Graphical Modeller [duplicate]

Is there a neat and tidy way of adding comments, or text boxes, into the display of the Graphical Modeller of QGIS 3.14 for a model that one is building. This is straightforward in ArcGIS ModelBuilder ...
3
votes
1answer
84 views

Writing comments in QGIS Graphical Modeler

I want to explain my model step by step so anyone can easely understand what's going on. So, is it possible to write comments in the QGIS's Graphical Modeler?
3
votes
1answer
53 views

Use input parameter as variable in expression

In my project I have a vector layer and a raster layer. I want to remove all features of the vector layer where the feature's location has a height value of 0 in the same location in the raster layer. ...
3
votes
1answer
128 views

Adding a Geopackage layer as a hardwired input to an algorithm in the QGIS graphical modeler

Update- August 2020- you can now load vector geopackage layers directly in 3.14 https://github.com/qgis/QGIS/issues/30827 I have a geopackage layer that I want to always be used in an algorithm in ...
0
votes
0answers
31 views

QGIS Graphic modeler: Printing a number in a QGIS Print Layout on a specific label Item

So far I am trying to create script to add some "supplement" numbers to a lot of lay-outs. This because we want the editing of the lay-outs to be a less as possible. The Layout name is ...
0
votes
0answers
27 views

Averaging three raster images (of same month obtained from three data centres) for approx 150 months using QGIS

How do I average the three raster images obtained from three data centre for each month of 15 years approx? I tried to do it using Graphical Model in QGIS but it shows an error. Error Log in QGIS ...
0
votes
0answers
26 views

Using .qpt file in graphical modeler

I am trying to create a project and to make maps in that I have an specific template which is stored as a .qpt file. Now I want the data frames in the template to be changed using the Python code so ...
2
votes
0answers
29 views

Dealing with multiple input layer in QGIS modeler

I would like to add atrribute with layer name using field calculator for many input layers and later merge updated layers into one. I am able to use multiple input layer in modeler and later merge ...
1
vote
0answers
29 views

Extract by expression in Modeler

I have tried several times to run “extract by expression” algorithm in Model Builder with the following expression, but system always crashes, maybe there is something wrong: CASE WHEN @...
7
votes
1answer
103 views

QGIS graphical modeller joining input layers to processing algorithms

I am trying to learn how to use the graphical modeler application in QGIS 3.14 I have encountered a problem early on. If I pull vector layers into the modeler canvas and then add in an algorithm to ...
1
vote
1answer
33 views

Selecting features by location in QGIS (boundaries_touches)

Is there a tool or function in QGIS which can select features of one layer which are located on the boundaries of another layers features? In ArcGIS it's the "select features by location" ...
1
vote
1answer
22 views

QGIS modelbuilder, having a choicebox/value map of strings as string input

I was wondering how you can get a choicebox/value map in the string input? Right now we have to type in value in but we would like to have it that has a choicebox/listbox to save time with typing.
1
vote
1answer
181 views

Qgis SAGA Upslope Area for several points automation

In the Upslope Area tool from SAGA it used to be possible to import the point file with multiple points and it would create several catchment/basins areas for those points. Now, it is only possible to ...
0
votes
0answers
15 views

Load a layer from a PostgreSQL using Graphical Modeler in QGIS after filtering with multiple input variables

I have a table in a PostgreSQL database. I want to pull in features from it as a layer that match the Date range and Lat/Long specified as an input while running a QGIS Graphical Modeler. Some other ...
2
votes
1answer
39 views

Numpy Logical Syntax in QGIS GDAL Raster Calculator

I need to set a logical expression in the box of the GDAL's Raster Calculator using Numpy. My knowledge in Numpy and python is extremely limited (I'm not a Developer just a simple Geographer!). I've ...
2
votes
0answers
34 views

Iterate Graphical Model over a set of numbers in a non geometric layer

I have built a Graphical Model which, among other actions, extracts attributes of a vector layer by using the 'Extract by Attribute' algorithm. The extracted features are those whose Time in the Date&...
2
votes
2answers
98 views

Dividing shapefile into multiple shapefiles using an attribute value in QGIS Graphical Modeler

I have a shapefile with a column that have project references, I want to create a different shapefile for every project reference there is. Note that the project references are not unique in the ...
0
votes
0answers
21 views

QGIS 3 Modeler: Generate New Vector File

I want my graphical model to create a new empty line layer (preferably as a temporary scratch layer) and then add a bunch of new columns to this layer (this part is easy using the field calculator). I ...
0
votes
1answer
165 views

QGIS - Script for Process Modeler, Output = Extent

just played arround a little bit with the process modeler and scripts to automate a simple workflow. I have created a simple script that should get the extent of the current layer, and then increase ...
8
votes
1answer
392 views

Extracting features with equal field value using graphical modeler of QGIS

Is it possible to automate the following procedure with graphical modeler in qgis 3.4 or is it easier to perform such action with a python script using PyQGIS? Identify a feature (a line) in a vector ...
1
vote
0answers
26 views

Running Python script as input in QGIS 3.x Graphical Modeler

I am building a model via QGIS 3.12 Graphical Modeler. There, I want to input Python code just like expressions, vector field,vector layer and use it as a parameter (or may be algorithm if it is ...

1
2 3 4 5
10