Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-modeler]

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

0
votes
0answers
32 views

Is there a way to convert a geojson file to shapefile in Qgis 3 processing modeler?

I need to input geojson files into a model and one of the algorithms, dissolve, doesn't work with geojson files resulting in an 'Invalid geometry' error. Exporting and saving over 1000 files as ...
1
vote
1answer
28 views

Inputting CSV in QGIS graphical modeler and defining its geometry [duplicate]

Is it possible to have a model in QGIS graphical modeller which accepts a CSV with geometry fields and then allows you to use them for the rest of the model as if it was a vector file? This is ...
1
vote
0answers
21 views

Way of viewing attribute table of layer at end of model without loading layer in QGIS

I have created a model in QGIS 3 graphical modeler, with the final output being a shapefile. I was wondering if it is possible to have the final result as a pop up of the data table just to view the ...
1
vote
1answer
58 views

How to extend QGIS Graphical Modeler with Python Scripts

I'm trying to extract lat longs from my centroids, then feed the lat longs to the Google distance matrix API using another python script. I exported the graphical model as a python script: ##Drive ...
2
votes
0answers
25 views

In QGIS 3 Graphical Modeler can you add a check box to allow for different model path

In the Graphical Modeler in QGIS 3 is it possible to add a check box to the model GUI that if selected takes you down a different path of the tree so to speak. Example: Within a model I want to have ...
2
votes
1answer
39 views

Change attribute table value using graphical modeler?

So I have a buffer layer with an associated attribute table. This table has a column called "value" that I want to change to "x" based on previous selection. I can select the buffers in the layers I ...
2
votes
1answer
83 views

How to open GPKG layer fo processing in QGIS

I am making a model with QGIS 3.4 graphical modeler that should open and process a layer from the GPKG located in the project folder. Since the folder path may be changed, and QGIS does not allow ...
1
vote
2answers
38 views

Listing multiple fields to be dropped at once in QGIS modeler?

I'm trying to drop more than one fields at once in QGIS 3 modeler on Microsoft Windows. I'm using the algorithm "Drop field(s)". What is the good syntax to list multiple fields to be dropped? Not ...
0
votes
0answers
26 views

SAGA Supervised classification for grids outputs different result from SAGA standalone

I've met a problem with SAGA tools in QGIS (3.14). So, SAGA Supervised Classification for grids gives very poor results, while the same algorithm with the same inputs in SAGA standalone (2.3.2) works ...
1
vote
0answers
20 views

Pass additional options to GDAL in QGIS v3

I'm using gdalwarp inside a QGis v3 model (using qgismodeler) and I'd like to pass the -tap option to the command. I can't find where to place this. Is it possible to add additional options to gdal ...
1
vote
1answer
27 views

Fixed QGis modeler vector input parameter

I'm writing a QGis (v3) model and I'd like to have a vector layer input fixed to a specific shapefile. This way, every time I run the model, I don't need to select the file. Is this possible? Right ...
1
vote
1answer
22 views

How do you 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 ...
1
vote
0answers
21 views

Summarize table by group and add logic to keep data

I need to dissolve a polygon layer by group but, at the same time, I need to keep some of the data in extra columns. This is the diagram: This is the logic for the new group: Cod = "Cod" where N1 ...
0
votes
2answers
51 views

How to run 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
36 views

QGIS problem using join by location algorithm

I am new to QGIS. I have a problem when i use the algorithm "Join by location" in my graphical modeler, it returns me the "uknown error". I think the problem is that the shape i´m using to join is ...
2
votes
1answer
41 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 ...
3
votes
1answer
52 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 ...
2
votes
1answer
146 views

Exporting model to Python script using QGIS? [duplicate]

I want to edit a few things to my model in QGIS 3.2.2, but first I need to convert this model to Python script. Is there a way to do it?
1
vote
1answer
92 views

Access string output of QGIS 3 processing script in graphical modeler

In the good ould days of QGIS 2 I created a processing script, that takes as input a table and a table field (table has only one record) and returns the string attribute value of the table field: ##...
2
votes
0answers
42 views

