1984 Commits

Author SHA1 Message Date
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
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
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
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
Adam Wulkiewicz
7ebd447aee [test][algorithms] Use new area strategy interface. 2017-12-22 03:40:01 +01:00
Barend Gehrels
0f4712bdfb [test] add recent testcases to the other test scenarios 2017-12-20 16:54:51 +01:00
Barend Gehrels
f6c67daba6 [difference] fix cases where ii turns were not discarded, this
was a todo-item, it was not yet done for difference.

Including unit testcase using this.
2017-12-20 16:22:27 +01:00
Barend Gehrels
b28b312141 [difference] fix cases where potential inner rings have same area as
outer rings (located elsewhere), due to an earlier optimization
2017-12-20 14:07:51 +01:00
Barend Gehrels
11cff883b0 [intersection] Fix newly found case by removing some conditions from
handle_self_turns and setting ii-self-turns as non-startable instead of
discarding them.
2017-12-16 18:52:39 +01:00
Barend Gehrels
556896c7cc [traverse] need to select on operations in selecting ranks, it is not
done later. Small regression found by recursive_polygons
2017-12-15 14:37:17 +01:00
Barend Gehrels
5d99d1608d [overlay] fix new #case_recursive_boxes_82 by greatly simplifying the code.
patterns/aggregations were added to solve specific intersection problems
and validity in the past. In the meantime self-turns and isolation information
is much better, and those code is not needed anymore.
This also fixes the #mysql_regression_1_65_2017_08_31
This also makes union/intersection code for handling clusters much more similar
2017-12-15 13:20:41 +01:00
Adam Wulkiewicz
7fa4d05735 [test][densify] Rename complexify in tests to densify. 2017-12-06 16:15:51 +01:00
Barend Gehrels
18eb8c5cd7 [test] add new testcase to union/difference 2017-12-06 15:39:53 +01:00
Barend Gehrels
080f0f22f4 [traverse] fix case where hole of one of the inputs formed a
disconnected interior (invalid). In the end it is fixed by only
deleting code. This code is not really old but added to fix some
cases, which are finally fixed in a more generic way.

It fixes a new case and also enhances #case_141_multi
2017-12-06 14:25:42 +01:00
Barend Gehrels
b25596dcf1 [test] remove switch_source from debug-svgs 2017-12-06 12:20:00 +01:00
Vissarion Fysikopoulos
a0b78391e0 [strategies] [tests] Multipoint box distance support and tests. 2017-12-05 15:43:54 +02:00
Adam Wulkiewicz
80003b79c1 Merge branch 'develop' into feature/complexify 2017-12-04 22:35:47 +01:00
Adam Wulkiewicz
d3df14abf7 [test][complexify] Add tests of complexify() algorithm. 2017-12-04 22:12:11 +01:00
Vissarion Fysikopoulos
4b9cf1288d [stategies] Clean-up code for pt/box box/box strategies 2017-12-04 17:32:17 +02:00