Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
2
votes
2answers
290 views

Simplifying processing modeler?

I'm running a process that requires me to change the amount of data input depending on the situation. With my current system I need to have a separate model depending on the number of files I need to ...
3
votes
1answer
213 views

Including use of Mask in Raster > Vector conversion in QGIS

The Polygonize (raster to vector) tool in QGIS Raster > Conversion menu allows for the use of a mask, however this option is not available in the Processing Modeler. What would be the best way to ...
3
votes
0answers
296 views

Adding field vector layer in QGIS modeler and using it in next steps? [closed]

I am trying to create a model with QGIS to intersect a polygon layer P with a vector grid G and find the % of P for every cells of G. These are the steps to find this : create grid G with id unique ...
1
vote
0answers
123 views

Using homemade scripts without regular output vector in the processing modeler

As far as I know, there is no processing script that is able to create PostGIS type output layers including views and materialized views. Therefore I decided to create some alternative PostGIS ...
2
votes
0answers
71 views

QGIS Modeler Input WMTS

Maybe I'm just missing something here, but i can't figure out how to set a WMTS Layer as an Input Parameter in QGIS Modeler. I just wanted batch the process of exporting a GeoTiff from a WMTS Layer. ...
4
votes
1answer
1k views

Using a plugin in QGIS modeler

I am working on a project where I want to automatize the workflow using the QGIS graphical modeler. The problem is that I want to use the Group Stats Plugin as a part of my model but can't integrate ...
1
vote
1answer
870 views

Using python to take coordinates of a layer and input them to r.lake

I am running r.lake in the graphical modeler in QGIS as a component of a geoalgorithm I am working on. At the moment the coordinates input for r.lake will only take a manual string input, I am ...
5
votes
1answer
839 views

Defining “Style file” of QGIS modeler process “Set style for raster layer”?

I want to add "Set style for raster layer" to QGIS processing modeler but I have no clue how I need to define the "Style file" field. I have a layer style document and I assume, I need to define a ...
4
votes
2answers
725 views

Selection input for QGIS Processing models

QGIS 2.14.11 LTR. In a processing script we can define a selection as input parameter by ##auswahl_test=selection spam;egg;dummy resulting in Background is, that I want to provide a selection of ...
1
vote
0answers
109 views

Any way to acces GDAL console in processign modeler in QGIS?

Is there a possibilty to use the GDAL console in a processing model? As first step I'd like to resize cellsize of a raster and did it (without modeler) using the -tr X Ycommand. Maybe there are ...
2
votes
1answer
906 views

Selecting largest polygon in QGIS

I would like to select the largest number in a column of an attribute table by "select by attributes" in QGIS to select the polygon with the largest area. How would be the expression for that? I do ...
5
votes
0answers
97 views

Selecting minimum number of neighbouring polygons required to give a fixed total area

I have a polygon layer. I would like to select the minimum number of neighbouring polygons to give a total area greater than a fixed value. In reality the polygons are land parcels and I would like to ...
1
vote
2answers
5k views

Execute sql query from QGIS

I have to tables inside my database (postgis). Now I will do based on QGIS execute a sql-query based on these two tables. How can I do this? There exists a tool "Execute SQL" but there I can only ...
3
votes
1answer
744 views

Using raster calculator in the graphical modeler of QGIS

I have a raster with slope values and want to calculate a raster, which only shows values under and over a certain threshold for example 50. In the raster calculator I can do this manually by the ...
10
votes
1answer
1k views

QGIS Modeler if/else condition, custom script for Modeler

I want to make a simple if/else function inside my Model and I wanted to know if it's possible or not. I want this thing to do that if an Input for 'Segment Layer' is selected that it doesn't have ...
2
votes
1answer
218 views

Setting tool-specific parameters within the QGIS graphical modeler

Is it possible to set certain parameters of tools within set up models when opening a saved model (not edit, but double click and running) I am talking about being able to set certain tool specific ...
5
votes
1answer
828 views

QGIS processing default output vector layer extensions

You can set the default output-extension of a model in processing > options > general. The intermediate transactions in a model are processed in that default file format. After installing QGIS, the ...
2
votes
1answer
62 views

Getting parameter menu in QGIS modeler to appear?

