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
10aeba2e72
Move more modelling code to c++
2017-06-24 07:36:13 +10:00
Nyall Dawson
e7f13f5bd8
Port model help code to c++
2017-06-24 07:36:07 +10:00
Nyall Dawson
24eb6fd780
Fix loss of output names in graphical modeler
2017-06-23 13:32:31 +10:00
Nyall Dawson
5ea07684bd
Also call invalidGeometryCallback when skipping features
2017-06-23 12:08:54 +10:00
Nyall Dawson
cbc9e03b9d
Consolidate all QgsException subclasses in the same header
2017-06-23 12:08:54 +10:00
Nyall Dawson
57f2c623ce
Move invalid geometry callback from Python to c++
2017-06-23 12:08:54 +10:00
Nyall Dawson
93b7c2809e
Report success or failure after running algs
...
And auto catch python exceptions and report failure of model
2017-06-23 12:08:54 +10:00
Nyall Dawson
a4f23fd1a4
Throw QgsProcessingException when a python exception occurs while running an alg
2017-06-23 12:08:54 +10:00
Nyall Dawson
d63d560eb3
Add support for VirtualErrorHandlers in core sip
...
Unfortunately requires a bunch of code to be duplicated from
QgsPythonUtilsImpl::getTraceback() into core.sip, but there's no way
to avoid this
2017-06-23 12:08:54 +10:00
Nyall Dawson
53e7ef88a3
Add a QgsProcessingException exception
2017-06-23 12:08:54 +10:00
Nyall Dawson
2906d1f1c9
Merge pull request #4763 from nyalldawson/algs3
...
Restore more processing algs
2017-06-23 12:08:15 +10:00
Nyall Dawson
f196246852
Merge pull request #4734 from nyalldawson/addfeatures
...
Add a flag argument to QgsFeatureSink::addFeatures, support fast feature insert
2017-06-23 05:59:21 +10:00
Radim Blazek
5c6e794b2d
nearest point measure in identify tool
2017-06-22 15:32:07 +02:00
Martin Dobias
7cd517c6ba
[FEATURE] Legend for markers with data-defined size
...
(Merge pull request #4752 from wonder-sk/legend-data-defined-size)
2017-06-22 15:29:10 +02:00
Martin Dobias
59ca985928
Use white bg color for test images to avoid black background
2017-06-22 12:56:02 +02:00
Martin Dobias
e6863be68e
Fix subclassing of QgsDiagramRenderer in Python
2017-06-22 10:58:41 +02:00
Nyall Dawson
76a9844949
Add folder output type
2017-06-22 18:21:33 +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
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
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
1df9f6b6f0
Start on executing 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
b01cae0740
Merge pull request #4761 from nyalldawson/algs2
...
Port more processing algs to new API
2017-06-22 06:40:32 +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
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
Martin Dobias
0bd29c3f98
Fix build problems
2017-06-20 15:50:00 +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
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
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
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