Adam Wulkiewicz
dd32a9578b
Merge pull request #987 from awulkiew/feature/gc7
...
Two GC-related utilities
2022-05-24 16:42:50 +02:00
tinko92
bba4603a30
Fix line_interpolate termination condition for single points. ( #1003 )
...
* Fix line_interpolation termination condition for single points.
* Use is_point utility and BG_CONDITION macro to prevent potential msvc 2017 warning over constant condition without if constexpr.
2022-05-23 12:49:21 +03:00
Adam Wulkiewicz
991a996732
Merge pull request #996 from awulkiew/feature/gc8
...
[relate] Refactor relate utilities and implementation.
2022-05-19 13:35:27 +02:00
Vissarion Fisikopoulos
f20bda6104
Fix auto return in distance_cross_track strategy ( #1005 )
2022-05-19 12:32:33 +03:00
Adam Wulkiewicz
e25ace62f2
[relate] Remove unused, commented-out, GC-related code.
...
Rename some functions.
2022-05-18 23:33:06 +02:00
Adam Wulkiewicz
f80cacc4cb
[relate] Refactor relate utilities and implementation.
...
Implement boundary_checker and follow helpers for geometry collection.
They are commented-out for now because they are not used anywhere.
The code is there in case they were needed in the future.
2022-05-03 14:16:45 +02:00
Adam Wulkiewicz
9ca0257f5d
[algorithms] Add support for Segments and MultiPoints in point_on_border
...
Fix point_on_border for Points of different types.
2022-05-02 19:53:27 +02:00
Adam Wulkiewicz
f3d276c8f0
[views] In random_access_view prefix detail namespace
...
Distinguish between geometry::detail and traits::detail used in
the adaptation of c_array.
2022-04-13 15:22:45 +02:00
Adam Wulkiewicz
7af3d50a6f
[algorithms] Add merge_elements algorithm for GC
2022-04-13 15:22:45 +02:00
Adam Wulkiewicz
b8e7811830
[views] Add random_access_view of GC
2022-04-13 15:22:44 +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
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
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
3fe21c2955
[index] Promote content and margin result to double instead of long double
2022-02-22 22:22:00 +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
f42971a3f6
Merge branch 'develop' into fix/normalize_spheroidal
2022-02-08 17:25:29 +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
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
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
c616b8e082
[strategy][envelope] Improve spherical envelope_range.
2022-01-20 00:33:02 +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
6226451f6a
[simplify] Replace distance Pt-Seg strategy with comparable_distance Pt-Pt strategy.
2022-01-18 17:26:03 +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
Adam Wulkiewicz
9f960dc9ee
[buffer][overlay] Propagate umbrella strategy.
2022-01-05 23:41:21 +01:00
Adam Wulkiewicz
1f5c87bd71
[strategies] Derive buffer strategies from distance strategies.
2022-01-05 23:40:18 +01:00
Vissarion Fisikopoulos
830633a8a2
Merge remote-tracking branch 'origin/develop' into feature/shortest_points_new_strategies_non_cartesian
2022-01-05 15:31:00 +02:00
Vissarion Fisikopoulos
1b0a1dfe61
[closest_points] Several fixes: indentation, formating, pass correct types, activate tests
2022-01-05 14:38:06 +02:00
Barend Gehrels
3806c5dc32
[side] use side_by_triangle by default
2021-12-30 11:16:48 +01:00
Barend Gehrels
ca42385d3b
fix: define get_distance_measure by default
2021-12-15 16:43:58 +01:00
Vissarion Fisikopoulos
7c8d422281
Merge pull request #948 from vissarion/fix/envelope_small_linestrings_issue
...
Fix spherical and geographic envelope for near meridian segments
2021-12-15 17:26:40 +02:00
Vissarion Fisikopoulos
8ab623339b
[envelope] [test] Do not avoid (near) meridian segments
2021-12-15 14:13:25 +02:00
Barend Gehrels
c86bb2d07e
fix: use policy instead of define
2021-12-15 10:29:38 +01:00
sdlzx
b54c8c920a
Drop execute bit for C++ code
2021-12-15 10:28:25 +01:00