Spatial data processing framework that brings advanced analysis capabilities to QGIS.

learn more… | top users | synonyms (2)

1
vote
1answer
49 views

Python script to copy first row of certain attributes and paste in the newly digitised rows the copied features

Starting from this question, I need a script to be insterted in the processing graphical modeler that can copy some attributes from the first digitised row in all the newly digitised lines of a ...
2
votes
1answer
33 views

Processing modeler Output Order

I have a model running on the processing framework it produces a serie of vector layers as output(alt-0, alt-1, alt-2, alt-3, and so on). I have prepared the model keeping the order of these ...
1
vote
1answer
24 views

QGIS Processing Input CRS from Input Layer

I'm creating a Processing algorithm that requires the user to input several parameters including an input layer and an output CRS. At present, the tool defaults to SRID 4326. I'd like for the CRS ...
0
votes
0answers
11 views

is the “configuration dialog” = “Processing” > “Options”

Is the the "configuration dialog" referenced to in help "Processing" > "Options" Note: The 'help' I am referring to is the online Documentation QGIS 2.2 » QGIS User Guide » QGIS processing framework ...
0
votes
0answers
17 views

Custom QGIS Processing Tool Fails to Copy Features

I'm creating a custom QGIS Processing plugin. I've created a tool that is basically supposed to copy features from an input PostGIS layer to a new PostGIS layer. My routine runs without errors and ...
0
votes
0answers
46 views

Merge raster layers error

Is there an issue with the SAGA-tool "Mosaicking rasters"? I tried it with different rasters. In Sage itself it works fine. Algorithmus Mosaick raster layers startet... io_gdal 0 -TRANSFORM ...
1
vote
1answer
100 views

Qgis network analysis why find vertex return always -1

I'm trying to compute the shortest path between points using the QGIS networkanalysis library. But the graph.findVertex always return -1. Basically what I'm trying to do is : 1/ Given a set of ...
2
votes
1answer
29 views

How to launch Processing tool User Interface using PyQGIS?

I am trying to launch the UI of a processing algorithm using Python script but I cannot find a simple way for it (aside double clicking on it in the process toolbox of course). The plugin is a water ...
0
votes
0answers
49 views

Merge layers (SAGA) ERROR

with QGIS 2.10 it is not possible to merge vector layers with the "Processing-Saga" tool (merge layers). The following error log comes up: Algorithmus Merge layers startet... shapes_tools "Merge ...
2
votes
1answer
44 views

How to calculate the 3D length of line segment in QGIS?

I've been looking through all of the GRASS commands in the QGIS 2.10 processing toolbox and it seems like one of these must be able to do this but I haven't found one yet. There is 'v.sample' which ...
1
vote
2answers
49 views

How to get PostGIS DB name from QGIS layer?

I'm writing a custom Processing script that needs to know which database connection a vector layer resides in. I can't find anywhere in the API a function to return this information from a layer. So I ...
1
vote
1answer
40 views

Is there a way to integrate my own custom tools into the Processing toolbox in QGIS?

Is there a way to integrate my own custom tools into the Processing toolbox in QGIS? I believe I have found where to strategically hack the stock processing scripts to ensure it picks up my custom ...
1
vote
0answers
25 views

Processing Model .model from Ubuntu to windows and “vice versa” Python Error

I have prepared a processing model in Qgis 2.10 under ubuntu 15.04, I tried to test it on a Windows(7) pc with Qgis 2.10 and I got a Python error message, Then I tried the opposite way, I prepared ...
1
vote
1answer
82 views

Where did Processing Algorithms go?

I have recently installed QGIS 2.8.2 on my Windows 8.1 laptop with the stand alone .exe installer. The processing toolbox is missing the GDAL/OGR, GRASS, QGIS algorithms, Saga and the Orfeo Toolbox ...
1
vote
0answers
34 views

Where to find Advanced Python Field Calculator qgis sintax documentation

I am trying to follow some tutorials using Advanced Python field calculator, but when I enter the formula value = $geom.area() / < area> I get syntax error as in picture, while if I substitute ...
0
votes
2answers
34 views

QGIS Processing Scripts Shared Code

I'm on a Windows 7 machine with QGIS 2.8 installed via OSGeo4W. I'm developing several processing scripts that make use of a few common pieces of code. Rather than maintain the code in each individual ...
1
vote
2answers
85 views

