9084 Commits

Author SHA1 Message Date
Adam Wulkiewicz
b8e7811830 [views] Add random_access_view of GC 2022-04-13 15:22:44 +02:00
Adam Wulkiewicz
0f0ac7e823
Merge pull request #992 from awulkiew/fix/disjoint
[test][disjoint] Add tests for box vs open ring.
2022-04-13 12:23:54 +02:00
Adam Wulkiewicz
f4ad328896 [test][disjoint] Add tests for box vs open ring.
Tests for issues: #837 and #982
2022-04-13 12:07:46 +02:00
Barend Gehrels
577de29211 [fix] disjoint and relate with const types 2022-04-13 10:09:53 +02:00
Adam Wulkiewicz
9c3faa4d3c
Merge pull request #991 from stefan301/fix-cpp20-compile-error
Fix c++20 compilation errors related to conditional expression
2022-04-12 12:59:54 +02:00
Adam Wulkiewicz
031239487c
Merge pull request #990 from Mitsuhiko-Matsukawa/patch-1
Check return value from fe_segment_range_with_closure in for_each.hpp
2022-04-12 12:59:31 +02:00
stefan301
1a44b6914f Fix c++20 compilation errors related to conditional expression with int and floating_point_type
A floating_point_type with implicit conversions can lead to this C++20 compilation error:

