Adam Wulkiewicz
3011d4aa7e
[test][covered_by][within] Add spherical and geographic cases.
2017-08-22 00:35:14 +02:00
Adam Wulkiewicz
74f13547be
[strategies] Update intersection and within strategies after change in winding strategy.
2017-08-22 00:33:39 +02:00
Adam Wulkiewicz
9f4682403e
[strategies] Fix winding strategy for specific cases in spherical and geographic.
...
Implement as separate strategies per CS: cartesian_winding,
spherical_winding and geographic_winding. The last one taking Geodesic
FormulaPolicy and Spheroid (interface consistent with other geographic
strategies).
Leave agnostic winding strategy for backward compatibility, sort of
because SideStrategy parameter was removed so it's compatible with Boost
1.63 and below. Internally using one of the above strategies.
2017-08-22 00:28:08 +02:00
Adam Wulkiewicz
11ce2ac02e
[algorithms] Fix direction_code different Point types handling and unused variable warning.
2017-08-14 17:39:18 +02:00
Adam Wulkiewicz
6f17140ecc
[test][is_valid] Add test of geographic polygon.
2017-08-11 20:08:57 +02:00
Adam Wulkiewicz
012afcb0ef
[doc] Update 1.65 release notes.
2017-08-02 04:03:19 +02:00
Adam Wulkiewicz
98b8821be6
[sectionalize] Add full namespace to function call (mingw workaround).
2017-08-02 02:52:02 +02:00
Adam Wulkiewicz
e7ae7454b7
[doc][index] Remove images of queries using higher-level geometries.
2017-08-01 01:41:16 +02:00
Adam Wulkiewicz
35897a6a81
Merge pull request #412 from awulkiew/fix/algorithms_side_strategy
...
Geographic coordinate system related fixes.
2017-07-31 18:30:25 +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
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
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
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
Barend Gehrels
91f0d84d9a
[test] is_valid_failure: fix failure type of mpg09
2017-07-05 18:16:00 +02:00
Barend Gehrels
654e7393e7
[doc] update release notes
2017-07-05 17:12:01 +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
Barend Gehrels
de8273ab92
[is_valid] fix, using touch_only information, and checking border_point
...
instead of touching point
2017-07-05 14:37:29 +02:00
Adam Wulkiewicz
b592017cb1
[doc] Add missing correct section.
2017-07-05 14:31:31 +02:00
Adam Wulkiewicz
866acb0dcf
[doc] Update 1.65 release notes.
2017-07-05 14:20:16 +02:00
Adam Wulkiewicz
a51a331df9
Merge pull request #405 from awulkiew/feature/area_strategy
...
Add missing propagation of area strategy in buffer, is_valid and overlay.
2017-07-05 13:51:43 +02:00
Adam Wulkiewicz
0b62b81fb4
Merge pull request #403 from awulkiew/fix/non_cart_intersection
...
Handle degenerated segments near poles in spherical and geographic intersection strategies.
2017-07-05 13:51:31 +02:00
Barend Gehrels
4ccd4e43ce
[is_valid] add extra info to turn to determine validity
...
Including unit test adaptions. Results are verified visually with SVG
2017-07-05 13:06:15 +02:00
Adam Wulkiewicz
a2168a97d9
[overlay] Add missing const&.
2017-07-04 16:03:54 +02:00
Adam Wulkiewicz
e241a9a0b3
Merge pull request #408 from vissarion/patch-3
...
Fix problematic initialization of strategy passed as contant reference
2017-07-04 17:02:52 +03:00
Adam Wulkiewicz
a911872bf5
[disjoint] Remove unwanted double ;
2017-07-04 15:58:05 +02:00
Adam Wulkiewicz
41cb466a34
Merge pull request #406 from vissarion/patch-1
...
Fix uninitialized variable in topology check of multilinestrings
2017-07-04 16:55:53 +03:00
Adam Wulkiewicz
b28f0389dc
Merge pull request #407 from vissarion/patch-2
...
Fix wrong results in intersection of linestrings with a common point
2017-07-04 16:55:27 +03:00
Vissarion Fisikopoulos
b6bfbe514a
Update get_turn_info_helpers.hpp
2017-07-04 11:17:13 +03:00
Vissarion Fysikopoulos
fcc3c4e39d
[test] Add failing test case that now passing with box_box fix
2017-07-04 10:24:13 +03:00
Vissarion Fisikopoulos
bcae6f1e81
Update box_box.hpp
2017-07-04 09:58:05 +03:00
Vissarion Fisikopoulos
7ad0c0b8ff
Update topology_check.hpp
2017-07-04 09:38:49 +03:00
Adam Wulkiewicz
77d0195d21
[test][overlay] Update select_rings test wrt recent changes in overlay.
2017-07-04 04:48:59 +02:00
Adam Wulkiewicz
47e5cf5c96
[extensions][dissolve] Use area strategy got from intersection strategy.
2017-07-04 04:48:13 +02:00
Adam Wulkiewicz
8a12ebdb69
[buffer][is_valid][overlay] Use area strategy got from intersection strategy.
2017-07-04 04:45:37 +02:00
Adam Wulkiewicz
4122cab822
[correct] Allow passing area strategy into correct().
2017-07-04 04:42:13 +02:00
Adam Wulkiewicz
1026f9fd36
[strategies] Handle degenerated segments near poles in spherical and geographic intersection strategies.
2017-07-02 19:04:12 +02:00
Adam Wulkiewicz
c194e1221e
[test][formulas] Add formulas_ prefix to vertex_longitude test name.
2017-06-30 17:00:40 +02:00
Adam Wulkiewicz
0a56ddd654
[formulas] Fix VS std::max compilation error in vertex_longitude.
2017-06-30 17:00:00 +02:00