Nyall Dawson
ce5faa1524
[processing] Force regeneration of primary key for more algorithms
...
Fixes #21445
2019-03-05 07:06:30 +10:00
Nyall Dawson
6110931f8a
Rename QgsSpatialIndex::insertFeature to ::addFeature, for consistency
...
with other classes
And make QgsSpatialIndex a QgsFeatureSink
2018-09-29 07:37:53 +10:00
nirvn
bc0f75334f
[needs-docs][processing] vectorize & improve remaining vector menu icons
2018-05-15 16:37:25 +07:00
Nyall Dawson
249dca7830
[processing] Consist helpful error messages when sinks cannot be created
...
And throw exceptions always when sinks are not created to avoid
generic errors
2018-04-28 05:50:47 +10:00
Nyall Dawson
5339d62715
[processing] More helpful errors when sources cannot be loaded
...
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +10:00
Nyall Dawson
0dfb3c2d8c
[processing] Use distance parameter for more algorithms
2018-04-20 18:27:00 +10:00
Nyall Dawson
a8110369a8
[processing] Don't throw an exception if an expression cannot
...
be prepared
There's cases where this happens without reflecting an invalid
expression. So we can try to prepare, but not abort if the
preparation fails.
Fixes #18103
2018-02-15 15:43:26 +11:00
Nyall Dawson
2defaff796
[processing] Much faster random points in polygon by using
...
prepared geometries
2018-02-15 09:14:01 +11:00
Nyall Dawson
81aa2f956e
[processing] Misc fixes and improvements to Random Points in Polygons
...
- Fix missing format call for string when calculated number
of points is 0
- Fix incorrect progress reports which were spamming the dialog
and causing UI hangs, and slow algorithm execution
2018-02-15 09:14:01 +11:00
Nyall Dawson
e0cf578096
[processing] Add some missing sources to expression contexts
2018-02-15 09:14:01 +11:00
Nyall Dawson
8154a85f29
Fix Python exception in Random Points in Polygon alg
...
Fixes #18103
2018-02-15 09:14:01 +11:00
Nyall Dawson
4643712a1e
Fix missing transform contexts for QgsDistanceArea
...
QgsDistanceArea.setSourceCrs() now requires a QgsTransformContext
argument.
2017-12-20 17:37:46 +10:00
Alexander Bruy
dca37abd0e
[processing] add group id to QGIS algorithms
2017-12-14 18:04:12 +02:00
Matthias Kuhn
e0025b65b1
Rename QgsGeometry::fromPoint to QgsGeometry::fromPointXY
...
Also introduces the from[Geometry]XY for QgsGeometryFactory
2017-10-30 09:14:06 +01:00
Nyall Dawson
2a442c7886
Rationalise algorithm groups a bit
2017-08-22 23:36:42 +10:00
Nyall Dawson
2e8d940f2d
Use context.project() instead of QgsProject.instance()
2017-07-27 10:49:52 +10:00
Alexander Bruy
c440ade2d8
[processing] remove Z/M addition from "random" algorithms
2017-07-24 09:20:47 +03:00
Alexander Bruy
f8b0c06942
[processing] port Random points in polygons
2017-07-24 09:20:47 +03:00