2201 Commits

Author SHA1 Message Date
Adam Wulkiewicz 36f74e3a17 [test][overlay] In get_turns tests print the whole lists of expected and detected turns on error. 2018-03-05 01:44:46 +01:00
Barend Gehrels 0821a112de [test] split big linestring from new test (for Microsoft) 2018-02-22 18:59:16 +01:00
Barend Gehrels 5376fbb302 Merge pull request #460 from boostorg/feature/simplify
Feature/simplify
2018-02-19 18:50:10 +01:00
Barend Gehrels 74d9892bd6 [test] adapt multi test, simplification is changed (but equally good) 2018-02-18 17:47:21 +01:00
Barend Gehrels 23326a7680 [test] adapt test and add testcase needing the new approach 2018-02-18 16:55:31 +01:00
Barend Gehrels 4a3003864e [test] instead of WKT, spatially equality is tested for simplify,
because polygons might be rotated
2018-02-18 16:55:04 +01:00
Barend Gehrels da16ae8e79 [simplify] revise solution to get opposite instead of closing area
(which fixes some issues) and do more tries (to get more output)
2018-02-18 16:54:30 +01:00
Barend Gehrels 48e6c33ffc [test] add testcase for ticket 13444 which goes wrong with rescaling 2018-02-17 18:51:06 +01:00
Barend Gehrels 3e53d4d456 [simplify] during review, change implementation using rotate instead of clise 2018-02-17 13:50:07 +01:00
Barend Gehrels c16ad7ddfa [test] fix expectations changed by earlier commit (fraction 1/1000 -> 1/2).
Note that the starting point of the polygon can change shape of simplified
version, and therefore area
2018-02-14 17:08:20 +01:00
Barend Gehrels 8d28489661 [test] test removing duplicate point (if there are 2) and
complete removal of empty interior ring
2018-02-14 17:07:13 +01:00
Barend Gehrels 0ac8b51b41 [test] test simplifying away closing point / whole polygon 2018-02-14 17:06:25 +01:00
Barend Gehrels b795561e84 [test] also test for omitting polygons/interior rings in output 2018-02-14 15:07:43 +01:00
Barend Gehrels 3335bf970c [test] update test expectations 2018-02-14 15:01:33 +01:00
Barend Gehrels 5bf3d27701 [test] add case for simplify which previously failed within countries test
to the unit test. It checks only for output area.
2018-02-14 12:22:23 +01:00
Barend Gehrels 1ce9583b17 [simplify] fix new behaviour, if sliced it should be closed explicitly
(also to calculate correct areas). Area check with sign instead of boolean.
2018-02-14 11:55:57 +01:00
Barend Gehrels 1fc11a3319 [test] correct closure if necessary, and add define to be able to test faster 2018-01-31 09:52:47 +01:00
Barend Gehrels 945fc9bb94 [test] add unit test for simplification of countries 2018-01-31 09:51:20 +01:00
Barend Gehrels 5534818e0f [simplify] simplify around closing point of ring/polygons
Including unit test.
2018-01-26 17:46:14 +01:00
Barend Gehrels 617b78c420 [test] increase tolerance of multi-point circle buffers, which, having
many intersections, have their collinear points removed and are 1e-5 smaller
2018-01-26 13:25:38 +01:00
Barend Gehrels f054f092a2 [test] update two other testcases for difference 2018-01-26 13:20:56 +01:00
Barend Gehrels b55b95846e [test] check validity of failing testcase, it will be solved by no-rescaling.
So accept for now that result is invalid (which is a false positive)
2018-01-26 13:03:25 +01:00
Barend Gehrels 34dfbba271 [test] adapt point expectations for union/difference/intersection
because we now skip some collinear points
2018-01-26 13:02:06 +01:00
Vissarion Fysikopoulos b4856465c2 [algorithms] [tests] Generic box-segment distance for both cartesian and non-cartesian CS 2018-01-24 17:54:37 +02:00
Adam Wulkiewicz 0dbdd990ea [test][is_valid] Fix unused type warning. 2018-01-23 21:13:02 +01:00
Adam Wulkiewicz efc9d4ac3d Merge pull request #441 from awulkiew/feature/area_strategies
Change area strategies interface.
2018-01-22 23:05:17 +01:00
Vissarion Fysikopoulos 3d9cbd87a4 [strategies] Move generic distance pt/box and box/box strategies 2018-01-22 16:48:37 +02:00
Vissarion Fysikopoulos edf07697e8 Merge remote-tracking branch 'origin/develop' into feature/distance_box 2018-01-22 12:59:25 +02:00
Adam Wulkiewicz e67bf40b35 Merge branch 'develop' into feature/area_strategies 2018-01-21 02:48:29 +01:00
Adam Wulkiewicz 7d2026dd84 Merge branch 'develop' into feature/projections
Conflicts:
	include/boost/geometry/geometry.hpp
	test/Jamfile.v2
