2448 Commits

Author SHA1 Message Date
volaya
b83fbb16c9 [processing] warn if extent might not be in the expected CRS 2016-10-18 16:55:19 +03:00
volaya
b4562d143e [processing] fixed iterative execution
fixes #15650
2016-10-18 16:55:19 +03:00
volaya
7a87fb55b0 [processing] don't use full path for naming layers when loaded in dataobjects.load 2016-10-18 16:55:19 +03:00
volaya
22a6c473d9 [processing] alternative way of copying algorithms in a model.
should fix #15060 and #15480
2016-10-18 16:55:19 +03:00
volaya
eb5fc90f44 [processing] dont use hidden outputs when exporting to python or displaying alg help
fixes #14998

Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
2016-10-18 16:55:19 +03:00
volaya
90db246488 [processing] use only selected features for spatial index
fixes #15584
2016-10-18 16:55:19 +03:00
volaya
128da3002a [processing] better update of expression widget when layer is changed in fields calculator 2016-10-18 16:55:19 +03:00
volaya
c0e3b8fbf9 [processing] added short help for saga raster calculator 2016-10-18 16:55:19 +03:00
volaya
135576ec4d [processing] fixed wrong import in i_aster_toar
Conflicts:
	python/plugins/processing/algs/grass7/ext/i_aster_toar.py
2016-10-18 16:55:19 +03:00
Sandro Santilli
2fc418016f [processing] Fix handling of None shapeEncoding
Fixes #15719 -- object of type 'NoneType' has no len()
2016-10-18 11:44:40 +02:00
Alexander Bruy
f0f70a5d9a Merge pull request #3624 from ghtmtt/master
[processing] porting some small fixes to master
2016-10-18 12:38:45 +03:00
Sandro Santilli
8843de88c7 Fix ogrLayerName handling of PostgreSQL dataset URIs
Also document "uri" parameter semantic, and add more tests.
See for background
https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045311.html
REF #15698
2016-10-18 11:05:31 +02:00
matteo
76d17ca55b update ScriptEditorDialog for py3 2016-10-18 10:56:54 +02:00
Matteo Ghetta
7f3b10b424 [processing] fix button font size in script editor
fixes the zooming of the font size in script editor dialog using another method
2016-10-18 10:13:54 +02:00
Matteo Ghetta
76eb086c89 [processing] avoid overlapping UI
multi field widget doesn't overlap anymore with other widgets
2016-10-18 10:10:54 +02:00
Matteo Ghetta
904f49eceb [processing] Missing import fixed for R algorithm 2016-10-18 10:08:36 +02:00
nirvn
730b5b79ab [processing] fix missing argument when calling getMinCoveringExtent() 2016-10-18 10:55:17 +07:00
volaya
25d0351d57 [processing] fixed creating params and outputs from description strings 2016-10-17 14:41:16 +02:00
Sandro Santilli
52a0082ade Fix extraction of ogr LayerName from database dataset URIs
See 6c5364186d (commitcomment-19439676)
Includes testcase.

