Nyall Dawson
d1a93e0e13
Restore points layer from table algorithm
2017-06-28 17:38:17 +10:00
Mathieu Pellerin
a6b14a0b40
[processing] restore zonal statistics (qgis) alg ( #4784 )
2017-06-27 18:09:44 +07:00
Nyall Dawson
7f7842a11d
Merge pull request #4783 from nyalldawson/script
...
processing: restore script algorithm provider and tests
2017-06-27 14:15:36 +10:00
Nyall Dawson
4f096a6f8b
Feature source parameters cannot be used for vector layer algorithm
...
parameters in models
There's not a 1:1 correlation here - vector layers can be used
as inputs for sources, but sources cannot be used when a
full vector layer is required.
2017-06-27 13:18:22 +10:00
Nyall Dawson
e171fe30c0
Restore script based algorithm tests
2017-06-27 13:18:22 +10:00
Nyall Dawson
ae829857ca
Restore select by expression algorithm
2017-06-27 13:18:22 +10:00
Nyall Dawson
f98bcb2b81
Update processing.run() for new API
2017-06-27 13:18:22 +10:00
Nyall Dawson
14347a431e
Also add results to results dock when running through algorithm dialog
2017-06-27 13:18:22 +10:00
Nyall Dawson
1e5d773e57
Fix use of temporary files for outputs
2017-06-27 13:18:22 +10:00
Nyall Dawson
3a9a0efc33
Resurrect select by attribute algorithm
2017-06-27 11:42:58 +10:00
Nyall Dawson
4e93f8d038
Don't set override cursor in processing.run
...
Callers may not want this, so leave it up to them to set
an override caller if desired
2017-06-27 11:24:59 +10:00
Nyall Dawson
3286ebb470
Explicit parameters, feedback, context arguments for processing.run
2017-06-27 11:24:33 +10:00
Nyall Dawson
2a1cdead51
processing.run requires a dictionary for parameters
2017-06-27 11:19:29 +10:00
Nyall Dawson
792a252ef8
Fix script algorithm centroids tests
2017-06-27 11:12:20 +10:00
Nyall Dawson
96c5453ae2
Restore save selected features algorithm
2017-06-27 11:11:54 +10:00
Nyall Dawson
449d8f8c0b
Restore script algorithm provider
2017-06-27 10:50:07 +10:00
Nyall Dawson
0b4bb9e998
Remove manually set tab bar height in algorithm dialog
...
Breaks dialog layout on hidpi screens
2017-06-27 10:49:31 +10:00
Nyall Dawson
1468eef635
Merge pull request #4781 from nyalldawson/centroid_tests
...
Reenable centroid algorithm tests
2017-06-27 10:34:23 +10:00
Nyall Dawson
11f42eb432
Reenable centroid algorithm tests
2017-06-27 09:46:56 +10:00
Nyall Dawson
86d33c1875
Restore frequency analysis script
...
This script has been changed to use a sink output, not the previous
TableWriter csv output.
All algorithms which output flat tables should now still output
feature sinks, to allow correct use in later model steps.
2017-06-27 08:33:13 +10:00
Nyall Dawson
d49114cfc1
Correct parameter evaluation for multiple field types
2017-06-27 08:33:13 +10:00
Nyall Dawson
a72eea2256
Fix auto creation of variables when running script algorithms
2017-06-27 08:33:13 +10:00
Nyall Dawson
94619d0df3
Fix incorrect layer source from widget wrapper
2017-06-27 08:33:13 +10:00
Nyall Dawson
11d35821c0
Fix setting number inputs to algorithms in modeler
2017-06-27 08:33:13 +10:00
Nyall Dawson
53e9538ad3
Restore keep n biggest parts script
2017-06-27 08:33:13 +10:00
Nyall Dawson
3bf9ea3682
Restore ability to run script algorithms
2017-06-27 08:33:13 +10:00
Nyall Dawson
df329bceab
Start restoring creation of outputs from string
2017-06-27 08:33:13 +10:00
Nyall Dawson
f13920bb19
First steps in resurrecting script algorithms
2017-06-27 08:33:13 +10:00
Nyall Dawson
0a32add69e
Port exporting model as python code to c++
2017-06-27 08:33:13 +10:00
Nyall Dawson
d16f117b6c
Port conversion to/from script code to c++
2017-06-27 08:33:13 +10:00
Nyall Dawson
178a415c9f
Port parameter conversion to script code to c++
2017-06-27 08:33:13 +10:00
nirvn
1730bc95d1
[processing] include invalid geometries in check validity alg
2017-06-26 10:53:12 +07:00
Mathieu Pellerin
fa8b216eb6
[processing] restore import into spatialite & spatialite execute sql
2017-06-26 10:22:51 +07:00
Nyall Dawson
b88ad8e1ce
Port Fix Geometry algorithm to new API
2017-06-26 12:44:26 +10:00
Nyall Dawson
cc3de626c9
Followup 7ae1ee9, update name
2017-06-26 12:19:43 +10:00
Nyall Dawson
7ae1ee975d
Add sourceName() method to QgsFeatureSource
...
Sometimes it's necessary to retrieve the name of a source...
2017-06-26 12:15:01 +10:00
Nyall Dawson
471776614c
Remove misleading icon from vector split algorithm
...
The algorithm doesn't split geometries - it seperates features
into different layers without altering the geometry
2017-06-24 14:00:49 +10:00
Nyall Dawson
fbcb97c25a
Rename 'delete column' alg to 'Drop field(s)' (for consistency)
2017-06-24 14:00:42 +10:00
Nyall Dawson
e2331c913c
Fix error when deleting models
2017-06-24 13:49:19 +10:00
Nyall Dawson
bb73596406
Load other providers before model provider
2017-06-24 13:49:10 +10:00
Nyall Dawson
5822ef9f46
Refresh model algorithms when providers are added
...
Since algorithms which models are dependent upon may now be
available, we need to rebuild them to ensure that they
will operate correctly.
2017-06-24 13:47:34 +10:00
Nyall Dawson
ab9470dada
More .model -> .model3 updates
2017-06-24 13:34:14 +10:00
Nyall Dawson
5e7fbf44be
Make QgsAlgorithm::setProvider() public
...
Turns out there's valid use cases for calling this from outside
code.
2017-06-24 13:33:44 +10:00
Nyall Dawson
b1cadb1822
Use generic algorithm icon for qgis algorithms which do not
...
have specific icons, instead of generic qgis icon
We consider these 'top level' algorithms, and using the
standard algorithm icon should help reflect this and
differentiate them from 3rd party algorithms.
2017-06-24 12:01:20 +10:00
Nyall Dawson
8f586ef020
Move groups from QGIS (and QGIS native) provider to top level items
...
in processing toolbox
Helps aid in user discoverability of these algorithms, and
indicates to users that these should generally be the
preferred algorithm choices if duplicates exist from other
providers.
2017-06-24 12:01:16 +10:00
Nyall Dawson
d667bf595f
Move iterator exception handling to c++
2017-06-24 08:15:06 +10:00
Nyall Dawson
a8b364e2e2
Port another member to c++
2017-06-24 07:36:46 +10:00
Nyall Dawson
3249015fe1
Fix copy/paste error
2017-06-24 07:36:36 +10:00
Nyall Dawson
ebe0ebdb9c
Fix (unwanted) python exception in algorithm test
2017-06-24 07:36:30 +10:00
Nyall Dawson
8e88276ab5
Remove another member from ModelerAlgorithm
2017-06-24 07:36:25 +10:00