Commit Graph

8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz
a606cf58ec Merge branch 'bg-prepare' 2017-07-31 18:28:51 +02:00
Adam Wulkiewicz
f42c1eadf9 Merge branch 'develop' into bg-prepare 2017-07-31 18:27:52 +02:00
Barend Gehrels
0938983c5e [test] add testcase 66 for startable self-turns 2017-07-31 12:16:26 +02:00
Barend Gehrels
56b5d7bf8a [overlay] fix bug where self-turn was not startable, and therefore an
interior ring was missing
2017-07-31 12:14:40 +02:00
Adam Wulkiewicz
a35d0f756d [test][buffer] Add MultiPoint test case (5 equal Points). 2017-07-30 04:45:56 +02:00
Adam Wulkiewicz
ada51b56c5 Merge pull request #411 from awulkiew/fix/area
Fix geographic area strategy for sphere.
2017-07-28 02:11:15 +02:00
Adam Wulkiewicz
ea8c93478f [test][is_simple] Add test for geographic CS. 2017-07-27 03:40:21 +02:00
Adam Wulkiewicz
e7463b35f0 [buffer][overlay] Fix get_turns/secionalize/partition for non-cartesian CS.
- Handle longitudes differently in section_functions preceding() and
  exceeding().
- Calculate directions in sectionalize differently for longitudes.
- Update buffer and get_turns due to the above changes.
2017-07-27 03:31:35 +02:00
Barend Gehrels
664c1aa10a [test] add test cases for last fix 2017-07-26 14:33:26 +02:00
Barend Gehrels
d25fe47a93 [overlay] fix case which was not taking correct rank 2017-07-26 14:26:44 +02:00
Vissarion Fysikopoulos
0c8e12d1bb [distance] [test] Geo box-box distance tests 2017-07-25 13:51:37 +03:00
Vissarion Fysikopoulos
1728b7a706 [distance] [test] Geo point-box tests 2017-07-25 12:25:04 +03:00
Vissarion Fysikopoulos
f015a04d80 [distance] Distance box-box strategy and tests 2017-07-24 12:12:30 +03:00
Adam Wulkiewicz
925b715f4d [algorithms] direction_code(): Add support for non-cartesian CSes. 2017-07-21 03:36:15 +02:00
Adam Wulkiewicz
4f7e479d06 [test][area] Add test case passing sphere into geographic area strategy. 2017-07-20 18:28:54 +02:00
Adam Wulkiewicz
6519f7a411 [strategies] Fix geographic area strategy for sphere (a==b), error being NaN result. 2017-07-20 18:27:11 +02:00
Barend Gehrels
0cd5f968cc [traverse] belongs to previous commit, remaining distance needs also
to be calculated for ii turns etc, for clusters.
2017-07-19 19:05:07 +02:00
Barend Gehrels
4082167be8 [traverse] added local typedef and comments to aggregate_operations 2017-07-19 19:03:24 +02:00
Barend Gehrels
982d4936fa [traverse] remove unused function 2017-07-19 19:00:41 +02:00
Barend Gehrels
174ef5e38c [overlay] fix cases where two arcs leave a cluster in same direction,
one longer as the other. Remaining distance needs to be considered.
Including testcase case_recursive_boxes_64 which is fixed by this issue.
2017-07-19 18:59:55 +02:00
Vissarion Fysikopoulos
63396031f1 [distance] Use cross_track_point_box formula in point box distance strategy 2017-07-19 16:02:52 +03:00
Barend Gehrels
497e055639 [overlay] don't check startable for determining has_traversed_turn,
and also check for turns both going in opposite direction (so uu for int)
This fixes case_recursive_boxes_63 (but not for difference yet)
2017-07-19 14:02:59 +02:00
Vissarion Fysikopoulos
2641abacf3 [distance] Add strategy getters for distance pt-box and box-box and add meridian distance computation as special case 2017-07-19 14:26:52 +03:00
Vissarion Fysikopoulos
b313b980b8 Merge with pt-segment distance computation branch 2017-07-19 13:08:07 +03:00
Vissarion Fysikopoulos
072ddb098e [strategies] Enabling pt-box and box-box strategies 2017-07-19 13:06:32 +03:00
Adam Wulkiewicz
8e100074e2 [test][union] Update test case according to the recent fix. 2017-07-18 14:39:03 +02:00
Adam Wulkiewicz
77c54c50d9 [algorithms] Fix direction_code for very close coordinates and use it in point_is_spike_or_equal to fix it too. 2017-07-18 14:38:19 +02:00
Vissarion Fysikopoulos
ca2ab199cf [formula] Documentation for distance point segment 2017-07-18 14:00:10 +03:00
Vissarion Fysikopoulos
b8453a3caf [distance] [test] Clean code in distance test and point segment formula 2017-07-18 13:05:15 +03:00
Adam Wulkiewicz
1dad2eb97c [test][overlay] Update cases wrt recent changes (user-defined strategy). 2017-07-14 16:19:07 +02:00
Adam Wulkiewicz
7dcba58943 [algorithms] Use user-defined side strategy in various algorithms
... instead of using the default one created internally.

