Commit Graph

5860 Commits

Author SHA1 Message Date
Adam Wulkiewicz
ba6e082c0c [algorithms] Break include cycles caused by GC support in covered_by and within 2022-06-09 02:01:34 +02:00
Adam Wulkiewicz
496615ee03 [covered_by] Add support for GC 2022-06-09 00:06:55 +02:00
Adam Wulkiewicz
ceec0d938b [within] Add support for GC 2022-06-08 21:57:51 +02:00
Adam Wulkiewicz
fc6ddc9dee [relate][test][equals] Fix relate for GC special case 2022-06-08 19:51:12 +02:00
Adam Wulkiewicz
92f7fd1049 [equals] Add support for GC 2022-06-08 16:28:08 +02:00
Adam Wulkiewicz
ea376ad819 [algorithms][test] Fix remove_duplicate_turns used in L/L setops.
Pass strategy to P/P equality check.

Drop algorithms/equals.hpp dependency from set operations.
2022-06-08 14:53:43 +02:00
Adam Wulkiewicz
7e100471e7 [algorithms] Move gc helper algorithms to separate files.
Rename files and algorithms to match the naming pattern.
2022-06-08 02:05:27 +02:00
Adam Wulkiewicz
17b939e07f [policies] Include compare spherical strategy in compare policy header 2022-06-08 00:54:41 +02:00
Adam Wulkiewicz
5ff809ca5f [overlaps] Add support for GC and DG 2022-06-08 00:53:55 +02:00
Adam Wulkiewicz
e30bf569ad [crosses] Add support for GC. 2022-06-07 23:22:35 +02:00
Adam Wulkiewicz
e9e64da71b [algorithms] Add support for GC in relate.
Alter includes in several algorithms to allow using union in relate.

Conditionally allow grouping of elements from the same GC in
union's gc_group_elements.
2022-06-07 15:32:12 +02:00
Vissarion Fisikopoulos
f5e7b88210 [srs] Fix alignment in omerc projection 2022-06-07 15:42:32 +03:00
Vissarion Fisikopoulos
93df5f939e [srs] Avoid compilation errors in axis initialization 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
4acf213ea5 [srs] [test] Tests for projection SRSs 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
38d47dd7cb [srs] Support axis orientation using the +axis proj4 argument 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
442d03cef5 [srs] Add hyperbolic Cassini-Soldner projection 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
702180db17 [srs] Enable Hotine Oblique Mercator (variant A) 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
276df16591 [srs] Implement polar steregraphic (variant C) projection (EPSG:9830) 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
0359f0838c [srs] Add Colombia urban projection (EPSG:1052) and update copyrights 2022-06-07 13:01:56 +03:00
Vissarion Fisikopoulos
c579e1e5ba [srs] Fix Krovak projection to follow definitions in IOGP publication 373-7-2 Geomatics Guidance Note number 7, part 2 - Sept. 2019. 2022-06-07 13:01:56 +03:00
Tinko Bartels
bb739386b4 Remove ternary operator with identical branches in default code path. 2022-06-06 23:25:31 +02:00
Tinko Bartels
2ee0967344 Allow start for self-turns for difference overlay operations and enable corresponding test case. 2022-06-06 09:24:37 +02:00
Adam Wulkiewicz
d31cd27488 [merge_elements] Implement alternative version of merging two geometries.
The reason is great compilation time with gcc-6.
This is mainly a test.
2022-06-03 01:20:39 +02:00
Adam Wulkiewicz
d57a913d4e [union] Comment out the code subtracting the GC elements of the result. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
4fb91e4e31 [algorithms] Add support for GC in sym_difference. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
0ad05bfef4 [algorithms] Add support for GC in union. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
e7836a3ce2 [algorithms] Add support for GC in intersection. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
1fd0a6aec2 [views] Add missing traits for random_access_view. 2022-06-02 15:41:12 +02:00
Barend Gehrels
4960865920 fix compilation error (svg), warnings (unused), style (return), examples and cmake (C++14) 2022-06-01 11:42:20 +02:00
Barend Gehrels
da9ad1eccf [strategies] make cartesian_winding similar to spherical_winding 2022-06-01 11:10:50 +02:00
Adam Wulkiewicz
7491d255e6 Merge pull request #997 from awulkiew/feature/gc9
Add support for GeometryCollection in difference()
2022-05-24 16:45:29 +02:00
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
ab58844ef1 [difference] Add support for output GC for non-GC inputs. 2022-05-16 12:52:12 +02:00
Adam Wulkiewicz
146e572fa0 [difference] Add support for GC and DG in difference(). 2022-05-07 16:20:33 +02:00
Adam Wulkiewicz
25ad304fa7 [views] Add geometry_collection_view. 2022-05-07 16:19:58 +02:00
Adam Wulkiewicz
2c15bae453 [algorithms] Add utility detail::make_rtree() of GC elements. 2022-05-07 16:19: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