Nyall Dawson
57f2c623ce
Move invalid geometry callback from Python to c++
2017-06-23 12:08:54 +10:00
Nyall Dawson
98617c90bd
Report errors when executing algs within dialogs
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
958ca1075c
[sipify] Add support for specifying VirtualErrorHandlers to use for a function
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
Nathan Woodrow
7ed6c90f51
Code format
2017-06-23 11:01:25 +10:00
Nathan Woodrow
b69861210a
[MSSQL] Better fix to removing MZ. Thanks to Nyall ;)
2017-06-23 10:14:33 +10:00
Nathan Woodrow
c793a922e9
[MSSQL] Remove Z/M from WKT type name on insert/update
...
SQL Server doesn't follow OGC standard of LINESTRINGZ so we have
to remove it. SQL support LINESTRING(x y z) but not LINESTRINGZ(x y z)
2017-06-23 09:20:00 +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
Denis Rouzaud
e40f92cc1b
sipify analysis interpolation ( #4757 )
2017-06-22 20:25:19 +02:00
Radim Blazek
46596914e1
highlight fix
2017-06-22 19:18:19 +02: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
863b7d2b29
Fix the last test image
2017-06-22 14:38:41 +02:00
Martin Dobias
4976d59fc5
Fix few bugs + fix test images + allow data-defined size without transformer
2017-06-22 13:50:19 +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
60c3dcf96b
Fix writing of legend symbol to project file
2017-06-22 10:59:13 +02:00
Martin Dobias
e6863be68e
Fix subclassing of QgsDiagramRenderer in Python
2017-06-22 10:58:41 +02:00
Nyall Dawson
531e1a3282
Update tests
2017-06-22 18:53:36 +10:00
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
Martin Dobias
78a990b5b6
Fixing tests
2017-06-22 10:06:02 +02: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