I lost, by accident, the parameter menu in QGIS 2.14 Graphic Modeler. Is there any tip for how can i get it back.
10
votes
1answer
307 views

Why is QGIS graphical modeler modal?

I often switch between graphical modeler and the main QGIS application and wonder why I am not able to operate QGIS when modeler window is open. Saving my models and closing / reopening modeler annoys ...
5
votes
1answer
617 views

QGIS 'Join attributes by location' algorithm (sometimes?) not working properly in graphical modeler

In QGIS 2.14.10 I've set up a simple model to assign min and max of attributes of a point layer (adresses, about 2500 features) to a polygon layer (parcels, about 14000 features) to polygons ...
3
votes
0answers
72 views

Python stops during band algebra in GDAL calculator within modeler in QGIS

I'm trying to calculate four greenness indices using the GDAL calculator within the graphic modeler in QGIS 2.14.7 Essen. The tool systematically crashes with a Windows message stating that Python ...
1
vote
0answers
559 views

Why can't I use processing algorithms in a standalone PyQGIS script?

I want to create a standalone python script using QGIS python API (PYQGIS) for education. First I create a model and export that model to python script. original python script from the export : ##=...
1
vote
1answer
126 views

Creating union of polygons with multiplying attribute table value in QGIS Modeler

I am new to QGIS. I want to do union of two polygons A and B in such a way that one of the field values in attribute tables of A and B should be multiplied in the resultant union polygon C. How can ...
9
votes
1answer
387 views

Conditions in modeler field calculator

I want to check a vector file if there is a column "Source". If yes, nothing to do. If there is no column "Source" it should be created and filled up with '0'. Is this possible to do via the ...
1
vote
1answer
82 views

accessing main window in QGIS when processing modeller is active

While working on a model in the processing modeler I can't enter the main GUI. Every time I want to check some features or layer properties I have to leave the modeller, do the check and reopen the ...
1
vote
0answers
50 views

Applying same algorithm to various input files in QGIS modeler?

I wonder what´s the best way to create a ROI (by clipping algorithm) for all bands of one LANDSAT scene in QGIS graphical modeler. Is there a way that avoids listing all (raster) bands and applying ...
3
votes
1answer
568 views

QGIS Modeler Raster Calculator

My current goal is to calculate the following (a<10)*a and (b<0.7)*b and c=2 and d=2 this formula already worked in the native raster-calculator and now i'm trying to get this to work within ...
2
votes
1answer
210 views

Populating a tool's field in Qgis Graphic Modeler

I am trying to pouplate a tool's X and Y coordinates from a point file and I want to do this in the graphic modeler. -But how do i connect the coordinates with the appropriate field in the Target X ...
0
votes
1answer
116 views

Possible to convert v.net.spanningtree to QGIS custom script so don't need GRASS installed?

Is it possible (and if yes then how or has this been done) to convert v.net.spanningtree in to a QGIS/python (custom) script that can be accessed in the QGIS graphical modeler in a way that GRASS is ...
9
votes
2answers
2k views

Saving processing results in a file using QGIS modeler?

From a model, I would like to save processing results in a file. In my model I have some Extract by location algorithms (with two vector inputs) producing reasonable results but only as temporary ...
2
votes
1answer
2k views

QGIS Methods for Batch/multiple shortest path calculations

Is there an established method for running multiple shortest path analysis based on multiple start and end points? I have a model outputting coordinate data and a road network with varying road ...
2
votes
2answers
173 views

treatment progress percentage

I use QGIS SCRIT 2.14 When I run the script I would like to see the progress percentage ##Input_raster1=raster ##Band_raster1=output raster from qgis.core import * from qgis.gui import * from qgis....
2
votes
1answer
41 views

Cut a picture with the grip of another image

I have two raster images. Let "A" and "B" my images with "A" larger than "B" I would like to cut A for it to have the same grip as B with the python script for use in the automation of a processing ...
3
votes
0answers
274 views

Multilevel b-spline crs issue in modeler

I'm struggling with a processing modeler tool. I have a point shapefile (WGS84) which I want to interpolate with the SAGA spline tool. The model is reprojecting the wgs84-points to UTM32N (EPSG:25832)....
3
votes
1answer
65 views

