Tag Info

New answers tagged

0

I simply had to change the SAGA path to the one located in the .qgis2 directory instead of in the OSGeo4W directory: C:\Users\Me\.qgis2\python\plugins\processing\algs\saga Now have the correct SAGA algorithms.


0

I also had the same problem. Found out I was using an outdated version of SAGA GIS 2.1.0 that was not supported. If you want to know which version of SAGA GIS that any version of QGIS supports. Check this line supportedVersions = {"2.1.2": ("2.1.2", SagaAlgorithm212), "2.1.3": ("2.1.3", SagaAlgorithm213), ...


1

The predicate is u'intersects'. For more than one predicate use an array like "[u'within',u'intersects']" The full command is processing.runalg('qgis:extractbylocation', inputlayer, intersectlayer, u'intersects', None) The possible arguments for the predicates are: ...


2

Run the "Extract by location" command of the Toolbox and examine the last line of the ../.qgis2/processing/processing.log file (that records all the commands executed) ALGORITHM|Sun Jun 14 2015 17:34:39| processing.runalg("qgis:extractbylocation","/Users/Shared/result.shp","/Users/Shared/input.shp","['intersects']",None) The predicate is simply ...


0

It's unlikely that you'll get a better answer here than on the mailing list: http://osgeo-org.1560.x6.nabble.com/Processing-Plugin-Error-td5210055.html It seems to be a more or less cosmetic issue since the installation eventually seems to work.


2

SOLVED: To retrieve R scripts "examples", they have to be installed using the "Get R scripts from on-line scripts collection" tool under the R scripts-> Tools item in the Processing Toolbox. From there, select and download, one by one, many example.


1

You can get the correct syntax from the Processing | History and log after running the tool once from the toolbox: processing.runalg("gdalogr:cliprasterbyextent", "C:/Users/anita/Geodata/qgis_sample_data/raster/SR_50M_alaska_nad.tif", "", "2001518.84322,3027531.34481,4007380.09563,4664339.34638", ...


2

r.bioclim (I suppose, because r.bioclimatic don't exist), is an GRASS GIS 7 addon If you want to create or modify an algorithm, read the file ../processing/algs/grass7/grass7.txt that begins with "A short guide for creating and editing GRASS GIS 7 algorithms" But, how do these commands work ? to use the GRASS7 commands in processing,you need to first ...


2

Bleh, answer was simple. Just had to replace what I originally wrote: CRS = QgsMapLayer.crs(fname).authid() With this: CRS = QgsVectorLayer( fname, '', 'ogr' ).crs().authid() Works a treat, hope this helps someone!


2

You can download 2.2 from http://plugins.qgis.org/plugins/processing/version/2.2.0-2/ and then replace the processing folder in your user directory ~/.qgis/python/plugins with the content of the 2.2 zip file. I'm not sure if Processing 2.2 is compatible with QGIS 2.8 though.


0

Parameters Database [string] Name of the database, not the connection name. By default you don’t have to fill in the name, the current database connection will be chosen. Default: (not set) SQL query [string] Defines the SQL query, for example ‘create schema test;’. Default: (not set)



Top 50 recent answers are included