boost\geometry\policies\robustness\segment_ratio.hpp(232,1): error C2445: result type of conditional expression is ambiguous: types 'int' and '<floating_point_type>' can be converted to multiple common types
2022-04-11 16:16:59 +02:00
Mitsuhiko-Matsukawa
816060b858
Update for_each.hpp 2022-04-08 21:27:14 +08:00
Vissarion Fisikopoulos
f27b19cde0
[srs] Accurate methods for ellipsoidal tmerc (#978) 2022-04-08 13:22:32 +03:00
Adam Wulkiewicz
98952de3c1 [doc] Update 1.79 release notes 2022-04-05 22:21:30 +02:00
Barend Gehrels
c24c971e73 [fix] get_turns with const geometries, as long as its turn_point is writable 2022-03-09 12:15:22 +01:00
Barend Gehrels
9edf4d1685 [fix] sectionalize with const geometry 2022-03-02 09:34:40 +01:00
Barend Gehrels
8774b7b2d7 [major change] change the default, disable rescaling by default 2022-02-23 12:49:58 +01:00
Adam Wulkiewicz
6251e1871e
Merge pull request #979 from awulkiew/fix/rtree_algo
Promote content and margin result to double instead of long double
2022-02-23 11:30:30 +01:00
Adam Wulkiewicz
3fe21c2955 [index] Promote content and margin result to double instead of long double 2022-02-22 22:22:00 +01:00
Barend Gehrels
9243413cad [test] fix coordinates to make the polygon invalid as designed for both rescaled and without rescaling 2022-02-16 10:32:05 +01:00
Vissarion Fisikopoulos
01374135af
Replace check_iterator_range by std::any_of, std::all_of or std::none_of (#934) 2022-02-15 15:44:54 +02:00
Adam Wulkiewicz
5627d023da
Merge pull request #936 from awulkiew/fix/envelope
Fix envelope of polygon containing pole.
2022-02-14 17:16:02 +01:00
Vissarion Fisikopoulos
acd3517328
Merge pull request #961 from vissarion/feature/webmerc_projection
Add Web Mercator projection
2022-02-14 17:51:53 +02:00
Adam Wulkiewicz
33b99c1c91 [strategies] Tweak code formatting. Remove unneeded include. 2022-02-08 17:46:32 +01:00
Adam Wulkiewicz
006ba4fb5e
Merge pull request #974 from awulkiew/fix/normalize_spheroidal
Fix spheroidal normalization utilities for NaN coordinates
2022-02-08 17:32:50 +01:00
Adam Wulkiewicz
fd0dac8563
Merge pull request #973 from awulkiew/feature/intersection_test
Test boxes intersection in separate file and add geographic tests.
2022-02-08 17:32:11 +01:00
Adam Wulkiewicz
f42971a3f6 Merge branch 'develop' into fix/normalize_spheroidal 2022-02-08 17:25:29 +01:00
Adam Wulkiewicz
64803f39c1
[ci] Update msvc version in gh workflow 2022-02-07 17:27:40 +01:00
Barend Gehrels
9c18680f31 [fix] for integer coordinates, segment intersection now rounds to nearest point 2022-02-07 10:33:15 +01:00
Adam Wulkiewicz
7ce0594e0a [test][intersection] Test boxes in separate file and add geographic tests. 2022-01-27 18:30:26 +01:00
Adam Wulkiewicz
f68a1312e7 [test][util] Add normalize spheroidal test. 2022-01-27 17:29:42 +01:00
Adam Wulkiewicz
36a4275d39 [util] Fix normalize spheroidal for nan coordinates.
Make sure that assertion doesn't fail for nan longitude.
Make sure that a box containing nan longitude is not considered to be a
band.
2022-01-27 17:21:14 +01:00
Adam Wulkiewicz
6099339544
Merge pull request #966 from awulkiew/fix/simplify
Fix simplify for open rings and improve it
2022-01-20 00:37:41 +01:00
Adam Wulkiewicz
e8f6aaaf12
Merge pull request #968 from awulkiew/fix/extensions2
Fix dissolve and side_robust test
2022-01-20 00:36:44 +01:00
Adam Wulkiewicz
012031a53e
Merge pull request #967 from awulkiew/fix/closest_points_test
Fix closest points test
2022-01-20 00:36:24 +01:00
Adam Wulkiewicz
a14aafb706
Merge pull request #963 from awulkiew/fix/rtree_serialization
Fix rtree elements count check in serialization/load.
2022-01-20 00:36:04 +01:00
Adam Wulkiewicz
af264a7441
Merge pull request #959 from awulkiew/fix/get_distance_measure
Propagate umbrella strategy in buffer and overlay.
2022-01-20 00:35:26 +01:00
Adam Wulkiewicz
7898d71758 [test][envelope] Add missing newline at the end of file. 2022-01-20 00:33:26 +01:00
Adam Wulkiewicz
c616b8e082 [strategy][envelope] Improve spherical envelope_range. 2022-01-20 00:33:02 +01:00
Adam Wulkiewicz
be87de3874 [test][triangulation] Add missing template arguments to side_robust 2022-01-18 19:03:24 +01:00
Adam Wulkiewicz
7286af1ab3 [test][dissolve] Pass umbrella strategy and replace BOOST_FOREACH 2022-01-18 19:02:14 +01:00
Adam Wulkiewicz
088b1f5f57 [dissolve] Fix compilation errors caused by the switch to umbrella strategies
Slightly refactor the code
2022-01-18 18:55:14 +01:00
Adam Wulkiewicz
96da99e5b5 [test][closest_points] Alter error thresholds in pl_l test for msvc-14.1. 2022-01-18 18:16:41 +01:00
Adam Wulkiewicz
5eff2c1829 [test][closest_points] Disable BOOST_GEOMETRY_TEST_DEBUG_CLOSEST_POINTS 2022-01-18 18:11:38 +01:00
Adam Wulkiewicz
6226451f6a [simplify] Replace distance Pt-Seg strategy with comparable_distance Pt-Pt strategy. 2022-01-18 17:26:03 +01:00
Adam Wulkiewicz
b20ee71731 [test][simplify] Add open and ccw ring cases. 2022-01-18 17:06:25 +01:00
Adam Wulkiewicz
5b2570e6f8 [simplify] Avoid returning closing point for open rings.
Avoid duplicating closing point for closed rings internally
in the algorithm while rotating rings.
2022-01-18 17:04:24 +01:00
Vissarion Fisikopoulos
e91c62ca5a [projections] Replace deprecated EPSG:3587 behaviour to be the same as EPSG:3587 aka webmerc 2022-01-17 12:37:08 +02:00
Vissarion Fisikopoulos
97bc80e795 [projections] Set deprecated EPSG 3785 to be the same as the official EPSG 3857. 2022-01-14 17:44:41 +02:00
Adam Wulkiewicz
91f74c802e [index] Fix elements count check in serialization/load. 2022-01-13 23:29:43 +01:00
Vissarion Fisikopoulos
fda597ed5b [projections] Add webmerc projection. 2022-01-13 17:17:48 +02:00
Vissarion Fisikopoulos
394461f773
Merge pull request #939 from vissarion/feature/shortest_points_new_strategies_non_cartesian
Closest points algorithm with new strategies for spherical and geographic geometries except boxes
2022-01-12 11:25:41 +02:00
Barend Gehrels
0fbb776e93 [sectionalize] remove dependency on define 2022-01-12 10:19:29 +01:00
Vissarion Fisikopoulos
46add594af Restore previous version in Doxyfiles 2022-01-12 10:49:08 +02:00