548 Commits

Author SHA1 Message Date
volaya
dfb4cdd34b [processing] moved output value evaluation to output object itself 2016-10-05 12:38:20 +02:00
volaya
2bb6e4c19f [processing] Asumme standard dialog when wrapper’s parent dialog is of unknown class 2016-10-05 12:38:19 +02:00
volaya
a4a74b631a [processing] removed commented lines 2016-10-05 12:38:17 +02:00
volaya
bd06316c9d [processing] richer expressions in number parameters 2016-10-05 12:38:16 +02:00
volaya
e1072e9718 [processing] added missing validators for param values in modeler 2016-10-05 12:38:14 +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
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
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
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
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
11f8aa2319 [processing] fix search by alg name (fix #15562) 2016-09-15 19:50:51 +03:00
Alexander Bruy
8ac1460d0e [processing] fix progress reporting (fix #15521) 2016-09-14 09:20:10 +03:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
volaya
8de9757f54 Merge pull request #3456 from arnaud-morvan/processing_apply_use_coverge_on_execution
[Processing] Calculate min coverage on execution
2016-09-05 09:03:06 +02:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Nyall Dawson
0ead08b5b0 Fix incorrect QtGui import 2016-09-05 09:50:34 +10:00
arnaud.morvan@camptocamp.com
c369710667 Calculate min coverage on execution 2016-09-04 17:58:17 +02:00
Juergen E. Fischer
474b9d86b2 processing: use main vector menu translation (fixes #14535)
(cherry picked from commit 11289a0d973e6e4a3f7f81972dd08f2e6d82941e)
2016-09-03 20:19:43 +02:00
volaya
7ddaf9039d Merge pull request #3430 from alexbruy/output-vector
[processing] support for explicit output vector types
2016-09-02 08:40:37 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Alexander Bruy
7e26124c2b [processing] support for output geometry types (work in progress) 2016-09-02 09:28:32 +03:00
volaya
6054bb9518 Merge pull request #3415 from arnaud-morvan/processing_reset_menus
[processing] Add a reset menus button
2016-09-02 08:27:51 +02:00
Juergen E. Fischer
420311e7f1 processing: fix population of commander combobox (fixes #15283)
(cherry picked from commit d3882d5)
2016-08-28 23:00:10 +02:00
Alexander Bruy
57b5a7c843 Merge pull request #3431 from arnaud-morvan/processing_batch_none
[processing] do not set "None" value in batch panel string widgets
2016-08-24 14:36:06 +03:00
Alexander Bruy
6475fd2129 fix typo 2016-08-24 00:03:07 +03:00
arnaud.morvan@camptocamp.com
f0413e36d6 Do not set "None" value in batch panel string widgets 2016-08-23 17:52:10 +02:00
volaya
008d3cd79a [processing] fixed extent selection from batch processing interface
fixes #15408
2016-08-23 14:41:20 +02:00
Alexander Bruy
6a7fa7dd5a [processing] add missed error() method 2016-08-23 11:25:14 +03:00
arnaud.morvan@camptocamp.com
e716bae82f Process deleteLater events before recreating processing menus 2016-08-22 10:18:51 +02:00
arnaud.morvan@camptocamp.com
09671197e7 Add button to reset processing menus in config dialog 2016-08-21 18:18:35 +02:00
Nyall Dawson
001ae44b67 [processing] If supported, use memory layers instead of shapefiles
when writing to a temporary result

Avoids truncation of field names and other format specific
limitations
2016-08-14 13:32:38 +10:00
Nyall Dawson
e9423dc4dd [processing] Rework centroid algorithm to handle non-polygon layers
The existing polygoncentroids algorithm has been deprecated
(and hidden from the toolbox), and a new, generic centroids
algorithm added which works with lines and multipoints
2016-08-12 07:50:47 +10:00
Alexander Bruy
acdde31b3d [processing] more cleanups (follow up 06c4b07222) 2016-08-05 15:05:36 +03:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Alexander Bruy
02e846ab5e expand all groups if filter applied 2016-08-02 11:23:51 +03:00
Alexander Bruy
592c33f41e [FEATURE][processing] add search to Get Scripts and Models dialog (fix #12067) 2016-08-02 11:23:25 +03:00
Nyall Dawson
fda93dfc57 [processing] Fix broken multi field selection widget 2016-08-02 11:53:11 +10:00
Alexander Bruy
98a5527406 [processing] add missed import (fix #15359) 2016-08-01 15:04:21 +03:00
radosuav
1da60c530d [Processing] Fix exception on right click ToolboxAction (#3347) 2016-08-01 00:09:23 +02:00
Alexander Bruy
01dd338677 [processing] fix dialog title 2016-07-25 16:24:44 +03:00
Alexander Bruy
48cca3bc12 [processing] always use user-defined default folder for scripts/models 2016-07-25 16:22:21 +03:00
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00