Commit Graph

7404 Commits

Author SHA1 Message Date
Vissarion Fysikopoulos
2a0b4e6b16 Merge branch 'feature_box_seg' into feature_test_distance_any_geo 2018-04-25 12:13:38 +03:00
Vissarion Fysikopoulos
72019d52d1 [algorithms] [strategies] Rename meridian method to vertical_or_meridian 2018-04-24 15:30:48 +03:00
Vissarion Fysikopoulos
3f2660de7c [tests] Remove unused strategy pt-box definitions 2018-04-24 10:30:47 +03:00
Vissarion Fysikopoulos
e4f55eafdd [algorithms] [distance] Clean and optimize seg on the right of box distance case 2018-04-23 16:07:09 +03:00
Vissarion Fysikopoulos
077653f2ca [algorithms] [strategies] Move mirror box functionality to strategies 2018-04-20 11:54:16 +03:00
Vissarion Fysikopoulos
e4dcc5bc7e [strategies] Use general units for box in segment_below_of_box strategy 2018-04-20 10:57:15 +03:00
Adam Wulkiewicz
9b8d0a3b4c [sectionalize] Avoid integer underflow/underflow in segment's direction calculation. 2018-04-19 23:34:24 +02:00
Vissarion Fysikopoulos
8c0976902d [algorithms] [strategies] In check segment below box function move CS spesific computation to strategies 2018-04-19 16:29:38 +03:00
Adam Wulkiewicz
74df6d2d31 Merge pull request #474 from awulkiew/fix/intersection_strategies
Fix spherical and geographic intersection strategies for short collinear segments
2018-04-18 13:55:21 +02:00
Vissarion Fysikopoulos
18f1394e30 [alsorithms] [distance] Optimization: avoid to compute vertex twice in some cases 2018-04-17 12:59:52 +03:00
Vissarion Fysikopoulos
7f5236b8fd [algorithms] [distance] Use the whole segment instead of starting point to vertex sub-segment for distance pt-seg computation 2018-04-17 11:55:02 +03:00
Vissarion Fysikopoulos
26fb76c622 [algorithms] [distance] Optimize segment check below of box 2018-04-13 16:24:31 +03:00
Adam Wulkiewicz
06e53eb573 Merge branch 'develop' into fix/intersection_strategies 2018-04-12 16:20:16 +02:00
Adam Wulkiewicz
5eeaf93864 Merge pull request #472 from vissarion/feature_fix_envelope_polygon
Fix envelope polygon
2018-04-12 16:15:59 +02:00
Adam Wulkiewicz
6b00b94947 [doc] Update 1.68 release notes. 2018-04-12 16:14:43 +02:00
Vissarion Fysikopoulos
2b4a36493c [doc] Add polygon envelope fix to release notes 2018-04-12 17:14:37 +03:00
Adam Wulkiewicz
d77d3af272 [test][strategies] Add test for short sph and geo collinear segments. 2018-04-12 16:14:15 +02:00
Vissarion Fysikopoulos
0a5a4e9cae [test] Update comment for cw rings 2018-04-12 15:49:58 +03:00
Adam Wulkiewicz
756f3951c7 [strategies] Fix zero ratio denominator calculated by sph and geo strategies. 2018-04-11 22:39:36 +02:00
Vissarion Fysikopoulos
cc381b3c7f [algorithms] [tests] Fix envelope algorithm for spherical and geographic polygons and rings 2018-04-11 17:12:27 +03:00
Adam Wulkiewicz
49b9e7bfa3 Merge pull request #465 from awulkiew/feature/projections_update
Update implemented projections to proj4 5.0.0 state.
2018-04-07 14:55:17 +02:00
Vissarion Fysikopoulos
1484a0eb65 [strategies] [tests] Fix special case for geo pt-seg distance 2018-04-05 14:26:21 +03:00
Vissarion Fysikopoulos
aee17ee094 [strategies] [tests] Activating some tests for pt-seg distance with thomas formula 2018-04-04 11:34:35 +03:00
Vissarion Fysikopoulos
93bd8501b0 [strategies] [algorithms] Azimuth strategy and box mirror function interfaces change 2018-04-02 14:55:34 +03:00
Vissarion Fysikopoulos
1e41a4d516 [strategies] [tests] Fix pt-seg distance cases for south hemisphere 2018-04-02 13:52:00 +03:00
Vissarion Fysikopoulos
350836f3e7 Merge with develop branch 2018-03-29 11:03:20 +03:00
Adam Wulkiewicz
e3802efb04 Merge pull request #467 from vissarion/feature_box_box_fix
Few fixes in distance computation
2018-03-28 16:09:08 +02:00
Vissarion Fysikopoulos
ff6547bc7b [formulas] Fix a bug in thomas inverse formula 2018-03-28 16:59:03 +03:00
Vissarion Fysikopoulos
df23bb19b8 [strategies] Fix inverse strategy type call from point segment distance computation strategy 2018-03-28 16:54:08 +03:00
Vissarion Fysikopoulos
ab2ab3144d [strategies] [tests] Diagonal case fix for box-box distance 2018-03-28 14:42:08 +03:00
Vissarion Fysikopoulos
51a3a6b78c Merge branch 'feature_box_box_fix' into feature_box_seg 2018-03-28 12:49:24 +03:00
Vissarion Fysikopoulos
37c78acd6c [strategies] [tests] Diagonal case fix for box-box distance 2018-03-28 12:48:58 +03:00
Barend Gehrels
68296965f5 ticket #13386 - workaround for some gcc compilers 2018-03-27 21:50:18 +02:00
Barend Gehrels
7bfd8c6ca3 Revert "ticket #13386 - workaround for some gcc compilers complaining about"
This reverts commit 54f5ead9e8.
2018-03-27 21:46:05 +02:00
Barend Gehrels
54f5ead9e8 ticket #13386 - workaround for some gcc compilers complaining about
Also move the const according to conventions, in this method.
2018-03-27 21:28:13 +02:00
Vissarion Fysikopoulos
3887ceedc3 [tests] South hemispahre box-box tests 2018-03-27 13:49:51 +03:00
Vissarion Fysikopoulos
d6569be95b Update include files for srs.hpp 2018-03-24 16:00:58 +02:00
Vissarion Fysikopoulos
2b5fc9a9d4 Merge remote-tracking branch 'origin/develop' into feature_box_seg 2018-03-24 15:43:13 +02:00
Vissarion Fysikopoulos
821bb37567 [algorithms] [strategies] Fix issue with envelope segment algorithm; wrong azimuth computation in some cases 2018-03-24 15:42:54 +02:00
Vissarion Fysikopoulos
e6e1b1d96f [tests] Crossing prime meridian tests 2018-03-23 16:40:09 +02:00
Adam Wulkiewicz
b9e33ae18f [index][doc] Improve description of predicates. 2018-03-23 00:18:31 +01:00
Adam Wulkiewicz
22f49ce7b4 [srs] Allow defining prime meridian in DMS format. 2018-03-22 22:11:53 +01:00
Adam Wulkiewicz
65df039169 [srs] In dms parser replace memset with init. list or std::fill. 2018-03-22 22:10:41 +01:00
Vissarion Fysikopoulos
c416382aff [formulas] [tests] Handle cases of geometries in both hemispheres 2018-03-20 16:48:04 +02:00
Adam Wulkiewicz
2b0f326249 [test][srs] Improve error messages in projections tests. 2018-03-18 03:15:34 +01:00
Adam Wulkiewicz
c32e32c18f [srs] In bonne proj avoid calc_t to bool implicit conversion. 2018-03-18 03:14:08 +01:00
Adam Wulkiewicz
2490451d8e [srs][test] Do not include projections by default (due to possible clashes with macros). 2018-03-15 20:37:34 +01:00
Adam Wulkiewicz
331c584c27 [srs] Replace apa table with struct and return it from pj_authset() instead of dummy/true bool value. 2018-03-15 18:58:31 +01:00
Adam Wulkiewicz
ffa8c32856 [srs] Add missing include and fix unused variable warnings. 2018-03-15 18:39:46 +01:00
Adam Wulkiewicz
4c2753701e [srs] Replace en table with struct and return it from pj_enfn() instead of dummy/true bool value. 2018-03-15 17:48:52 +01:00