It affects buffer, is_simple, is_valid, is_convex, point_on_surface,
remove spikes and various overlay algorithms.
2017-07-14 16:13:38 +02:00
Vissarion Fysikopoulos
36232a3cdb [distance] Spheroid passed as parameter, more general strategy getter for distance strategy 2017-07-13 12:52:52 +03:00
Vissarion Fysikopoulos
8b33899ec7 [distance] Point-segment distance formula, strategy and tests 2017-07-13 09:59:10 +03:00
Barend Gehrels
9acd4dcbba [overlay] dont excluded colocated self-turns from check within other geometry 2017-07-12 09:56:23 +02:00
Barend Gehrels
07389472a1 [test] small changes in test, moving settings 2017-07-08 12:48:05 +02:00
Barend Gehrels
1b71880b4f [intersection] fix intersection pattern where it accidentally took last
one instead of penultimate
2017-07-08 12:45:24 +02:00
Barend Gehrels
3b10458e70 Merge branch 'develop' into feature/intvalid 2017-07-08 11:31:23 +02:00
Barend Gehrels
01a71c3d04 Merge branch 'bg-prepare' 2017-07-05 18:16:55 +02:00
Barend Gehrels
94350d9ff0 Merge branch 'develop' into bg-prepare 2017-07-05 18:16:32 +02:00
Barend Gehrels
91f0d84d9a [test] is_valid_failure: fix failure type of mpg09 2017-07-05 18:16:00 +02:00
Barend Gehrels
ea655e8bc4 Merge branch 'bg-prepare' 2017-07-05 17:14:30 +02:00
Barend Gehrels
e67f62df2b Merge branch 'develop' into bg-prepare 2017-07-05 17:12:32 +02:00
Barend Gehrels
654e7393e7 [doc] update release notes 2017-07-05 17:12:01 +02:00
Barend Gehrels
30c2b46465 Merge branch 'develop' into bg-prepare
# Conflicts:
#	include/boost/geometry/extensions/algorithms/dissolve.hpp
2017-07-05 17:10:54 +02:00
Barend Gehrels
8012d17ca6 Merge branch 'feature/intvalid' into develop 2017-07-05 17:08:52 +02:00
Barend Gehrels
bcbcbf8a74 [test] with corrected validity, update testcases 2017-07-05 16:44:25 +02:00
Barend Gehrels
114bca9f55 [test] remove redundant booleans 2017-07-05 14:47:04 +02:00
Barend Gehrels
32cc0c1d74 [test] Add new testcase for is_valid 2017-07-05 14:45:05 +02:00
Adam Wulkiewicz
2d827cbf33 [doc] Fix ticket number in 1.65 release notes. 2017-07-05 14:41:35 +02:00
Barend Gehrels
59ea116d8c [test] intersection, check validity of whole output instead of
its separate polygons
2017-07-05 14:40:21 +02:00