5889 Commits

Author SHA1 Message Date
Adam Wulkiewicz
369f996555 [buffer] Add/fix comments 2022-06-29 22:51:52 +02:00
Adam Wulkiewicz
2bd3ddf442 [crosses] Add const keywords 2022-06-29 22:32:10 +02:00
Adam Wulkiewicz
838f276815 Merge branch 'develop' into feature/gc11 2022-06-29 22:28:43 +02:00
Adam Wulkiewicz
b6a367596a
Merge pull request #1011 from awulkiew/feature/gc10
Add support for GC in intersection, sym_difference and union.
2022-06-29 22:11:46 +02:00
Adam Wulkiewicz
c730b27e23 [intersection] Rename functions add const keywords 2022-06-29 22:05:55 +02:00
Barend Gehrels
2462357198 [buffer] remove close_to_offset and min_distance, add edge_min_fraction 2022-06-29 11:57:24 +02:00
Barend Gehrels
9f33365496 [buffer] add empty side type 2022-06-29 11:57:24 +02:00
Barend Gehrels
e5613cb8ad [buffer] fix min distance boundary which should not have been used without rescaling
This fixes issue #988
2022-06-29 11:57:24 +02:00
Adam Wulkiewicz
09f5bc64a1 [buffer] Allow const inputs and fix empty check 2022-06-28 15:59:42 +02:00
Adam Wulkiewicz
01d5066d16 [geometries] Add helper linestring and ring 2022-06-28 15:58:59 +02:00
Adam Wulkiewicz
cfdf045101 [intersection][union] Replace typedef with using, fix formatting 2022-06-25 01:09:37 +02:00
Adam Wulkiewicz
5c840aa7de [simplify] Add missing template keyword 2022-06-25 00:47:22 +02:00
Adam Wulkiewicz
6a6dba760a [simplify] Allow different input and output geometries
Update comments
2022-06-25 00:37:27 +02:00
Vissarion Fisikopoulos
6d57aedf7f
Merge pull request #1013 from tinko92/fix/overlay-identical-branches
Fixes warning with -Wduplicated-branches in overlay for union (issue #443).
2022-06-23 13:57:11 +03:00
Barend Gehrels
88a0d710aa [side] added side_rounded_input and unit test 2022-06-22 11:14:59 +02:00
Adam Wulkiewicz
5cbd49df8f [buffer] Remove shadowing template parameters 2022-06-14 23:23:21 +02:00
Adam Wulkiewicz
bd24df98ef [buffer] Add support for GC 2022-06-14 22:55:53 +02:00
Adam Wulkiewicz
2d12cfc987 [buffer] Refactor buffer interface.
Add DG support for buffer version taking all of the parameters.
Divide buffer.hpp into interface and implementation parts.
Move implementation to dispatch namespace.
Expect geometry as output (POTENTIALLY BREAKING).
Use bg::clear() to clear output geometry instead of member function
clear() (POTENTIALLY BREAKING).
Check concept for output geometry instead value_type (POTENTIALLY
BREAKING).
2022-06-14 22:04:52 +02:00
Adam Wulkiewicz
ad619be0df [buffer] Add support for DG 2022-06-14 20:46:36 +02:00
Adam Wulkiewicz
2fb17a14ab [relate] Fix yet another special case and add optimization
Add result handler wrapper forcing the A/A algorithm to set II, IE and
EI parts of the result.

Implement breaking mechanism in gc_group_elements.
2022-06-14 18:12:19 +02:00
Adam Wulkiewicz
e0cbdd2ab7 [relate] Fix relate for other special cases 2022-06-14 00:50:42 +02:00
Adam Wulkiewicz
6f8868348c [relate] Fix special case
Pass boundary checkers of original multilinestrings to preserve
boundaries after dividing.
2022-06-10 01:46:10 +02:00
Adam Wulkiewicz
75e5b4d625 [relation] Add support for DG 2022-06-09 15:54:09 +02:00
Adam Wulkiewicz
7dc4ef539d [touches] Add support for GC 2022-06-09 13:49:57 +02:00
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