39504 Commits

Author SHA1 Message Date
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
Denis Rouzaud
eddd258725 sipify core composer part 4 2017-06-20 15:36:04 +02:00
Denis Rouzaud
c9a75090bc sipify core composer part 3 2017-06-20 15:36:04 +02:00
Denis Rouzaud
b52f7c2975 sipify core composer part 2 2017-06-20 15:36:04 +02:00
Denis Rouzaud
01ffc4edc7 sipify core composer part 1* 2017-06-20 15:36:04 +02:00
Alessandro Pasotti
cfa6a319c6 Merge pull request #4716 from DelazJ/addlayer
Reorganize the Datasource Manager tabs
2017-06-20 15:31:27 +02:00
Denis Rouzaud
66fb8d0afc Revert "Removed ui_qgstablewidgetbase.h"
This reverts commit d9d68724344c164dcec29e8cbe80ae4873fc988d.
2017-06-20 14:40:03 +02:00
Nyall Dawson
3615a7d7d6 Merge pull request #4729 from nyalldawson/processing_model_c++
Porting processing model algorithm to C++, pt 1
2017-06-20 22:12:58 +10:00
Nyall Dawson
d3a2f7cd65 Models can now be saved and restored 2017-06-20 19:23:21 +10:00
Nyall Dawson
f21f502a18 Add methods to convert parameter definitions to/from variants 2017-06-20 18:33:46 +10:00
Nyall Dawson
9a2f14b931 First steps to model/save restore in c++
Models now save to QVariantMap, using QgsXmlUtils to save to
an xml based format (with extension .model3)
2017-06-20 17:26:57 +10:00
Alessandro Pasotti
8b98db0787 Merge pull request #4742 from boundlessgeo/browsertree-collapse-wms
Browsertree collapse network provider items
2017-06-20 09:10:11 +02:00
Nyall Dawson
179a377da0 Port more model to c++ 2017-06-20 15:31:53 +10:00
Nyall Dawson
459244126f Indentation 2017-06-20 14:45:13 +10:00
Nyall Dawson
1a4a654f8b Port more model API across to c++ 2017-06-20 14:45:13 +10:00
Nyall Dawson
f6358b2118 Begin port of modeler algorithm to c++ 2017-06-20 14:45:13 +10:00
Nyall Dawson
efe8bba006 Work on resurrecting modeler 2017-06-20 14:45:13 +10:00
Nyall Dawson
5d8f2d99ab Fix working with inputs in modeler 2017-06-20 14:45:13 +10:00
Nyall Dawson
bdc5e224a3 Small cleanups 2017-06-20 14:45:13 +10:00
Mathieu Pellerin
7fff6cf029 [atlas] move file format for image export to atlas widget
Two big wins:
- remember file format across sessions (no more accidental
.bmp atlas export!)
- use native directory picker
2017-06-20 10:53:31 +07:00
Nyall Dawson
349f6eae6e Merge pull request #4732 from nyalldawson/alg
[FEATURE] Subdivide algorithm for geometries
2017-06-20 13:40:05 +10:00
Nyall Dawson
b3da171040 Swap remaining QSharedPointer uses to std::shared_ptr 2017-06-20 13:38:36 +10:00
nirvn
61a46104ef [ui] harmonize QDialogButtonBox position in provider dialogs
This commit insures that the QDialogButtonBox widget (i.e.
help, add, build query, set filter) is always located at
the very bottom of the dialog. It helps make a better UX out
of the unified add layer dialog.
2017-06-19 15:39:04 +07:00
Sandro Mani
8c012dad28 Merge pull request #4740 from manisandro/afsshareddata
[ArcGIS REST] Introduce QgsAfsSharedData to remove dependency on QgsAfsProvider by QfsAfsFeatureSource
2017-06-19 10:18:01 +02:00