3777 Commits

Author SHA1 Message Date
volaya
e1072e9718 [processing] added missing validators for param values in modeler 2016-10-05 12:38:14 +02:00
volaya
4751b70675 [processing] fixed advanced parameters in modeler 2016-10-05 12:38:13 +02:00
volaya
a1642a376f [processing] fixed loading of parameters for grass algorithms 2016-10-05 12:38:12 +02:00
volaya
e08fdaa444 [processing] support for expressions in numerical values in modeler
includes cleanup of modeler, to adapt to latest changes in parameters architecture
2016-10-05 12:38:11 +02:00
volaya
fe5d0166cc [processing] added multiple option to ParameterTableFIeld
removed ParameterTableMultipleField and did some cleanup
2016-10-05 12:38:09 +02:00
volaya
bc06600871 [processing] more work on parameter wrappers 2016-10-05 12:35:03 +02:00
volaya
e353d226a8 [processing] evaluate parameters before executing algorithm
This allows a better use of expressions
2016-10-05 12:35:02 +02:00
volaya
01f380863f [processing] improvements for scripts and R scripts 2016-10-05 12:35:01 +02:00
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
b298c76ee4 [processing] implemented parameter widget wrappers
Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
	python/plugins/processing/gui/ExtentSelectionPanel.py
	python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
volaya
8cc9a50a52 [processing] moved script syntax from script algorithm class to parameters classes 2016-10-05 12:34:57 +02:00
arnaud.morvan@camptocamp.com
a69b358aa7 Create dedicated widget wrapper for modeler 2016-10-05 12:34:56 +02:00
arnaud.morvan@camptocamp.com
6158e9b340 Add CrsWidgetWrapper 2016-10-05 12:34:55 +02:00
arnaud.morvan@camptocamp.com
bb0938a5fe Use boolean wrapper in modeler algorithm dialog 2016-10-05 12:34:54 +02:00
arnaud.morvan@camptocamp.com
fbab369c0d Use boolean wrapper in batch algorithm dialog
Conflicts:
	python/plugins/processing/gui/BatchPanel.py
2016-10-05 12:34:53 +02:00
arnaud.morvan@camptocamp.com
f3c9aaaa2b Use boolean wrapper in standard algorithm dialog
Conflicts:
	python/plugins/processing/gui/AlgorithmDialog.py
2016-10-05 12:34:52 +02:00
arnaud.morvan@camptocamp.com
728be70c0b Create the boolean widget wrapper 2016-10-05 12:34:50 +02:00
arnaud.morvan@camptocamp.com
ecb7b3a096 Remove metadata from parameter.todict (do not save in model) 2016-10-05 12:34:49 +02:00
arnaud.morvan@camptocamp.com
2ad27b172e Add metadata property to parameters 2016-10-05 12:34:48 +02:00
volaya
484fd18ef6 [processing] fixed add model from file
fixes #15335
2016-10-05 12:34:47 +02:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +03:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00
Juergen E. Fischer
ffaffadbfa fix typos 2016-10-01 17:58:12 +02:00
Matthias Kuhn
4a7a8ff263 Update python code 2016-10-01 15:39:03 +02:00
rldhont
37951baf45 [Processing] Uses os.path.join instead of + os.sep + (#3552) 2016-10-01 08:35:56 +02:00
volaya
170ff9fe12 Merge pull request #3493 from rldhont/processing_rscripts_temprscritpfilename
[Processing][Rscripts] Use temp script filename
2016-09-29 13:52:20 +02:00
Juergen E. Fischer
dedf4a5ac6 gdal tools: disconnect canvas signal after building vrt (fixes #15389)
(cherry picked from commit e963fff346aafdb87494c9a33c4cddd3754ab5b1)
2016-09-28 17:55:41 +02:00
rldhont
4feeab85a5 [Processing][Rscripts] Use temp script filename
The build RScript is stored in the User folder, so the script is erased at each RAlgorithm execute.
Server side or for debugging this could be a problem.
So processing_script.r will be stored in temp folder.
2016-09-28 11:05:41 +02:00
Mathieu Pellerin
eefeef573d fix a couple of python warnings (#3526) 2016-09-23 07:36:05 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
volaya
e4e5cda685 Merge pull request #3514 from volaya/grass_icon_fix
[processing] fixed grass icon loading
2016-09-21 13:29:35 +02:00
volaya
2fda177c0e [processing] fied issue with grass icons slowing down toolbox
fixes #15550
2016-09-21 13:26:40 +02:00
Tom Kralidis
26b61a2d7c Merge pull request #3515 from rcoup/patch-1
MetaSearch: Update LINZ Data Service default URL
2016-09-21 06:43:45 -04:00
Nyall Dawson
88e4410af1 Require Qt >= 5.5 2016-09-21 09:12:54 +10:00
Robert Coup
db0b787e4e MetaSearch: Update LINZ Data Service default URL
The existing CSW URL is still supported for backwards compatibility, but `/services/csw/` is the preferred path going forward. They're backed by the same code and results will be identical.

Current url is shown at eg. https://data.linz.govt.nz/layer/767-nz-topo50-maps/webservices/
2016-09-20 13:00:48 +01:00
Mathieu Pellerin
cd1d44be9d [db manager] python3 support (#3512) 2016-09-20 09:34:36 +02:00
rldhont
3661bc39db [Processing] bugfix: intersection QGIS algorithm
fixing this by testing int_com.
```
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS2~1.17/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/PROGRA~1/QGIS2~1.17/apps/qgis/./python/plugins\processing\algs\qgis\Intersection.py", line 100, in processAlgorithm
int_geom = QgsGeometry(int_com.difference(int_sym))
```

AttributeError: 'NoneType' object has no attribute 'difference'
2016-09-19 10:29:03 +02:00
Sandro Santilli
91052d5496 Use nullSymbol for label-only layers in topology viewer 2016-09-16 13:41:23 +02:00
Nyall Dawson
7f9cc87f85 Merge pull request #3494 from nyalldawson/deprecated
Remove remaining deprecated methods
2016-09-16 21:02:25 +10:00
Alexander Bruy
75269d66b9 [processing] allow all field types as unique ID field in Mean coords alg 2016-09-16 12:43:08 +03:00
Alexander Bruy
8bf95fea5e [processing] refactor ogr buffer algorithm 2016-09-16 12:03:45 +03:00
Alexander Bruy
6f6979ab0b [processing] remove obsolete methods 2016-09-15 19:50:51 +03:00
Alexander Bruy
11f8aa2319 [processing] fix search by alg name (fix #15562) 2016-09-15 19:50:51 +03:00
Bernhard Ströbl
4fc29de41c [processing] Fix typos 2016-09-15 13:34:13 +02:00
Bernhard Ströbl
631d262490 [processing] Update description for dissolve 2016-09-15 13:33:15 +02:00
rldhont
30b6e7e615 GdalTools: In widgetBatchBase runItem method, refreshArgs is not a SIGNAL
The commit 9db908ccbc2257d466c0593738944a08cea8a8bc GdalTools: new style signals generates a regression
In the widgetBatchBase runItem method, refreshArgs is not a SIGNAL
2016-09-15 11:52:17 +02:00
Nyall Dawson
fe65063c2b Remove many deprecated methods 2016-09-15 18:34:15 +10:00
Alexander Bruy
d393734bd3 [processing] correct error message (fix #15511) 2016-09-15 11:11:51 +03:00