Commit Graph

2651 Commits

Author SHA1 Message Date
Vissarion Fysikopoulos
2583decd76 [algorithms] [tests] Use azimuth side formula in disjoint 2018-04-26 16:50:36 +03:00
Vissarion Fysikopoulos
3f2660de7c [tests] Remove unused strategy pt-box definitions 2018-04-24 10:30:47 +03:00
Vissarion Fysikopoulos
8c0976902d [algorithms] [strategies] In check segment below box function move CS spesific computation to strategies 2018-04-19 16:29:38 +03:00
Vissarion Fysikopoulos
18f1394e30 [alsorithms] [distance] Optimization: avoid to compute vertex twice in some cases 2018-04-17 12:59:52 +03:00
Vissarion Fysikopoulos
7f5236b8fd [algorithms] [distance] Use the whole segment instead of starting point to vertex sub-segment for distance pt-seg computation 2018-04-17 11:55:02 +03:00
Vissarion Fysikopoulos
1484a0eb65 [strategies] [tests] Fix special case for geo pt-seg distance 2018-04-05 14:26:21 +03:00
Vissarion Fysikopoulos
aee17ee094 [strategies] [tests] Activating some tests for pt-seg distance with thomas formula 2018-04-04 11:34:35 +03:00
Vissarion Fysikopoulos
93bd8501b0 [strategies] [algorithms] Azimuth strategy and box mirror function interfaces change 2018-04-02 14:55:34 +03:00
Vissarion Fysikopoulos
1e41a4d516 [strategies] [tests] Fix pt-seg distance cases for south hemisphere 2018-04-02 13:52:00 +03:00
Vissarion Fysikopoulos
350836f3e7 Merge with develop branch 2018-03-29 11:03:20 +03: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
Vissarion Fysikopoulos
51a3a6b78c Merge branch 'feature_box_box_fix' into feature_box_seg 2018-03-28 12:49:24 +03:00
Vissarion Fysikopoulos
37c78acd6c [strategies] [tests] Diagonal case fix for box-box distance 2018-03-28 12:48:58 +03:00
Vissarion Fysikopoulos
3887ceedc3 [tests] South hemispahre box-box tests 2018-03-27 13:49:51 +03:00
Vissarion Fysikopoulos
d6569be95b Update include files for srs.hpp 2018-03-24 16:00:58 +02:00
Vissarion Fysikopoulos
2b5fc9a9d4 Merge remote-tracking branch 'origin/develop' into feature_box_seg 2018-03-24 15:43:13 +02:00
Vissarion Fysikopoulos
e6e1b1d96f [tests] Crossing prime meridian tests 2018-03-23 16:40:09 +02:00
Vissarion Fysikopoulos
c416382aff [formulas] [tests] Handle cases of geometries in both hemispheres 2018-03-20 16:48:04 +02: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
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