What to use instead of 'Table' input in QGIS 3 modeller

In QGIS 2 graphical modeler I had an input parameter 'Table' for spreadsheets, csv etc. with no geometry. By now, I'm re-creating all my existing QGIS 2 models from scratch (cp. Using QGIS 2.x ...
1
vote
0answers
22 views

Converting QGIS Processing Modeler Python (.py) file to (.svg)

A Processing Modeler can be saved in QGIS 2.18.15 as a Python (.py) file. Adhering to good advice by @Spacedman in an earlier thread, I wish to know what are the many ways the (.py) files for the QGIS ...
2
votes
0answers
26 views

Backwards compatibility for QGIS 3.2.1 Processing Modeler [duplicate]

I have created multiple models using the Processing Modeler in QGIS 2.18.15. However, I could not open these .model files in the user interface for the Graphical/Processing Modeler in QGIS 3.2.1, ...
1
vote
0answers
31 views

Missing toolbar and panel from graphical modeler in QGIS

Does anyone know how I can turn on the toolbars and panels of the QGIS 3 graphic modeler? I closed them and now I do not know how to enable them again, consequently only a blank window appears. I'm ...
2
votes
0answers
18 views

How to make QGIS model result to be a variable?

My model's temporary result is a point layer (one feature) and I need a value from one of its fields because I want to use it in the same model to select a feature on another layer. So for example, ...
1
vote
0answers
28 views

Set mandatory output format and folder in graphic modeler

I'm working with the graphic modeler in QGIS3.2 Bonn. I have created some models and they work quite well. In order to make them more easy to use for others: Is it possible to set the output format ...
1
vote
1answer
138 views

Vector Fields as Input Variable in Field Calculator

I’m working with QGIS 3.2 Bonn and I try to build a workflow in the graphic modeler. The model aims to build variable buffers depending on values from two attribute fields of an input vector layer. ...
0
votes
1answer
54 views

How calculate vegetation indexes with GDAL raster calculator

I want to calculate a few of vegetation indexes [ example: NDPI (red band-green band)/(red band + green band)] in a model with the GDAL raster calculator but I don't know how put the equation here:
2
votes
0answers
50 views

Convert polygons to lines ignoring redundant vertices in QGIS

Provided the following Polygons layer with 6 polygons (see image below), I would like to calculate each line's segment's angle (amongst other things), so I should convert those six polygons into lines,...
2
votes
1answer
71 views

Syntax for “fields to keep” of Intersection tool in graphical modeler

I'm working with QGIS 3.2 Bonn and try to set up a workflow with the graphic modeler. The model uses the Intersection Tool from the QGIS Geoprocessing Tools. The model works, but I don't want to ...
1
vote
1answer
37 views

Calling a plugin in QGIS Graphical Modeler

I am familiar with Arcmap modelbuilder but struggling with QGIS equivalent. I have installed plugin 'UMEP' and need to run 'sky view factor' module on series of rasters. Inside the Graphical modeler, ...
1
vote
0answers
49 views

Iterating polygons in folder as input in QGIS Modeler like ArcGIS ModelBuilder

How do I iterate polygons in a folder as input in QGIS modeller? Usually, ArcGIS can iterate polygons as an input for functions like union, merge, intersect, etc. But I cannot find the way to do ...
-1
votes
1answer
55 views

Use of model and some tools from QGIS

(repost) This is what I want to do... Data: -raster images with 4 bands (green,red,red-edge and NIR),there are like 30 folders with one zone per folder and the images where taken 3 periods of time. ...
0
votes
0answers
61 views

Using rasterFromXYZ in R for QGIS under Krige-Baye

I am trying to run the script below in R for QGIS to produce a raster result. Everything runs fine but the image is not produced since the command rasterFromXYZ encounters a mismatch of elements in ...
1
vote
1answer
60 views

Working with R and QGIS

I am performing an interpolation in R but i get the following results. What could be the issue? The script ##MySript=group ##rainfall= vector ##output= output raster require(sp) require(rgdal)...
3
votes
0answers
106 views

