Nyall Dawson
9d8854fc10
Add an empty line
...
Because the world will explode if not
2017-09-26 16:05:02 +10:00
Nyall Dawson
bcb3e5f425
[FEATURE] Add 'materialize' method to QgsFeatureSource
...
When called, materialize takes a QgsFeatureRequest argument
and runs it over the source. The resultant features
are saved into a new memory provider based QgsVectorLayer, which
is returned by the function (along with ownership of the layer)
This makes it easy to create a new layer from a subset of an
existing one.
Materialize also considers subsets of attributes, so that the
returned layer only contains fetched fields (and not blank
fields filled with NULL values).
2017-09-26 14:27:40 +10:00
Sandro Mani
7705179a6c
Merge pull request #5250 from manisandro/ogr_orig_fid
...
[OGR] orig_ogc_fid followups
2017-09-25 15:21:41 +02:00
Sandro Mani
992a759caa
Merge pull request #5231 from manisandro/ogr_repack
...
[OGR] Defer repacking while in explicit updateMode
2017-09-25 14:09:48 +02:00
Sandro Mani
6b7201f4ed
[OGR] Use a ORIG_OGC_FID constant instead of hard-coding orig_ogc_fid
2017-09-25 13:55:15 +02:00
Alexander Bruy
c235264d00
Merge pull request #5248 from alexbruy/network-analysis
...
[processing] enable network analysis tests
2017-09-25 14:47:46 +03:00
Sandro Mani
15eaafdf0c
[OGR] Ensure orig_ogc_fid is never set as ignored field
2017-09-25 13:34:06 +02:00
Sandro Mani
cf23d56aef
[OGR] Followup: Add orig_ogc_fid as last field to avoid changing field order
2017-09-25 13:19:09 +02:00
Alexander Bruy
73d6058bd1
ignore crs for network analysis tests
2017-09-25 13:26:30 +03:00
Nyall Dawson
386d52d873
Merge pull request #5247 from nyalldawson/geometry_coverage
...
Geometry unit test coverage
2017-09-25 19:44:34 +10:00
Alessandro Pasotti
5f11793b17
Restore debug build after PR #5246
2017-09-25 11:22:51 +02:00
Alexander Bruy
745111dbdb
[processing] enable network analysis tests
2017-09-25 11:20:42 +03:00
Nyall Dawson
57108f9b61
Boost test coverage for geometry collections
2017-09-25 17:20:36 +10:00
Nyall Dawson
0e908d5d5b
Fix crash in geometry collections with negative part numbers
2017-09-25 17:20:36 +10:00
Nyall Dawson
b2bd0ac182
Fix dropping M/Z values from geometry collections
2017-09-25 17:20:36 +10:00
Nyall Dawson
94b44855e7
Fix crash in nextVertex with bad geometry collection part number
2017-09-25 17:20:36 +10:00
Nyall Dawson
33ba9a8c48
Fix crash when trying to insert geometry into collection with bad index
2017-09-25 17:20:36 +10:00
Nyall Dawson
6d59d144b5
Fix crash in geometry collection when working with empty collections
2017-09-25 17:20:36 +10:00
Nyall Dawson
623a57a8a0
Fix geometry collection can be corrupted by importing incorrect wkb
2017-09-25 17:20:36 +10:00
Nyall Dawson
60f81bd1ba
Fix potential crash in QgsGeometry::smooth
2017-09-25 17:20:36 +10:00
Nyall Dawson
20cc7a7332
Boost test coverage for QgsRectangle
2017-09-25 17:20:36 +10:00
Nyall Dawson
d704163884
Rename QgsRectangle::buffer to buffered and mark as const
2017-09-25 17:20:36 +10:00
Nyall Dawson
7d6034dec8
Boost test coverage for compound curve
2017-09-25 17:20:36 +10:00
Nyall Dawson
6c2c0af19d
Fix crash when removing vertices from compound curves
2017-09-25 17:20:36 +10:00
Nyall Dawson
27b43064b3
Fix incorrect wkb type for compound curve when adding vertex to empty curve
2017-09-25 17:20:36 +10:00
Nyall Dawson
154fd61d5a
Merge pull request #5246 from nyalldawson/clazy
...
Fix some Clazy warnings
2017-09-25 17:14:14 +10:00
Nyall Dawson
b0b1714e98
Fix build
2017-09-25 17:12:04 +10:00
Nyall Dawson
270f167829
Fix doctest
2017-09-25 17:12:04 +10:00
Nyall Dawson
01d34ede9d
Sip sync
2017-09-25 17:12:03 +10:00
Nyall Dawson
31c1ae1c6a
Add missing QStringLiterals
2017-09-25 17:12:03 +10:00
Nyall Dawson
60b8ec5488
Sip sync
2017-09-25 17:11:46 +10:00
Nyall Dawson
f952e6a647
Misc clazy fixes
2017-09-25 17:11:46 +10:00
Nyall Dawson
6c74502da4
Fix clazy override signal with signal warnings
2017-09-25 17:11:46 +10:00
Nyall Dawson
be7f85bfa1
Remove some unused variables
2017-09-25 17:11:46 +10:00
Nyall Dawson
3837ddfd3d
Flip some easy QLists to QVectors
2017-09-25 17:11:46 +10:00
Nyall Dawson
a463acba57
Fix clazy overriden signals with non signal warnings
2017-09-25 17:11:46 +10:00
Nyall Dawson
e4f17f41c3
Add missing QStringLiterals
2017-09-25 17:11:46 +10:00
Nyall Dawson
a7470b364f
Fix clazy connect-3arg-lambda warnings
...
Always use 4 arg overload with a lambda, to avoid lambda
execution when context object is deleted.
2017-09-25 17:11:46 +10:00
Nyall Dawson
1a32f0883c
Fix clazy detaching range based for warnings
2017-09-25 17:11:46 +10:00
Nyall Dawson
e8b90c33e4
Fix clazy allocating unneeded temporary container warnings
2017-09-25 17:11:46 +10:00
Nyall Dawson
fd9bcd6826
Use QString multi-arg overload (clazy warning)
2017-09-25 17:11:46 +10:00
Alexander Bruy
14a48c0349
Merge pull request #5201 from nyalldawson/point_crs
...
[processing] Transparently handle CRS for point parameters
2017-09-25 09:47:46 +03:00
mhugent
f4d5ca75c6
Merge pull request #5213 from mhugent/capabilities_exclusive_groups
...
[FEATURE]: In GetProjectSettings, show if a legend group is mutually exclusive
2017-09-25 08:41:14 +02:00
Nyall Dawson
a71f2ad5dc
Fix non-virtual destructor
2017-09-25 12:46:49 +10:00
Nyall Dawson
fb66501000
Fix Coverity uninitialized member warnings
2017-09-25 12:46:05 +10:00
Nyall Dawson
3c76a07424
Fix Coverity null pointer dereference warning
2017-09-25 12:44:19 +10:00
Nyall Dawson
b0f27c532c
Merge pull request #5245 from nyalldawson/conditionalHelpLink
...
Set the most accurate User Manual page to Options tabs
2017-09-25 09:22:12 +10:00
Nyall Dawson
99def105bb
Correct link for processing options help
2017-09-25 08:34:22 +10:00
Nyall Dawson
d72309e42b
Fix transform of extent parameter set to match layer's extent
2017-09-24 13:46:02 +10:00
Nyall Dawson
83a8a8d730
Use text encoded versions of points and extents in history panel
...
Fixes generation of unit tests with point/extent parameters
2017-09-24 13:46:01 +10:00