41849 Commits

Author SHA1 Message Date
Matthias Kuhn
e604460a15 Add unit tests for represent_value 2017-09-26 14:28:44 +02:00
Matthias Kuhn
beddd25074 [FEATURE] Expression function represent_value
This will lookup the representation value given the widget
configuration. This is helpful to get nicely formatted messages for
value maps, value relations and others in expressions.
2017-09-26 14:28:44 +02:00
Nyall Dawson
5ad5930595 Merge pull request #5255 from nyalldawson/proc_test
Resurrect some commented out processing tests
2017-09-26 16:50:20 +10:00
Nyall Dawson
0943cd5d51 Resurrect commented out zonal stats test 2017-09-26 15:30:14 +10:00
Nyall Dawson
fddb6a59a1 Make shortest path test less fussy 2017-09-26 15:19:05 +10:00
Nyall Dawson
79b143bd15 Enable a commented out processing test 2017-09-26 15:16:49 +10:00
Nyall Dawson
f8cf2f4dbe [processing] Fix Refactor Fields rejects valid field configuration input 2017-09-26 13:58:01 +10:00
Nyall Dawson
270c45d12b Merge pull request #5254 from nyalldawson/geometry_coverage
Geometry unit test coverage
2017-09-26 13:39:27 +10:00
Nyall Dawson
ac7fede91a Modernize some geometry code 2017-09-26 12:19:46 +10:00
Nyall Dawson
cc4fb3928d Boost test coverage of multipolygons 2017-09-26 12:06:20 +10:00
Nyall Dawson
9518c90a8b Fix multipolygon allowing insertion of non polygon geometries 2017-09-26 12:05:04 +10:00
Nyall Dawson
6c328d53aa Ensure multiipolygon dimensionality is respected when adding new surfaces 2017-09-26 11:46:02 +10:00
Nyall Dawson
02493104b0 Boost test coverage for multisurface 2017-09-26 11:34:39 +10:00
Nyall Dawson
5ed6605225 Fix multisurface allowing insertion of non surface geometries 2017-09-26 11:28:51 +10:00
Nyall Dawson
4d989f8fb6 Fix clearing multisurface should reset dimensionality 2017-09-26 10:58:32 +10:00
Nyall Dawson
31730f43be Ensure multisurface dimensionality is respected when adding new surfaces 2017-09-26 10:48:12 +10:00
Nyall Dawson
ed90bf4ded Fix multicurve allowing insertion of non curve geometries 2017-09-26 10:12:52 +10:00
Nyall Dawson
6505104074 Boost test coverage of geometry classes 2017-09-26 09:33:17 +10:00
Nyall Dawson
df1552ff18 Ensure multicurve dimensionality is respected when adding new lines 2017-09-26 09:03:59 +10:00
Nyall Dawson
c9117fc585 Fix clearing multicurve should reset dimensionality 2017-09-26 09:03:28 +10:00
Nyall Dawson
b46d8d3d33 Fix memory leak when inserting invalid geometries 2017-09-26 08:41:26 +10:00
Nyall Dawson
307efe3bce Boost test coverage for multilinestrings 2017-09-26 08:38:21 +10:00
Nyall Dawson
f5004ed7ef Fix multi line string allowing insertion of non line geometries 2017-09-26 08:33:47 +10:00
Nyall Dawson
6d95ba0a5b Fix nasty crash caused by converting MultiLineStrings to GML2
Exporting the geometry to GML2 would corrupt it, causing a
future crash to occur
2017-09-26 08:23:06 +10:00
Nyall Dawson
039aff6d14 Fix QgsMultiLineString -> toCurveType doesn't convert to curve type 2017-09-26 08:07:27 +10:00
Nyall Dawson
1de7b42588 Ensure multilinestring dimensionality is respected when adding new lines 2017-09-26 06:30:08 +10:00
Nyall Dawson
ed72e37f0b Fix clearing multilinestring should reset dimensionality 2017-09-26 06:29:36 +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
Nyall Dawson
d4ec09c7c0 Ensure multipoint dimensionality is respected when adding new points 2017-09-25 21:21:20 +10:00
Nyall Dawson
f153613908 Fix memory leak when restoring invalid geometry collection wkt 2017-09-25 21:20:55 +10:00
Nyall Dawson
ba50bf043b Fix multi point allowing insertion of non point geometries 2017-09-25 21:20:32 +10:00
Nyall Dawson
97930d13e2 Fix clearing multipoint should reset z/m status 2017-09-25 21:20:06 +10:00
Nyall Dawson
ffbf93a657 Fix incorrect /Transfer/ for geometry collection 2017-09-25 21:19:43 +10: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