245 Commits

Author SHA1 Message Date
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
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
36abbc427c [processing] allow multiple values in ParameterSelection 2016-10-05 12:38:32 +02:00
volaya
53d0372cad [processing] return copy of object dictionary in parameter todict method 2016-10-05 12:38:26 +02:00
volaya
d07aef9c5b [processing] added missing return statement in getParameterFromString 2016-10-05 12:38:25 +02:00
volaya
257faf3083 [processing] fixed evaluation of output values 2016-10-05 12:38:24 +02:00
volaya
0ea66299c8 [processing] fixed error in constructor of ParameterTableField 2016-10-05 12:38:23 +02:00
volaya
dfb4cdd34b [processing] moved output value evaluation to output object itself 2016-10-05 12:38:20 +02:00
volaya
bd06316c9d [processing] richer expressions in number parameters 2016-10-05 12:38:16 +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
6158e9b340 Add CrsWidgetWrapper 2016-10-05 12:34:55 +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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
6f6979ab0b [processing] remove obsolete methods 2016-09-15 19:50:51 +03:00
arnaud.morvan@camptocamp.com
d85de7ccd8 Fix ParameterGeometryPredicate.getValueAsCommandLineParameter 2016-09-08 19:44:45 +02:00
arnaud.morvan@camptocamp.com
c369710667 Calculate min coverage on execution 2016-09-04 17:58:17 +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
Alexander Bruy
6a7fa7dd5a [processing] add missed error() method 2016-08-23 11:25:14 +03:00
Alexander Bruy
acdde31b3d [processing] more cleanups (follow up 06c4b07222) 2016-08-05 15:05:36 +03:00
Alexander Bruy
4c39bd12e8 [processing] introduce OutputCrs output and add algorithms to get layer CRS in modeler 2016-08-05 12:55:26 +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
Nyall Dawson
fbc5e0fc8e Fix indentation 2016-06-07 11:11:59 +10:00
Marco Bernasocchi
f9ab7223fc [processing] ParameterTableMultipleField type added
This adds a widget with multiple column attributes selector
2016-06-03 09:27:51 +02:00
Marco Bernasocchi
2dea7c8c93 [processing] allow optional in all getAsScriptCode 2016-06-03 09:27:51 +02:00
volaya
99c16f0ba5 [processing] added activateProvider method in Processing class 2016-06-02 09:45:59 +02:00
volaya
61e26fd8f3 [processing] fixes for issues with 3rd party providers being loaded and unloaded 2016-06-01 15:21:03 +02:00
volaya
0272ebc2e8 [processing] fixed check to avoid adding a provider that is already added 2016-06-01 13:20:57 +02:00
Salvatore Larosa
83502c55b3 [processing] add again the algorithm name after being removed mistakenly in 507aeb0 2016-05-31 15:56:42 +02:00
Juergen E. Fischer
797826ea5b spelling fixes 2016-05-31 03:36:27 +02:00
rldhont
d8ccec0e0a [Processing] add an algs static method to Processing for server 2016-05-28 12:41:30 +02:00
Alexander Bruy
cc7eb27a27 [processing] drop WebView dependency (follow up 38f6ace4c0) 2016-05-27 20:38:51 +03:00
volaya
c080c2035b [processing] fixed default extension selection 2016-05-27 11:27:23 +02:00
Alexander Bruy
d16f04bf3a [processing] support multiple scripts/models folders (fix #10476) 2016-05-26 13:56:21 +03:00
volaya
997a3683a0 [processing] removed wrong import 2016-05-25 17:53:07 +02:00
volaya
3607e269c6 [processing] improvements for new mechanism for adding algorithms
Correctly remove algorithms on plugin unload
2016-05-24 10:27:38 +02:00
volaya
bc75862e53 [processing] fixed header 2016-05-23 19:36:16 +02:00
volaya
2eebe0d314 [processing] additional mechanism to add scripts from 3rd party plugin 2016-05-23 19:36:16 +02:00
volaya
33fc3be15f [processing] separated alglist to its own module 2016-05-23 19:36:16 +02:00
volaya
9a5c5835ef [processing] moved imports to initialize providers to a separate module 2016-05-23 19:34:25 +02:00