Commit Graph

2641 Commits

Author SHA1 Message Date
Phillip Palk
43538e5f24 [test][iterators] add test case that demonstrates SEGFAULT when using closing_iterator and ever_circling_iterator with transformed ranges. 2018-06-07 10:07:33 +10:00
Adam Wulkiewicz
06e53eb573 Merge branch 'develop' into fix/intersection_strategies 2018-04-12 16:20:16 +02:00
Adam Wulkiewicz
d77d3af272 [test][strategies] Add test for short sph and geo collinear segments. 2018-04-12 16:14:15 +02:00
Vissarion Fysikopoulos
0a5a4e9cae [test] Update comment for cw rings 2018-04-12 15:49:58 +03:00
Vissarion Fysikopoulos
cc381b3c7f [algorithms] [tests] Fix envelope algorithm for spherical and geographic polygons and rings 2018-04-11 17:12:27 +03:00
Adam Wulkiewicz
49b9e7bfa3 Merge pull request #465 from awulkiew/feature/projections_update
Update implemented projections to proj4 5.0.0 state.
2018-04-07 14:55:17 +02:00
Vissarion Fysikopoulos
df23bb19b8 [strategies] Fix inverse strategy type call from point segment distance computation strategy 2018-03-28 16:54:08 +03:00
Vissarion Fysikopoulos
ab2ab3144d [strategies] [tests] Diagonal case fix for box-box distance 2018-03-28 14:42:08 +03:00
Adam Wulkiewicz
2b0f326249 [test][srs] Improve error messages in projections tests. 2018-03-18 03:15:34 +01:00
Adam Wulkiewicz
2490451d8e [srs][test] Do not include projections by default (due to possible clashes with macros). 2018-03-15 20:37:34 +01:00
Adam Wulkiewicz
d221e44988 [test][srs] Update/add projections tests. 2018-03-09 02:50:45 +01:00
Adam Wulkiewicz
621ec9598e [test][srs] Enable igh projection test case. 2018-03-07 22:55:25 +01:00
Adam Wulkiewicz
b5101c1aaf [test][srs] Enable goode projection test case. 2018-03-07 19:13:50 +01:00
Adam Wulkiewicz
66c3204822 [test][srs] Rearrange projection_selftest cases - separate _e and _s. 2018-03-07 17:17:58 +01:00
Adam Wulkiewicz
e515520603 [test][srs] Update aeqd projection expected results (proj4 4.9.3). 2018-03-07 11:27:03 +01:00
Adam Wulkiewicz
d9670e4da0 [test][srs] Fix memory leak in projection_selftest when TEST_WITH_PROJ4 is defined. 2018-03-07 11:26:16 +01:00
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
Adam Wulkiewicz
c5535158bb [test][srs] Remove unneeded #include from projections test. 2018-02-23 22:03:45 +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
85b6675954 Merge branch 'develop' into feature/simplify 2018-02-14 09:50:52 +01:00
Adam Wulkiewicz
26ada1dc6e [test][srs] Fix missing field initializer warning (clang-3.0 -Wall -Wextra). 2018-02-06 15:12:34 +01:00
Adam Wulkiewicz
da38ece6d2 [test][srs] Fix missing field initializer warnings (clang++-5.0 -Wall -Wextra). 2018-02-01 03:41:22 +01:00
Barend Gehrels
41ca8baee7 Merge branch 'develop' into feature/remove_rescaling 2018-01-31 09:56:48 +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
Adam Wulkiewicz
5fabea8e2c [test][srs] Add tests for new generic is_param metafunctions. 2018-01-29 22:18:40 +01:00
Adam Wulkiewicz
b3d3acc83d [test][srs] Fix unused variable and parameter warnings. 2018-01-29 01:57:11 +01:00
Adam Wulkiewicz
350f4990b3 [test][srs] Fix unused parameter warning. 2018-01-28 03:30:44 +01:00
Adam Wulkiewicz
9373a5f271 [test][srs] Add par4 metafunctions compilation test. 2018-01-28 02:22:06 +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
Barend Gehrels
d66df075fe [test] reincarnate test of segment intersection 2018-01-24 18:04:53 +01:00
Adam Wulkiewicz
7ebafcdb90 [test][srs] Add missing braces in projections test cases array. 2018-01-23 21:13:42 +01:00