39527 Commits

Author SHA1 Message Date
Nyall Dawson
3232ef9678 Restore random extract + Random Extract within subsets algs 2017-06-22 18:23:38 +10:00
Nyall Dawson
45eac05a25 Restore vector split algorithm 2017-06-22 18:23:07 +10:00
Nyall Dawson
d8c44cb643 Fix creation of feature sinks when using windows style paths 2017-06-22 18:22:43 +10:00
Nyall Dawson
9d8118c995 Fix dest selection panel when used in folder mode
Also fix some UX issues with the panel in folder, such as
correctly remembering/restoring last used folders, defaulting
to home dir, don't clear value when canceling while browsing
2017-06-22 18:21:51 +10:00
Nyall Dawson
76a9844949 Add folder output type 2017-06-22 18:21:33 +10:00
Nyall Dawson
6be4875a82 Restore symmetrical difference alg 2017-06-22 18:21:16 +10:00
Nyall Dawson
66d1a588ae Restore regular points alg 2017-06-22 18:20:56 +10:00
Nyall Dawson
c33f94002d Restore Postgis Execute SQL alg 2017-06-22 18:20:36 +10:00
Nyall Dawson
38f1d9c7e6 Restore import into postgis algorithm 2017-06-22 18:20:14 +10:00
Nyall Dawson
22246dc332 Upgrade postgis widget wrappers to new API 2017-06-22 18:19:50 +10:00
Nyall Dawson
8af308d277 Fix creation of widget wrappers via metadata parameters 2017-06-22 18:19:26 +10:00
Nyall Dawson
1b696a7f65 Make QgsVectorLayerExporter::flushBuffer public
Sometimes it's necessary to manually call this, instead of
deleting the exporter and letting it be called automatically
There's a chance that features in the buffer will cause errors
while being exported, and if the only way to flush the buffer
is to delete the exporter then there's no way to detect or
retrieve these errors.
2017-06-22 18:19:05 +10:00
Nyall Dawson
f304828f59 Allow storing arbitrary metadata in parameter definitions 2017-06-22 18:18:51 +10:00
Nyall Dawson
33aa798c2a Make 'merge' algorithm store the original layer name and source 2017-06-22 18:18:22 +10:00
Nyall Dawson
00ead638ee Cleanup alg imports 2017-06-22 18:17:56 +10:00
Nyall Dawson
432dd9dd90 Remove deprecated algorithms
Removed:
- Basic Stats for Numbers/String algs (replaced by generic
Basic Stats alg)
- Split Lines with Lines (replaced by generic Split with lines)
- Vector Grid Lines/Polygons (replaced by other create grid
algs)
2017-06-22 18:16:52 +10:00
Nyall Dawson
2d3d9b4ce7 Remove python algs where a native alg exists
Removed python algs are:
- Centroids
- Clip
- Dissolve
- Extract by attribute
- Extract by expression
- Multipart to singlepart
- Polygon centroids
- Reproject layer
2017-06-22 18:16:02 +10:00
Nyall Dawson
db00cb1cdb Resurrect a processing test 2017-06-22 18:15:38 +10:00
Nyall Dawson
df07772a56 Fix error when adding parameter 2017-06-22 12:21:25 +10:00
Nyall Dawson
c0293dce8b Merge pull request #4762 from nyalldawson/processing_model_c++
Resurrect ability to run processing models
2017-06-22 08:21:58 +10:00
Nyall Dawson
0db4cf37fe Add another test 2017-06-22 07:02:29 +10:00
Nyall Dawson
1d69939dde Fix build 2017-06-22 06:58:31 +10:00
Nyall Dawson
312c810787 Sipify 2017-06-22 06:49:43 +10:00
Nyall Dawson
86f33c682d Expand model unit test coverage 2017-06-22 06:49:09 +10:00
Nyall Dawson
065c98404b Don't create unused optional outputs when running models 2017-06-22 06:49:09 +10:00
Nyall Dawson
780f4331cc Add method to generate temporary destination parameter value 2017-06-22 06:49:09 +10:00
Nyall Dawson
a87ca09e34 Move some temp file/folder utils to c++ 2017-06-22 06:48:25 +10:00
Nyall Dawson
e8a03b918b Move default file extension code to c++ 2017-06-22 06:48:25 +10:00
Nyall Dawson
b1879df34b Destination parameters track whether they support non-file based outputs 2017-06-22 06:48:19 +10:00
Nyall Dawson
d1ed7d158e Steps towards executing models 2017-06-22 06:47:11 +10:00
Nyall Dawson
1df9f6b6f0 Start on executing models 2017-06-22 06:47:11 +10:00
Nyall Dawson
47f2cc895c Fix generation of outputs for models 2017-06-22 06:47:11 +10:00
Nyall Dawson
fe0f2498d4 Fix generation of destination parameters for models 2017-06-22 06:45:21 +10:00
Nyall Dawson
c36169a0ba Fix some errors in graphical modeler 2017-06-22 06:45:21 +10:00
Nyall Dawson
b01cae0740 Merge pull request #4761 from nyalldawson/algs2
Port more processing algs to new API
2017-06-22 06:40:32 +10:00
Nyall Dawson
a65e171298 Fix test 2017-06-22 05:18:16 +10:00
Nyall Dawson
ce42d6c41b Reduce noise in algorithm tests 2017-06-22 05:16:01 +10:00
Sandro Santilli
57bf9daaac Document semantic of SegmentationToleranceType
.. and default of QgsCircularString::curveToLine

[ci skip]
2017-06-21 18:35:32 +02:00
Radim Blazek
a2e010c31e param description fix 2017-06-21 17:02:35 +02:00
Radim Blazek
fb6f181fa8 support copy vector layer to browser postgres/spatialite by drag and drop 2017-06-21 15:12:24 +02:00
Radim Blazek
c1d4862840 force copy action when dragging layer to browser 2017-06-21 15:12:23 +02:00
Nyall Dawson
a9f97fc478 Port create attribute index alg to new api 2017-06-21 22:22:37 +10:00
Even Rouault
2fb0b16364 [DBManager] Avoid unhandled exception on a untyped geometry (wkbUnknown) layer (#16730) 2017-06-21 14:17:29 +02:00
Nyall Dawson
c685ec2b30 Add missing tests for vector input parameter, add vector out parameter 2017-06-21 22:13:36 +10:00
Nyall Dawson
0da3652257 Rename some parameter classes for consistency 2017-06-21 22:13:16 +10:00
Nyall Dawson
aa96e78682 Native extract by expression and attribute algs 2017-06-21 22:12:19 +10:00
Nyall Dawson
31167718cf Resurrect some processing algs, port multipart to singlepart to c++ 2017-06-21 22:11:42 +10:00
Denis Rouzaud
2bf92f34f3 sipify analysis raster 2017-06-21 12:08:25 +02:00
Denis Rouzaud
537ef07c10 sipify analysis vector 2017-06-21 10:27:23 +02:00
Denis Rouzaud
009e47e369 fix tests 2017-06-20 15:36:04 +02:00