Field Types in ArcMap, QGIS and their respective modelers

I am aiming to replicate an ArcMap Model in QGIS Graphical Modeler. ArcMap model functions give a much wider range of options (see fig 1) for the type of field to be created. Furthermore, the field ...
2
votes
1answer
404 views

Looping over rasters in list with QGIS script?

Using QGIS 2.14, I want to loop over rasters in a list with a QGIS script. ##Input_raster1=raster ##Input_raster=raster ##resul_rasters= output raster list=[] list.append(Input_raster1) list.append(...
7
votes
1answer
419 views

Interpolating Daily Values from Monthly Grids using QGIS?

I am currently performing a bioclimatic analysis using monthly averaged climate grids. One particular calculation, Growing Degree Days, relies on daily maximum/minimum temperature and a threshold ...
1
vote
2answers
214 views

How to keep the same name in the entry of the script (QGIS 2.14) output file?

For example, I have a raster called "raster_img.tiff". I use it as input in QGIS script and want it to be in output file called the same name like input + new. ##Input_raster1=raster ##Band_raster1=...
4
votes
1answer
1k views

Number inputs as raster calculator variables in QGIS Modeler

How can i use input numbers as variables in any of the raster calculator algorithms in QGIS through the modeler? One very simple example of that would be a model that allows me to divide raster cell ...
5
votes
3answers
909 views

Clipping line layer to every feature of polygon layer in QGIS?

I have a line layer (roads) and a polygon layer which represents districts/counties. I want to clip the roads according to every one different county. That means that I must repeat the procedure sixty ...
2
votes
0answers
104 views

Choose which MULTIPLE attributes should be joined -QGIS Graphical Modeler

I need to select which MULTIPLE attributes to join in a QGIS model. It allows me to do this in the interface (Properties-->Join) but not in the QGIS Model version of Join by Attribute. So I want the ...
3
votes
0answers
168 views

How to use Hub distance in a processing model?

I am trying to make line layer (hub distance layer ) between two point layer in QGIS 2.16. It works fine when I make layers step by step but, I want to make MODEL in processing modeler and ...
1
vote
0answers
45 views

grass algorithm changes integer to fixed length

using grass v.clean in the graphical modeller it changes all integer values from the original file to int with length 9 Is this a standard behaviour? Can this be avoided? The details of the grass ...
3
votes
0answers
806 views

Download OSM data with QuickOSM and QGIS Modeler

I've been using QuickOSM plugin for some time and I would like to create some model that allows me to automate OSM data dowload in order to make sure that I am always working with the most updated ...
6
votes
1answer
171 views

QGIS equivalent of Calculate Adjacent Fields for Atlas

Is there a QGIS plugin available or a processing model to calculate and populate fields that can be used to label the adjacent pages in a map book? Although there are tools to create vector grids, I ...
1
vote
0answers
242 views

Error executing algorithm Clip raster by mask layer 'NoneType' object has no attribute 'GetGeoTransform'

Processing modeler: GDAL "clip raster by mask layer" tool I have a raster layer that I wish to be clipped by a polygon layer (buffer zone). I intend to repeat to process many times in a more ...
2
votes
1answer
472 views

TrainImagesClassifier (SVM) fails when executed from within QGIS modeler

I made a small model in QGIS that runs Second Order Image Statistics, the SVM Trainer, and Image Classification, all tools from the Orfeo provider. The problem is it fails everytime. When I run the ...
3
votes
0answers
246 views

Splitting OSM data into layers by tags (QGIS modeler)

I have a problem with using the QGIS modeler to split a downloaded .osm file into layers. What I am trying to achieve is a structure like this: Traffic (lines) Main Roads Roads Small Roads Natural (...
3
votes
0answers
106 views

Missing list of algs in QGIS 2.14 Processing modeler?

I changed my QGIS-version from 2.8 to 2.14. I am very happy that v.net algs (grass7) are available now as part of the processing plugin. But now there is no list of algs inside the modeler - so no ...
3
votes
1answer
511 views

QGIS graphical modeler calculator

My question is about the calculator in the QGIS graphical modeler. I explain my problem issue first: I want to build a modeler that creates buffers around layers and makes a selection on a second ...