REF #15698
2016-10-17 11:55:35 +02:00
Matthias Kuhn
d4b063626e Minimal improvement for processing tests README 2016-10-17 09:36:00 +02:00
Matthias Kuhn
576ad138a9 Fix python calls to inexistent methods 2016-10-17 09:31:31 +02:00
volaya
3001bd5f79 Merge pull request #3610 from NaturalGIS/processing_grass7_v_voronoi_skeleton
Processing grass7 v voronoi skeleton
2016-10-17 08:05:04 +02:00
Nyall Dawson
688d1a5eba [processing] Speed up dissolve when not using fields 2016-10-17 12:47:53 +10:00
Nyall Dawson
a05b610a8b [processing] Use prepared geometries for intersects tests
Wherever possible use prepared geometry engines for intersects
type tests, as it's much faster
2016-10-17 11:18:46 +10:00
Nyall Dawson
86368f39c3 [processing] Optimise feature requests within qgis algs
- don't use setFilterFid() within loops to fetch features one
at time (as it's extremely slow), instead use setFilterFids()
outside the loop
- don't fetch unused attributes/geometry when it can be
avoided
2016-10-17 10:30:55 +10:00
Giovanni Manghi
8f9fe00671 add paramter to v.voronoi.skeleton 2016-10-16 19:09:06 +01:00
Giovanni Manghi
80c6a27f17 Add a GRASS7 tool to compute skeletons of areas, using v.voronoi 2016-10-16 18:43:29 +01:00
Sandro Santilli
6c5364186d Fix extraction of ogr LayerName from multi-layer dataset URIs
Adds supports for "layerid" when present.
Drop special handling for "table=" portions found in URI,
making the code more generic.

Includes testcase.

Fixes #15698 - import geodatabase to postgis via processing
2016-10-15 09:13:18 +02:00
volaya
35f17496c1 Merge pull request #3581 from alexbruy/processing-terrain-analysis
[processing] add raster terrain analysis tools
2016-10-13 13:53:55 +02:00
Alexander Bruy
898addfa33 [processing] avoid division by zero (fix #15521) 2016-10-12 16:04:31 +03:00
Nyall Dawson
6605a2274f [processing] Optimise uniqueValues method
Now it uses the standard QgsVectorLayer.uniqueValues() method
where possible so that provider side optimisations are used

Also add test, and optimise request when using selected
features only
2016-10-12 17:05:15 +10:00
Nyall Dawson
05ea4be7c3 [processing] Fix inefficient values() method
Method was iterating over ever feature in a layer, including
geometries and all attributes for EVERY attribute requested

Add test and refactor so only one optimised iteration (eg no
geometry, only required attributes) is used
2016-10-12 16:56:29 +10:00
Alexander Bruy
85962653a2 [processing] restore Points in Polygons algorithm menu entry (follow up d4323addf0) 2016-10-11 12:01:14 +03:00
Alexander Bruy
a356bac1a5 [procesing] add tests for raster terrain analysis algorithms 2016-10-11 11:57:04 +03:00
Alexander Bruy
fabc0970c5 [processing] add icons for raster terrain analysis algorithms 2016-10-11 11:55:34 +03:00
Alexander Bruy
e2f36e40d1 [processing] remove unused imports 2016-10-11 11:55:34 +03:00
Alexander Bruy
7b74774322 [processing] expose Relief from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
15902aa2fa [processing] expose Hillshade from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
2c2ff64f7d [processing] expose Ruggedness from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
48c7c49c73 [processing] expose Slope from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Alexander Bruy
e76a4678ba [processing] expose Aspect from Raster terrain analysis plugin in toolbox 2016-10-11 11:55:34 +03:00
Nyall Dawson
d4323addf0 [processing] Fix missing points in polygons menu item (fix #15670)
Also add a unit test
2016-10-11 09:30:46 +10:00
Nyall Dawson
90aebd117d [processing] Add geometry info should add z/m values (fix #14659) 2016-10-11 09:30:41 +10:00
Alexander Bruy
2c9fdae414 move imports to the top 2016-10-10 15:56:00 +03:00
volaya
fba87f79f3 Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
Conflicts:
	python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
volaya
3b1dfa7071 [processing] made -te parameter optional in gdal warp 2016-10-10 08:05:11 +02:00
Alexander Bruy
9b75746003 [processing] remove obsolete import 2016-10-07 16:32:15 +02:00
Alexander Bruy
45a84419ff [processing] show error message instead of Python error if output raster is temp output and test can not be created 2016-10-06 15:57:13 +03:00
Juergen E. Fischer
d9349e5bbb update configuration settings to qgis3 2016-10-06 11:40:42 +02:00
Alexander Bruy
9a9df32cca Merge pull request #3574 from mbernasocchi/master
[processing] fix save to postgis table
2016-10-06 11:58:13 +03:00