Nyall Dawson
6144b1c5d9
Resurrect Field Calculator algorithm, add test
2017-08-20 18:21:02 +10:00
Juergen E. Fischer
dae6666aa5
translation string fixes
2017-08-19 13:51:43 +02:00
Giovanni Manghi
3cc3946029
improves grass7 v.in.dxf making a couple of parameters optional/mandatory
2017-08-19 07:42:14 +02:00
Nyall Dawson
114f071cf8
Don't generate triangulation files by default in TIN algorithm
2017-08-19 05:08:40 +10:00
Nyall Dawson
090bb9bba4
Use QgsFeedback instead of QProgressDialog in tin interpolator
2017-08-19 05:05:40 +10:00
Nyall Dawson
000c86e7de
Restore TIN interpolation algorithm
2017-08-19 04:56:48 +10:00
Nyall Dawson
356588abf0
Use QgsFeedback in QgsGridFileWriter instead of QProgressDialog
2017-08-19 04:08:04 +10:00
Nyall Dawson
a07ea33340
Port IDW Interpolation alg to new API
2017-08-19 04:03:50 +10:00
Nyall Dawson
355cff191d
Add Map Layer input parameter type for models
...
Since algorithms now use this parameter type (render map alg)
we also need to allow its use in models
2017-08-19 03:45:51 +10:00
Nyall Dawson
7d69e5f5af
Expose all layer type filters to both model feature source, vector
...
layer and multi layer inputs
Refs #17030
2017-08-19 03:36:33 +10:00
Nyall Dawson
370b26798f
Fix wrapped c++ object has been deleted error when editing model parameters
...
Fixes #16858
2017-08-19 03:24:28 +10:00
Nyall Dawson
ebda2fd212
Rename some enum values for clarity
2017-08-19 02:46:22 +10:00
Nyall Dawson
076fdc9449
Port rectangles, ovals, diamonds to new API
2017-08-19 02:37:39 +10:00
Nyall Dawson
48202165fc
Port build virtual vector alg to new API
2017-08-19 01:26:55 +10:00
Nyall Dawson
f2d2777bf3
Model vector layer inputs can also be used for feature source parameters
2017-08-19 01:09:22 +10:00
Nyall Dawson
f1ac0be867
Fix processing setting to use filename as layer name
2017-08-19 00:56:18 +10:00
Nyall Dawson
7879c0a20b
Fix processing rendering styles for output dialog, functionality
2017-08-19 00:47:21 +10:00
Nyall Dawson
0a4a7acf58
Port set raster style alg to new API
2017-08-19 00:30:32 +10:00
Nyall Dawson
387e04974a
Allow selecting wildcard filter for any file input parameter
2017-08-19 00:23:43 +10:00
Nyall Dawson
cfbc00990b
Restore Set style for vector layer alg
2017-08-19 00:23:25 +10:00
Nyall Dawson
be48f17e2c
Use a QgsFeedback object in QgsRelief instead of QProgressDialog
2017-08-19 00:09:12 +10:00
Nyall Dawson
f6600f23aa
Port raster relief alg to new API
2017-08-19 00:01:58 +10:00
Nyall Dawson
be46b756ea
Port hypsometic curves to new API
2017-08-18 15:35:27 +10:00
Nyall Dawson
c4011ad337
Port oriented minimum bounds to new API
2017-08-18 15:22:13 +10:00
Nyall Dawson
37b899fb99
Add a pure virtual clone method to processing parameter definitions
...
And use it when we need to clone parameters (instead of more fragile
conversion to and from variants)
This fixes model loading which use algorithms which create python
subclasses of parameter definitions
2017-08-18 01:22:07 +10:00
Nyall Dawson
7dbfc5202f
Merge pull request #4210 from arnaud-morvan/processing_aggregate
...
[processing] [needs-docs] Add aggregate algorithm
2017-08-18 00:28:35 +10:00
Nyall Dawson
7b2250bb35
Convert processing tests to use native algs where they exist
2017-08-17 20:20:58 +10:00
Nyall Dawson
8139786605
Allow adding manual layers in modeler multi layer alg parameters
...
This allows creation of models with child algorithms which do
things like merge a selected layer with a predefined static
layer, or create a vrt with a mix of static and user selected
layers.
2017-08-17 06:00:28 +10:00
Nyall Dawson
aefd5cce30
Fix exception when editing multi layer parameter in model
2017-08-17 05:18:33 +10:00
Nyall Dawson
b318aff6ff
Fix multi layer parameters in models not giving all options for inputs
2017-08-17 05:12:11 +10:00
Nyall Dawson
48eccc379d
Default to vrt extension for build vrt alg output
2017-08-17 04:11:53 +10:00
Nyall Dawson
0a7bb4869b
Allow selecting multiple items in processing multi layer input dialog
...
And selecting/deselecting only these items. Otherwise it can be quite
cumbersome to manually select complex sets of items (e.g. try needing
to select ~50% of the layers in a large project - there's currently
no quick way to do this.) With this change you can at least
ctrl/shift click to create selections quicker.
2017-08-17 03:52:40 +10:00
Nyall Dawson
1f2ea024f2
Allow adding layers which aren't open in the project to processing
...
parameters which accept lists of multiple layers
E.g. build vrt alg, merge vector layers alg
Otherwise you may need to load 100's of layers temporarily into
a project to perform algs on them
2017-08-17 03:52:40 +10:00
Nyall Dawson
a5a4d3b7e1
Port gdal build vrt to new API
2017-08-17 03:52:40 +10:00
Matthias Kuhn
f610ffaf52
Remove ParameterDataObject
2017-08-16 19:12:12 +02:00
arnaud.morvan@camptocamp.com
4b5d81b370
[processing] Add Aggregate algorithm
2017-08-16 10:46:15 +02:00
Mathieu Pellerin
a9d8d395d2
[processing] restore near black and hillshade gdal algs ( #5028 )
2017-08-16 11:26:10 +07:00
Denis Rouzaud
19efee8a61
alog:along typo ( #5025 )
2017-08-15 18:21:35 +02:00
Nyall Dawson
aece517c50
Avoid duplicate geometry columns, invalid geometry column name in gdal points along lines alg
2017-08-15 20:58:08 +10:00
Nyall Dawson
3d1be95ad2
More comprehensive updating of gdal command when parameters change
2017-08-15 20:57:27 +10:00
Alessandro Pasotti
7d4f81d4c6
Merge pull request #5019 from boundlessgeo/gpkg-dbmanager-sync
...
Geopackage: Use the same settings for DB Manager and browser
2017-08-14 16:42:38 +02:00
Alessandro Pasotti
04f79d174d
Geopackage: Use the same settings for DB Manager and browser
2017-08-14 15:04:54 +02:00
arnaud.morvan@camptocamp.com
b26e6812d4
[processing] Check all parameter's values in ModelerParametersDialog
...
Check that all parameter's values pass the validity check,
even if not returned as QgsProcessingModelChildParameterSource.
In case of list, tests that it is really a QgsProcessingModelChildParameterSource list,
and create a QgsProcessingModelChildParameterSource from the list if it is not the case
(useful for custom parameters that return lists as ParameterFieldsMapping).
2017-08-14 13:48:50 +02:00
arnaud.morvan@camptocamp.com
b3a9e46cfe
[processing] Port refactor fields to new API
2017-08-14 13:48:50 +02:00
Nyall Dawson
f9750dde52
Port gdal color relief to new API
2017-08-14 05:55:50 +10:00
Nyall Dawson
1cbbbc4b83
Port gdal tri alg to new API
2017-08-14 05:49:18 +10:00
Nyall Dawson
ab2886dc63
Port gdal assign projection to new api
2017-08-14 05:41:54 +10:00
Nyall Dawson
19e5886b87
More reliable updates to the gdal command shown
...
By also checking for child widget signals - otherwise we don't
catch signals when compound widgets (such as raster layer source
widgets) are changed
2017-08-14 05:41:00 +10:00
Nyall Dawson
95fe5cdc04
Fix errors calculating gdal command when dialog is being constructed
2017-08-14 05:24:59 +10:00
Nyall Dawson
ba6e2dc940
Fix showing gdal command in algorithm dialog
2017-08-14 05:19:29 +10:00