nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
Alexander Bruy
69e9d99c49
[processing] fix GRASS provider (follow up a1642a37)
2016-12-29 14:09:02 +02:00
DelazJ
828e447991
More spelling fixes
...
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01:00
Matthias Kuhn
3fba3ac775
[processing] Quote and escape script exported ParameterString
2016-12-22 11:26:28 +01:00
Matthias Kuhn
55e3ea033a
[processing] Fix some script parameter export/import issues
2016-12-22 11:21:32 +01:00
Matthias Kuhn
0a686c4fca
[processing] Make ParameterFixedTable scriptable
2016-12-21 14:21:36 +01:00
Matthias Kuhn
2af00beddc
[processing] Don't hide errors when resolving script paramters
2016-12-21 13:17:31 +01:00
Alexander Bruy
97780b6be6
[processing] fix incorrect parameter construction
2016-12-20 14:41:58 +02:00
volaya
0035c97f5b
Merge pull request #3725 from arnaud-morvan/processing_geometry_predicate
...
[processing] Remove parameter geometry predicate
2016-12-13 15:58:16 +01:00
volaya
170a94680d
[processing] removed grass6 provider
2016-12-13 15:55:21 +02:00
arnaud.morvan@camptocamp.com
322a565b8b
[processing] Remove ParameterGeometryPredicate
2016-12-12 15:21:16 +01:00
arnaud.morvan@camptocamp.com
65a4e97a75
[processing] Support options as (value, text) in ParameterSelection
2016-12-12 15:12:55 +01:00
Nyall Dawson
bef5b5ed68
[processing][heatmap] custom parameter/widget for output resolution
...
Matches current behaviour of c++ heatmap plugin
2016-12-07 12:23:58 +10:00
volaya
420b7ec902
[processing] removed incompatible basestring check
2016-12-01 14:37:36 +01:00
Alexander Bruy
50a785bdd6
[processing] indentation update
2016-12-01 12:53:57 +01:00
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
Nyall Dawson
08505b388a
[processing] Allow restricting fields to date/time types
2016-11-30 15:04:21 +10:00
Nyall Dawson
86ab3022b5
Remove layer extent and statistic variables from processing contexts
...
These variables take a lot of time to calculate and cause lots of
lengthy hangs in processing. (Eg add some moderately large rasters
to a project, then try to run any processing algorithm and QGIS
will freeze).
The layer extent can already be used in expressions via the
layer_property function, which only evalutes the extent if required
and only for layers it is used for.
The band stats for raster layers should be moved to a
band_statistic function in core which behaves the same way.
2016-11-22 11:17:38 +10:00
Nyall Dawson
377cba0b74
[processing] Use real map settings scope instead of custom canvasextent variables
2016-11-22 11:17:38 +10:00
Nyall Dawson
f24cda4402
[processing] Add unit tests for retrieving param from script code
...
And fix number param retrieving from script code
2016-11-13 20:34:35 +10:00
Nyall Dawson
28d7ceaef5
Some fixes to processing expression parameters
2016-11-11 20:13:12 +10:00
Nyall Dawson
132e76a596
[FEATURE][processing] New input type for expressions
...
This adds a new input type for expression inputs. Expression
inputs can be linked to a parent layer so that the builder
shows the correct fields and layer variables.
It's designed for two use cases:
1. to be used when an algorithm specifically requires an expression,
eg Select by Expression and Extract by Expression.
2. to be potentially used as a replacement input instead of string
or number literals in algorithms. Eg - if the simplify algorithm
tolerance parameter was replaced with an expression paremeter, then
this expression would be evaluated for every feature before
simplifying that feature. It would allow parameters to be calculated
per feature, as opposed to the current approach of calculating
a parameter once before running the algorithm. It would also
mean algorithms like "variable distance buffer" would no longer
be needed, as a single "buffer" algorithm could then be used
for either a fixed distance, field based, or expression based
distance.
2016-11-11 13:26:31 +10:00
Nyall Dawson
3550cc99a6
[processing] Allow algorithms to specify tags
...
Tags are used while searching in the toolbox. This should help with
finding algorithms when the exact name is not known, eg
you could search for "envelope" or "bounds" and find the
'Polygon from Layer Extent' algorithm.
At the moment it's quite hard to discover algorithms which exist
when you don't know what their called and have to instead search
for every possible naming variant which could exist...
2016-11-08 10:15:31 +10:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
Sandro Santilli
06976a2e87
Make Extent and Extent CRS GDAL parameters optional
...
Specify what the default is when extent CRS is not specified.
Allow using "auto" to have extent automatically set to min covering extent.
Fixes #15685
2016-10-20 10:51:30 +02:00
volaya
b83fbb16c9
[processing] warn if extent might not be in the expected CRS
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
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
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
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