9105 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
e06b6ff923 [doc] Explain output range of azimuth algorithm. 2022-11-21 21:41:17 +02:00
Vissarion Fisikopoulos
e933682d1c
Merge pull request #1091 from vissarion/fix/custom_point_issue
Fix mutable point issue and typos in boundary_checker.
2022-11-16 16:09:32 +02:00
Vissarion Fisikopoulos
c26217e810 Add test with custom points. 2022-11-16 15:48:01 +02:00
Vissarion Fisikopoulos
f046734780
Merge pull request #1083 from haubenmi/fix-missing-include
Fix a missing include for using boost::is_base_of
2022-11-16 15:05:51 +02:00
Vissarion Fisikopoulos
7596f674ab
Merge pull request #1074 from vissarion/feature/fix_area_special_case_clean
Fix special case of area for segments that pass through a pole.
2022-11-16 15:05:20 +02:00
Vissarion Fisikopoulos
1663d2bb0b
Merge pull request #1087 from vissarion/fix/kanrey_direct_units2
Make all direct formulas consistent
2022-11-16 15:04:55 +02:00
Barend Gehrels
75742b0d24 [turn] fix distance measure for equal points
Fixes #1076
2022-11-16 14:00:43 +01:00
Barend Gehrels
455822d6b1 [test] cleanup already succeeding testcases 2022-11-16 14:00:43 +01:00
Barend Gehrels
fcb992de6c [test] add case for issue #1084 2022-11-16 14:00:43 +01:00
Vissarion Fisikopoulos
a5d94e57ce Add comment for comparison with == in area formulas. 2022-11-16 13:24:21 +02:00
Vissarion Fisikopoulos
b510c3ee74 Declare variables const in area formulas. 2022-11-16 13:23:20 +02:00
Vissarion Fisikopoulos
9a4335a57d Fix style in karney direct formula. 2022-11-14 10:47:55 +02:00
Vissarion Fisikopoulos
b2c3b9721e Fix mutable point issues and typos in boundary_checker. 2022-11-11 17:57:46 +02:00
Vissarion Fisikopoulos
d24c857e62 Simplifications in karney direct formulas. 2022-11-11 13:55:29 +02:00
Vissarion Fisikopoulos
e0f74e40ba Update copyright comments. 2022-11-11 13:09:19 +02:00
Vissarion Fisikopoulos
7aa8e54a10 Simplify conversion to/from radians in direct formula tests. 2022-11-11 13:04:43 +02:00
Michael Haubenschild
0e961c6ad2 Use std::is_base_of instead of boost::is_base_of to remove the dependency 2022-11-11 09:18:16 +01:00
Vissarion Fisikopoulos
e14fe0530c Make all direct formulas consistent for input and output (all in radians) 2022-11-09 16:44:18 +02:00
Barend Gehrels
09d135464b [buffer] harmonize number of points 2022-11-09 11:46:34 +01:00
Barend Gehrels
cf98fb5564 [buffer] rearrange template parameters 2022-11-09 11:46:34 +01:00
Barend Gehrels
1df1e7021e [buffer] harmonize geographic strategy code and share code 2022-11-09 11:46:34 +01:00
Vissarion Fisikopoulos
4a255ab4b3
Merge pull request #1078 from vissarion/fix/warnings
Fix a few warnings
2022-11-08 10:46:45 +02:00
Vissarion Fisikopoulos
ca150c49ee Make some variables in math utilities const. 2022-11-02 08:40:58 +02:00
Vissarion Fisikopoulos
ae4c906679 Remove unused count variables in intersection points. 2022-10-24 12:40:29 +03:00
Vissarion Fisikopoulos
419590c41c Fix implicit convertion warning. 2022-10-24 12:40:15 +03:00
Vissarion Fisikopoulos
0dbf2a7a0c Use std::floor and change convention in subtraction (lon12 = lon2 - lon1). 2022-10-24 11:20:51 +03:00
Vissarion Fisikopoulos
465024b157 [area] [test] Add test cases for segments passing through the south pole. 2022-10-21 18:43:29 +03:00
Vissarion Fisikopoulos
863e94382c [area] [test] Add test cases with segments passing through the pole. 2022-10-21 17:31:21 +03:00
Vissarion Fisikopoulos
17fc72688b Create and use trapezoidal formula function in area formulas. 2022-10-21 11:05:51 +03:00
Vissarion Fisikopoulos
1c7d3fb837 Stylistic changes in area formulas. 2022-10-20 22:10:44 +03:00
Vissarion Fisikopoulos
77f9d36a14 Fix special case of area for segments that pass through a pole. 2022-10-20 21:47:31 +03:00
Vissarion Fisikopoulos
938f6f6bc1
Merge pull request #1046 from vissarion/feature/covered_by_box_mpoly
Support covered_by() for box, geometry combinations
2022-10-13 14:40:33 +03:00
Vissarion Fisikopoulos
62c827ee9d Fix coding style, simplify, use mutable point type for envelope box in covered_by. 2022-10-13 11:08:04 +03:00
Barend Gehrels
ba23318b1d [buffer] add testcases for (multi) polygon buffer for geographic 2022-10-13 09:40:10 +02:00
Barend Gehrels
475684732c buffer: add end round and join miter 2022-10-12 11:59:48 +02:00
Barend Gehrels
b18db001b8 [test] add optional csv output to view buffer test cases in qgis 2022-09-09 09:54:56 +02:00
Barend Gehrels
d1abd75a8a [readme] update to reflect changes in 1.80 2022-09-09 09:29:44 +02:00
Vissarion Fisikopoulos
516e4539c6
Merge pull request #1056 from stefan301/fix-cpp20-compile-error
Fix C++20 compilation errors related to conditional expression
2022-09-01 11:28:08 +03:00
Vissarion Fisikopoulos
016e23b85a Add a todo for the geometry covered_by box suboptimal current implementation 2022-08-30 17:16:18 +03:00
Vissarion Fisikopoulos
69069a2285 Use strategy cs_tag instead of geometry's cs_tag 2022-08-30 17:10:46 +03:00
stefan301
8ab41e349d 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\boost\geometry\algorithms\detail\overlay\get_turn_info.hpp(233,1): error C2445: result type of conditional expression is ambiguous: types '<floating_point_type>' and 'int' can be converted to multiple common types
2022-08-20 16:22:03 +02:00
Barend Gehrels
49004c5ddd [buffer] add join_round and side_straight for geographic
Including tests and testcode
2022-08-03 11:19:11 +02:00
Vissarion Fisikopoulos
fd295f15c4 Support covered_by(linear,box). 2022-07-28 16:18:55 +03:00
Vissarion Fisikopoulos
b44e0a9fbe [doc] Update covered_by support status 2022-07-28 15:33:30 +03:00
Vissarion Fisikopoulos
fe8bcdf3df Replace typedef with using in covered_by tests. 2022-07-28 13:28:31 +03:00
Vissarion Fisikopoulos
39e46d2a04 Add covered_by(areal, box) non cartesial tests. 2022-07-28 12:50:24 +03:00
Vissarion Fisikopoulos
5b70cedeb6 Support covered_by(box, areal). 2022-07-27 18:02:23 +03:00
Vissarion Fisikopoulos
b4082158b7 Support covered_by(multi_point, box). 2022-07-27 17:14:31 +03:00
Vissarion Fisikopoulos
8472f93658 Merge cartesian covered_by tests in one file 2022-07-27 16:05:57 +03:00
Vissarion Fisikopoulos
6b8c31ee3d Add commented out tests in covered_by that should pass but do not compile 2022-07-27 16:02:43 +03:00