Processing modeler: how to dissolve a vector layer and sum the attributes

I have a complex workflow prepared in the processing modeler, but I'm missing one step to link all the model. As said, I need to dissolve a polyline vector in a single line vector that has as ...
1
vote
0answers
14 views

How to pass a token value to QGIS processing modeler?

There are various places in the Processing modeler where I would like to pass the value of a variable. We're iterating through a bunch of features in an input layer. After the processing, we will have ...
2
votes
1answer
137 views

Grass 7 no longer works via the Processing Toolbox on Ubuntu

When I try to execute a Grass 7 algorithm via the Processing Toolbox in QGIS 2.10, 2.8.2 or 2.8.1, I get the following error: Missing dependency. This algorithm cannot be run :-( QGIS ...
1
vote
0answers
22 views

Is it possible update a shapefile instead create a new one when using Processing?

Using Processing to add or calculate a field it's always necessary create a new shapefile? Is there a way to just update and keep using same layer?
2
votes
1answer
58 views

Processing algorithm fails from Python script

I'm trying to write a Python script performing a geoalgorithm. What is surprising me is the following: I first test the algorithm by QGIS (2.8) interface. In my case, the GRASS interpolator ...
0
votes
1answer
108 views

Does Processing plugin v2.10.1 not recognise SAGA?

Version 2.9.3 of the Processing plugin works fine, I can run the SAGA tools successfully. Updating the Processing plugin to version 2.10.1 results in SAGA disappearing entirely from the toolbox. The ...
2
votes
0answers
32 views

QGIS: distance matrix different outputs

In one of my plugins I would like to use the distance geoprocessing algorithm. When running this algorithm from the menu Vector->Analysis Tools->Distance Matrix I get a different output than running ...
1
vote
2answers
92 views

Why is SAGA from the Processing Plugin not recognised?

Similar to this post: SAGA algorithms don't work in QGIS 2.8 except the fact that SAGA does not appear at all in the Processing Toolbox: As a check, I used the Python Console with the following ...
1
vote
0answers
45 views

compare column to atributes in a loop in pyqgis processing

I am creating a script in processing qgis. I am running the interpolation algorithm.I have two tables table A and table B. Table A contains attributes like A_test,B_test up to Z_test. Table B contains ...
1
vote
0answers
24 views

Translate old QGIS (2.2) Sextante model to newer version

Hey there (I guess Victor :-)) I really like the processing toolbox and have realized several models. I also developed some bigger models in QGIS 2.2 / with the former processing toolbox. Since the ...
2
votes
2answers
102 views

How to run Processing qgis:extractbylocation?

I try to use the processing 'qgis:extractbylocation' in QGIS 2.8.2 from the QGIS algorithm provider. import processing # import the layers by a given uri inputlayer = QgsVectorLayer(uriTr.uri(), ...
2
votes
1answer
29 views

Last SEXTANTE (Processing) update results in missing RScripts examples

I have installed today the new version of the Processing plugin on QGIS 2.8 (on Windows 7 x64) and I cannot anymore find the RScripts example that were available (and functioning) before the udpate. ...
1
vote
1answer
86 views

Cannot install “Processing” plugin on MacOS + QGIS 2.9.3, fresh install

I have just installed a new MacBook Pro and QGIS, everything is fine but this strange error if I try updating or reinstalling the "Processing" plugin. The plugin is broken. Python said: cannot ...
2
votes
0answers
58 views

QGIS' Join Attributes by Location not working from Python script

I have a shapefile with points, and a shapefile with polygons. I want to sum the attribute value of all points that are within a certain polygon, and I'd like to do this for each polygon in my ...
2
votes
1answer
42 views

How to clip a raster by extent using Processing from the Python console?

I want to clip a raster by extent in QGIS with the python console. Here is the description given in the documentation. You have to use the following input parameter: Input layer Nodata value ...
2
votes
1answer
52 views

How to add my own GRASS algorithms to Processing?

I need to use algorithm r.bioclimatic from GRASS in QGIS but I see that this algorithm don't exist in Processing Toolbox. A search a way of add this algorithm to Processing and in GRASS and Sextante ...
3
votes
1answer
46 views

How to access CRS of shapefile in standalone script?

I'm trying to access the CRS of a layer and use this to create a grid. I followed the answer in this post which works great in QGIS but I would like it to work in a standalone script. Here is a ...
1
vote
1answer
53 views