Model in QGIS 3 (.model3) to Python 3? [duplicate]

I try to export a QGIS 3 model (.model3) to Python but the functionality that was available in QGIS 2 doesn't exist anymore. Is there a way to export it ?
0
votes
1answer
40 views

How to use fields mapper in qgis modeler?

I am building a modeler in QGIS 3.2.1, I want to use Refactor fields tool to change the name of a fixed field (fid to org_fid),This tool accepts a Fields mapping. I also noticed that there is a Fields ...
3
votes
0answers
52 views

Setting output filenames from QGIS modeler?

I have built model which iterate through features in input layer. How I can set output filenames in the modeler using input rows? Something like current_field_value.shp
0
votes
0answers
40 views

Creating new point based on distance of other points

I work in QGIS 2.14. I have a point layer, and I want to add points to that layer basing on the distances between the "old" point and the "new" point. I was doing it by creating buffors from each ...
0
votes
0answers
36 views

Georeferencer in graphical modeler QGIS

Is it possible to automate georeferencing in graphical modeler, I want to extract images from a site and georeference them with QGIS. Graphical modeler algorithms won't show Georeferencer.
5
votes
1answer
183 views

Referencing another layer in Field Calculator inside Graphical Modeler

I want to use the Field Calculator inside the Graphical Modeler to create a new column in an input vector layer (LAYER1) using data in another layer (LAYER2). LAYER2 is the output of another algorithm ...
2
votes
2answers
114 views

How do I execute a field calculation on just selected records from Processing Toolbox in QGIS 3?

When I try to do a field calculation from the Processing Toolbox in QGIS 3 it performs the calculation on all records instead of the selected records. Is there a way to have the calculation performed ...
3
votes
0answers
124 views

QGIS spatial sort - coalesce?

In QGIS (v3.2) is there a spatial sort similar to ArcGIS (http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/how-sort-works.htm#ESRI_SECTION1_9C199CD3D68A41029943D4FF79500A73) ...
1
vote
0answers
43 views

QGIS Modeller - Are there system variables

In a QGIS 3.2 model can we use system variables? Basically I want the input filename to be used in the output filename. So inputName.shp -->run process-->inputName_processed.shp In arcGIS ...
1
vote
1answer
92 views

How could you measure the minimum and maximum distance to the outer edge of a polygon in QGIS

I am looking for a automatic method to measure the minimum and maximum distance from a point (represented by the star) to the outer edge of a polygon (black dotted line). I know this could be done ...
0
votes
0answers
28 views

Making several fields with QGIS Modeler?

I want to make several fields with Modeler in QGIS 2.18 but I do not know how to do that. I have formula with conditional "case". I also have a problem with the character "= <" or "> =". This does ...
1
vote
1answer
30 views

More than one Field in algorithms in the Modeler Processing

Is it a way to enter more than one field in an algorithm in the Processing Modeler like in the toolbox? An example with the algorithm "dissolve" in the toolbox: The same algorithme in the modeler:
3
votes
0answers
70 views

Using raster calculator inside graphical modeler

I have an issue, which I am struggling with since few hours - I've built a model which aims to make multicriterial analysis based on few vector layers and DEM. At the step which is problematic for ...
3
votes
1answer
43 views

Recovering output value in QGIS graphical modeler?

I use QGIS 3.0.3 In the graphical modeler, I use the algorithm "Basic statistics for fields". Is there a way to recover the export values in the produced html file and using them in the modeler?
4
votes
0answers
128 views

Graphical modeler in QGIS 3.0.3 - Access Vector Field in Calculator

I want to create an algorithm with the graphical modeler in QGIS 3.0.3 where i define one Vector Layer and a Vector Field from this Layer as my inputvariables. Then i want to access the field-values ...
1
vote
1answer
37 views

Problem with number entry QGIS modeler

i created some number entry in QGIS modeler I created them specifically for them to be decimal numbers and not integer. But when i try my model, when i put a decimal number like 0.255 the value ...