2466 Commits

Author SHA1 Message Date
Adam Wulkiewicz
d02858e68a [test][buffer] Add missing include 2022-07-06 15:13:17 +02:00
Adam Wulkiewicz
df1e15d32f [test][disjoint] Add missing include 2022-07-06 14:23:34 +02:00
Adam Wulkiewicz
a78532ad8b [test][touches] Add test cases 2022-07-02 01:07:26 +02:00
Adam Wulkiewicz
6402c9d043
Merge pull request #1027 from awulkiew/feature/buffer
Allow const inputs in buffer()
2022-06-29 22:55:01 +02:00
Adam Wulkiewicz
d8d6162404
Merge pull request #1024 from awulkiew/feature/simplify
Allow different input and output types in simplify
2022-06-29 22:54:34 +02:00
Adam Wulkiewicz
12530bf62f
Merge pull request #1017 from awulkiew/feature/gc12
Add support for GC and DG in buffer().
2022-06-29 22:53:27 +02:00
Adam Wulkiewicz
aef3643626 [test][buffer] Fix copyright info 2022-06-29 22:52:12 +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
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
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
959a5d2d6e [test][buffer] Add test cases for const linestring and ring 2022-06-28 16:00:02 +02:00
Adam Wulkiewicz
ff42f704a7 [test][simplify] Use const quad/ring in tests instead of a ring derived from vector 2022-06-27 16:43:54 +02:00
Adam Wulkiewicz
c5e9fe6c05 [test][covered_by][relate] Replace typedefs with using 2022-06-25 01:22:33 +02:00
Adam Wulkiewicz
a9364a1a88 [test][simplify] Add tests for different input and output geometries. 2022-06-25 00:38:47 +02:00
Adam Wulkiewicz
b96583357c [test][buffer] Add test for GC 2022-06-14 22:56:23 +02:00
Adam Wulkiewicz
b50d517c78 [test][relate] Add test case 2022-06-14 18:14:13 +02:00
Adam Wulkiewicz
a477775ede [test][relate][within] Enable previously failing test cases
Add failing L/L case unrelated to GC support
2022-06-14 00:52:14 +02:00
Adam Wulkiewicz
edc263ba99 [test][relate] Add test for fixed case 2022-06-10 01:48:03 +02:00
Adam Wulkiewicz
735ae17dfc [test][touches] Add test for GC 2022-06-09 13:50:22 +02:00
Adam Wulkiewicz
c07528df3e [test][covered_by] Add GC tests, some not passing because of a bug in relate 2022-06-09 00:07:35 +02:00
Adam Wulkiewicz
1ae58c2696 [test][within][relate] Add GC tests, some not passing because of a bug in relate 2022-06-08 21:58:40 +02:00
Adam Wulkiewicz
fc6ddc9dee [relate][test][equals] Fix relate for GC special case 2022-06-08 19:51:12 +02:00
Adam Wulkiewicz
c4a8ce3ba6 [test][equals][relate] Add tests for GC, some not passing because of a bug in relate 2022-06-08 16:28:49 +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
040636c6c3 [test][overlaps] Add tests for GC and DG 2022-06-08 00:55:11 +02:00
Adam Wulkiewicz
bd2d11cc62 [test][crosses] Add tests for GC. 2022-06-07 23:24:21 +02:00
Adam Wulkiewicz
b85ba192cd [test][relate] Add tests for GC. 2022-06-07 15:35:02 +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
fcfaaff17b [test][algorithms] Alter the expected results of union and sym_difference. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
c132af9587 [test][algorithms] Add tests for GC in intersection, sym_difference and union. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
bf668908f1 [test] Comment out unused types in merge_elements test. 2022-06-02 14:27:24 +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
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
Adam Wulkiewicz
003fe21d27 [test][difference] Add test case for GC output and non-GC inputs. 2022-05-16 12:52:54 +02:00
Adam Wulkiewicz
2e56818783 [test][difference] Add test cases for difference of GCs. 2022-05-07 16:21:17 +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
729ba71826 [test][algorithms] Add merge_elements test 2022-04-13 15:22:45 +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
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
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
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
Barend Gehrels
9c18680f31 [fix] for integer coordinates, segment intersection now rounds to nearest point 2022-02-07 10:33:15 +01:00