Nyall Dawson
92397537fe
Check validity outputs counts of valid/invalid features
2017-06-12 07:26:02 +10:00
Nyall Dawson
e49cc78674
Make html output in basic stats algorithm optional
2017-06-12 07:26:02 +10:00
Nyall Dawson
386c4246b2
Merge algorithm reprojects layers so that all features are
...
in CRS of first input layer
2017-06-12 07:26:02 +10:00
Nyall Dawson
5ba0b5cd83
Port merge alg to new API
2017-06-12 07:26:02 +10:00
Nyall Dawson
ea18e8e9db
Resurrect grid polygon algorithm
2017-06-12 07:26:02 +10:00
Nyall Dawson
d8260b8c47
[FEATURE] Port Extract by Expression to new API, allow saving
...
non matching features to separate output
2017-06-12 07:26:02 +10:00
Nyall Dawson
a6a3027ea6
[processing] Clip alg allows mask in different CRS to clipped layer
2017-06-12 07:26:02 +10:00
PedroVenancio
aedb95b1aa
Fixes GRASS 7 v.net.alloc #16672
2017-06-10 09:41:05 +01:00
Nyall Dawson
8c73bcbcfe
[FEATURE] Port CheckValidity alg to new API
...
Also make outputs optional from the alg - now you can select
which outputs you need for your model!
2017-06-09 14:24:27 +10:00
Nyall Dawson
2d2dff9b4a
Restore basic stats alg
2017-06-09 13:17:48 +10:00
Harrissou Sant-anna
fcc06ce380
More typo fixes
2017-06-08 09:55:25 +02:00
Harrissou Sant-anna
a148a7890d
Typo fix and list ordering
2017-06-08 09:55:25 +02:00
Nyall Dawson
7d9cc131e8
Merge pull request #4657 from DelazJ/patch-1
...
Typo fix: Add missing spacing
2017-06-08 10:17:10 +10:00
Nyall Dawson
de9e70e6ba
Merge pull request #4684 from nyalldawson/processing_pt3
...
Add sourceExtent method to QgsFeatureSource
2017-06-06 21:50:45 +10:00
Nyall Dawson
448f019e1f
Port polygon from layer extent alg to new API
2017-06-06 18:29:09 +10:00
Alexander Bruy
a137a7c0f3
[processing] open help in the default webbrowser to be consistent with
...
the rest of QGIS dialogs
2017-06-06 10:51:22 +03:00
Nyall Dawson
1d2e54d1ba
Port delete columns alg to new API
2017-06-06 16:06:27 +10:00
Nyall Dawson
f1511a290c
Port clip algorithm to new API
2017-06-06 15:54:10 +10:00
Nyall Dawson
47a40edb7f
Port BarPlot alg to new API
2017-06-06 15:39:55 +10:00
Nyall Dawson
f0f0411e7b
Port addautoincrementalfield to new API
2017-06-06 14:46:55 +10:00
Nyall Dawson
dfb687bf64
Port aspect algorithm to new API
2017-06-06 14:39:07 +10:00
Nyall Dawson
f64f74fb63
Fix incorrect import
2017-06-06 13:41:42 +10:00
Nyall Dawson
d53fa8d2af
Port another alg to new API
2017-06-06 12:36:10 +10:00
Nyall Dawson
d7aa3f5f7c
[processing] Change explicit encoding string parameters to more
...
flexible QVariantMap creatOptions parameters which include an
optional fileEncoding value
More flexible, allows sinks to be created using any creation
option which is passed to the underlying provider
2017-06-06 08:00:28 +10:00
Nyall Dawson
379d060de4
Resurrect another Python QGIS algorithm
2017-06-06 07:41:20 +10:00
Nyall Dawson
a658135693
Remove global processing use selection setting
2017-06-06 07:41:20 +10:00
Nyall Dawson
7f687345f8
[FEATURE][processing] Add checkbox for each vector input layer
...
to control whether selected features only are to be used
Replaces the old global setting and makes it immediately obvious
to users when the selection will be respected
2017-06-06 07:41:20 +10:00
Nyall Dawson
f9887aabf5
[processing] Remove more UseSelectionIfPresent use
2017-06-06 07:41:20 +10:00
Nyall Dawson
d85522582a
Temporarily deactivate more algorithms
2017-06-06 07:41:20 +10:00
Nyall Dawson
b6fb41d4ee
[processing] Don't use vector layers directly as feature sources
...
Instead, parameters evaluate to QgsFeatureSource, which are
used for retrieving features, feature count, crs, wkb type,
etc.
This abstracts away the actual feature source, so that
algorithms may potentially operate from non-layer
feature sources.
It also helps remove the need for specialised QgsProcessingUtils
methods like getFeatures, featureCount, and createSpatialIndex.
Instead the standard API methods using QgsFeatureSources can
be used instead.
2017-06-06 07:41:20 +10:00
Nyall Dawson
5b8affcb56
Rename QgsProcessingParameterOutputVectorLayer to QgsProcessingParameterFeatureSink
2017-06-06 07:41:20 +10:00
Nyall Dawson
770c45da12
Rename QgsProcessingParameterVectorLayer to QgsProcessingParameterFeatureSource
...
Helps abstract away sources to allow non vector layer sources in future
2017-06-06 07:41:20 +10:00
Nyall Dawson
ffce9c9f1e
Add direct method to retrieve QgsFeatureSink from parameter
2017-06-06 07:41:20 +10:00
Nyall Dawson
937347582c
Indentation
2017-06-06 07:41:20 +10:00
Nyall Dawson
a951424287
QgsProcessingParameterVectorLayer accepts lists of vector layer types
2017-06-06 07:41:19 +10:00
Nyall Dawson
bdf051a03a
Partially port a trial python alg to new API
2017-06-06 07:41:19 +10:00
Nyall Dawson
0c3ad14c79
Adapt more python code to new API
2017-06-06 07:41:19 +10:00
Nyall Dawson
87fc31d6de
Adapt more python code to new API
2017-06-06 07:41:19 +10:00
Nyall Dawson
416770b197
Remove no longer required _resolveLayers method
2017-06-06 07:41:19 +10:00
Nyall Dawson
ba03f1a13a
Move minimum layer extent calculation to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
189f804714
Adapt more code to c++ API
2017-06-06 07:41:19 +10:00
Nyall Dawson
ef59d0c454
Port parameter checking to c++
2017-06-06 07:41:19 +10:00
Nyall Dawson
c1d9d57dd2
First working pure c++ algorithms
2017-06-06 07:41:19 +10:00
Nyall Dawson
4cb7d18b1c
Push parameters into processAlgorithm and related functions
2017-06-06 07:41:19 +10:00
Nyall Dawson
f1c53c3aa4
Refactor Algorithm setParamValues -> getParamValues
...
Now returns a dict of parameter inputs for the algorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
77ab933788
Move alg character definitions to __init__
2017-06-06 07:41:19 +10:00
Nyall Dawson
168f16276c
Remove help related methods from GeoAlgorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
2d1579d28a
Port algorithm help to QgsProcessingAlgorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
1e788556f0
Port getCustomParametersDialog to QgsProcessingAlgorithm
2017-06-06 07:41:19 +10:00
Nyall Dawson
fac8ca4d4f
Move execution check to QgsProcessingAlgorithm
2017-06-06 07:41:19 +10:00