2018-01-21 01:51:04 +01:00
Vissarion Fysikopoulos 57b9cd0bbc [algorithms] [tests] Fix distance segment-box for spehrical and geographic when segments is close to a box corner 2018-01-19 19:12:49 +02:00
Vissarion Fysikopoulos a51b2dd6ac [algorithm] [test] Meridian case for segment box distance; segments left-right of box 2018-01-18 12:40:09 +02:00
Adam Wulkiewicz 6d0d53c41e Merge branch 'develop' into feature/area_strategies 2018-01-16 14:45:48 +01:00
Adam Wulkiewicz 4b2304c5b7 [test][densify] Test default strategy version of algorithm. 2018-01-15 19:24:42 +01:00
Adam Wulkiewicz e8fdc21b85 Merge branch 'develop' into feature/complexify 2018-01-15 19:24:08 +01:00
Vissarion Fysikopoulos 0fb5cabe67 [algorithms] Fix box/segment distance for segment bottom of box 2018-01-11 13:01:00 +02:00
Adam Wulkiewicz b7b7e2ef08 [test][densify] Fix comment. 2018-01-10 23:33:18 +01:00
Adam Wulkiewicz 08dccb1174 [test][densify] Add test cases for open Areal geometries. 2018-01-10 23:04:21 +01:00
Vissarion Fisikopoulos 3ff1887b85 Merge branch 'develop' into feature/distance_box 2018-01-10 15:34:33 +02:00
Barend Gehrels 7b1297bb86 [test] update expectations 2018-01-05 21:56:07 +01:00
Barend Gehrels 6b637c91c0 Merge branch 'feature/intvalid' into develop 2018-01-04 21:42:43 +01:00
Barend Gehrels 26a50a2bbd [traverse] fix case #case_141_multi which is isolated with multiple
connections
2018-01-01 16:28:32 +01:00
Barend Gehrels bc77fca531 [test] add new case also to intersection/union 2017-12-31 17:17:46 +01:00
Barend Gehrels 9f00c8501b [union] skip discarding i/e turns for union because this causes some turns
to be missed. This fixes the new case #case_recursive_boxes_88
2017-12-31 17:17:21 +01:00
Barend Gehrels 10e79329c1 [test] update a few testcases (comments, defines) 2017-12-31 17:15:45 +01:00
Barend Gehrels 19d0015a81 [test] enable a testcase now fixed 2017-12-29 14:21:04 +01:00
Barend Gehrels f704579ed0 [overlay] by default use self-turns. This reverses definition
of define SELF to NO_SELF. Including all unit tests.
2017-12-29 13:17:42 +01:00
Adam Wulkiewicz b4d2f10f2b [test][algorithms] Add centroid() cases and fix MSVC x64 conversion warnings. 2017-12-27 01:55:36 +01:00
Adam Wulkiewicz c25c4f63e4 [test][algorithms] Add point_on_surface cases using signed integral coordinates. 2017-12-27 01:53:39 +01:00
Adam Wulkiewicz 3b80d1ae71 [test] Fix unused parameter warnings. 2017-12-26 14:12:16 +01:00