How to downgrade from Processing 2.6 to 2.2?

I have QGIS 2.8.2 installed and Processing Toolbox 2.6. I want to test a thing and I need to install processing Toolbox 2.2 in QGIS 2.8.2. Is it possible? How can I do that?
1
vote
2answers
89 views

How to use subprocess module to run QGIS toolbox modules

I've been trying to use subprocess for a while now, but can't get it to work when calling QGIS modules. Here's my script: import subprocess call("processing.runalg('gdalogr:merge', ...
0
votes
0answers
142 views

QGIS 2.8.X problem. Couldn't load plugin processing due to an error when calling its classFactory() method

I am running windows 7 64 bit and I have a problem with the processing plugin in QGIS 2.8. Following error appears when starting: ...
1
vote
0answers
48 views

Merge vector layers problem with german names (ä, ü, ö…)

When I'm trying to merge (saga merge layers tool) some shape files I get an error log 'ascii' codec can't decode byte 0xfc in position 91: ordinal not in range(128) See log for more details ...
0
votes
0answers
6 views

Unlock a file after using GRASS runalg

I am not allowed to supress a shp file after using: processing.runalg("grass:v.surf.idw","the_file_i_want_to_delete.shp",12,2,"Arithmetic",False,"-125,-65,23,50",0.2,-1,0.001,"output") Any idea? I ...
3
votes
1answer
142 views

How do I set up the R Script folder in QGIS 2.8.1 Processing Toolbox (Advanced Interface)?

I am currently lacking the R Script folder in my processing toolbox under the advanced interface tab. I suspect this could be a result of the firewall in my company's wifi. I already have R ...
1
vote
1answer
114 views

Missing processing menu in QGIS?

I'm sure there is a really simple explanation to this but haven't found any pointers on this forum or elsewhere. I seem to have lost the 'processing' menu from QGIS and can't figure out how/why!? Any ...
2
votes
0answers
66 views

Is there any way to set a processing extent for QGIS:Voronoipolygon?

I was playing around with the QGIS:voronoipolygons command line function from QGIS and noticed that there was no option for setting the processing extent. This causes QGIS to pick the minimum extent ...
1
vote
0answers
96 views

Is there way to define processing extent in QGIS?

Is it possible to define the extent of a processing tool, like it is in the "Environments" in ArcGIS? For example "Same as Display, or "Same as Layer..".
2
votes
0answers
95 views

Is it possible to use memory layers in QGIS processing algorithms?

I am building a QGIS plugin that connects to a MySQL database in the local network, and then adds a subset of one of the tables to an in-memory layer; the subset is based on data currency (only taking ...
2
votes
1answer
209 views

Processing plugin Python error on startup of QGIS 2.8.1

I've been running QGIS with no issues for several versions now, but after I upgraded to 2.8.1 Wien I had trouble running two plugins: qgis2leaf (which I believe depends on Processing) and Processing. ...
1
vote
1answer
69 views

How to remove “ERROR 1” messages from a standalone QGIS script?

I am running a standalone script for QGIS which creates a high resolution grid and clips shapefiles onto it. Works perfect if the cell width and height have a high values (in my case, >200m for both). ...
1
vote
1answer
89 views

QGIS processing script: Move points by specified distance and add segment

I try to move points (they come as WGS84, but I'm not sure if it works with unprojected CRS) by a specified distance and connect original and new point with a line segment with the below script, but ...
1
vote
0answers
71 views

Put output of SAGA algorithm of Processing model in R script

I'm trying to combine the Variogram Cloud model of SAGA with an R script inside a Processing model. First, the R script is: ##Vector processing=group ##showplots ##Layer=table ##X=Field Layer ...
2
votes
1answer
151 views

Standalone script looping incorrectly?

Following on from my previous question, I would like the script to do the following (includes illustration): Search for the first shapefile (Paris (O).shp) in Country_France > Original files and ...
2
votes
2answers
174 views

How to use `layer.getFeatures()` in a standalone script?

I am following the QGIS Cookbook and this post where it concerns reading attributes from layers. I would like to exploit this method and implement it into a standalone script. Essentially, I want to ...
3
votes
2answers
259 views

Using folder wildcards to copy files with Python

I would like to copy the data of one specific shapefile from a specific folder ("Grid") to a number of folders containing the name "Country". The country shapefiles would keep their original name. ...