4198 Commits

Author SHA1 Message Date
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
nirvn
20d006e101 [db manager] fix spatialite error reporting 2016-10-07 12:07:55 +07:00
nirvn
dab18e7675 [db manager] fix non-spatial import 2016-10-07 11:53:30 +07:00
Even Rouault
fffbf784b0 Fix exception in GDALTools.doRasterize.loadFields due to Python 3 conversion 2016-10-06 18:01:03 +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
Alexander Bruy
dcdf91b09a Merge pull request #3507 from alexbruy/memory-provider-25d
Add support for 2.5D geometries to memory provider
2016-10-06 11:37:19 +03:00
Marco Bernasocchi
7c59e41177 fix save to postgis table in processing 2016-10-05 20:35:28 +02:00
Matthias Kuhn
5179a3a55d [processing] Fix extent selection widget 2016-10-05 15:51:43 +02:00
volaya
2207669001 [processing] fixed expressions dialog when not in modeler 2016-10-05 12:39:03 +02:00
volaya
bc0cdc7b0d [processing] fixed handling of integer values 2016-10-05 12:39:02 +02:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
volaya
effcb5ed14 [processing] [modeler] show options of MultipleInputParameter sorted in alphabetical order
fixes # 4836
2016-10-05 12:38:59 +02:00
volaya
404c57bc59 [processing] fixed table fields in batch processing interface
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
2016-10-05 12:38:58 +02:00
volaya
23aec61501 [processing] connect signal in multipleinput widget 2016-10-05 12:38:57 +02:00
volaya
6f498a3138 [processing] removed debug line 2016-10-05 12:38:56 +02:00
volaya
db7b1e7890 [processing] correctly resolve values for hidden outputs 2016-10-05 12:38:55 +02:00
volaya
1a95110dcc [processing] renamed wrongly named signal in InputLayerSelectionPanel 2016-10-05 12:38:54 +02:00
volaya
b2fd1a4560 [processing] use cmp_to_key to ensure Python3 compatibility
Conflicts:
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:53 +02:00
Alexander Bruy
e04780a279 add missed comma 2016-10-05 12:38:51 +02:00
Alexander Bruy
3407ced90e fix indentation
Conflicts:
	python/plugins/processing/gui/BatchInputSelectionPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
a20c86c0c3 [processing] use InputLayerSelectorPanel for vector layers 2016-10-05 12:38:49 +02:00
volaya
c605c67b8c [processing] some minor changes for batch processing interface 2016-10-05 12:38:48 +02:00
arnaud.morvan@camptocamp.com
d33e33874a Fix StringWidgetWrapper.value method 2016-10-05 12:38:47 +02:00
arnaud.morvan@camptocamp.com
c010a035c3 Call postInitialise in BatchAlgorithmDialog 2016-10-05 12:38:46 +02:00
arnaud.morvan@camptocamp.com
be5f951cd1 Support layer objects in BatchInputSelectionPanel 2016-10-05 12:38:44 +02:00
arnaud.morvan@camptocamp.com
9e36582feb Simplify TableFieldWidgetWrapper
Conflicts:
	python/plugins/processing/gui/ParametersPanel.py
	python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:43 +02:00
arnaud.morvan@camptocamp.com
c1bc364a76 Fix PointWidgetWrapper with modeler 2016-10-05 12:38:42 +02:00
arnaud.morvan@camptocamp.com
8d16161742 Call postInitialise in modeler Dialog 2016-10-05 12:38:41 +02:00
arnaud.morvan@camptocamp.com
a38c13d523 Create FieldMappingWrapper 2016-10-05 12:38:40 +02:00
volaya
affc8f7ca5 [processing] correctly return widget in TableFieldWidgetWrapper 2016-10-05 12:38:39 +02:00
volaya
ae0e9c8442 [processing]minor code cleaning
Conflicts:
	python/plugins/processing/core/parameters.py
2016-10-05 12:38:38 +02:00
volaya
e6f9499716 [processing] improvements for modeler UI
Do not show help tab if there is no help

add "optional" tag for optional parameters
2016-10-05 12:38:37 +02:00