8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz 22f1f0e37c [disjoint] Remove unused typedef. 2019-03-28 14:07:52 +01:00
Adam Wulkiewicz 737310e094 Merge branch 'bg-prepare' 2019-03-28 04:47:42 +01:00
Adam Wulkiewicz 58a730ee38 Merge branch 'develop' into bg-prepare 2019-03-27 20:39:32 +01:00
Adam Wulkiewicz 26df42f5d3 Merge pull request #581 from awulkiew/fix/disjoint_box_poly
Fix disjoint Box/Poly and Box/Seg
2019-03-27 15:08:59 +01:00
Adam Wulkiewicz e367b63c21 Merge branch 'develop' into fix/disjoint_box_poly 2019-03-27 14:28:28 +01:00
Vissarion Fisikopoulos 8f69777215 Fix disjoint(segment, box) in spherical_equatorial and geographic CS (#580)
* [algorithms] Remove azimuth optimization from spherical/geo disjoint segment-box
2019-03-27 10:01:14 +02:00
Adam Wulkiewicz a43e25cfef [test][disjoint] Add spherical cases (issues: 466, 579). 2019-03-26 17:43:49 +01:00
Adam Wulkiewicz 9d60791702 [disjoint] Implement disjoint Box/Poly using Box/Seg strategy and fix disjoint Seg/Box. 2019-03-26 17:43:06 +01:00
Adam Wulkiewicz 7c0449711e [strategy] Add disjoint Seg/Box strategy getter to intersection strategies. 2019-03-26 17:41:10 +01:00
Adam Wulkiewicz 30ebfb8cd5 [test][disjoint] Add failing cases of Seg/Box (issue 579). 2019-03-25 20:15:53 +01:00
Adam Wulkiewicz 7c82a8f14d [test][envelope] Add cases of spherical polygons (issues 466 and 471). 2019-03-21 20:19:15 +01:00
Vissarion Fisikopoulos 62d8e3cf03 Merge pull request #574 from vissarion/fix/add_test_series
Add tests for series expansion
2019-03-20 15:03:16 +02:00
Vissarion Fysikopoulos ff36bf3ba9 [formula] Remove unused variable from karney_direct 2019-03-20 14:45:33 +02:00
Vissarion Fysikopoulos 265517f69a [test] Add test for series expansion comparision with geographiclib 2019-03-20 14:43:38 +02:00
Vissarion Fisikopoulos 946426751c Merge pull request #562 from kenba/develop
Update series_expansion.hpp
2019-03-20 11:14:03 +02:00
Adam Wulkiewicz 4ad175bd8f Merge pull request #573 from Kojoley/patch-1
interpolate_point_spherical: inline var initialization
2019-03-20 04:30:01 +01:00
Nikita Kniazev c24f8c4bfc interpolate_point_spherical: inline var initialization
Fixes msvc < 12 failures.
2019-03-20 01:06:51 +03:00
Adeel Ahmad 05ae463f4e [util] Remove math::NaN() function
NaN was previously being used when the angle was greater
than 90 deg. Since we now use the maximum angle value [-90, 90]
this function is no longer required.
2019-03-17 11:30:18 +01:00
Adeel Ahmad 3b6ad807c3 [formulas][util] Remove math::round_angle() function and use original value instead 2019-03-17 11:23:37 +01:00
Adam Wulkiewicz 7f703fd5a6 [strategies][buffer] Make sure geographic azimuth is in valid range in geographic_point_circle. 2019-03-15 17:30:38 +01:00
Adam Wulkiewicz e314795dbb [formulas] Add asserts for validity of azimuth passed to thomas_direct and differential_quantities. 2019-03-15 17:29:02 +01:00
Vissarion Fisikopoulos aede53101b Merge pull request #571 from vissarion/fix/distance_acos
Fix nan result in geo distance
2019-03-15 14:49:39 +02:00
Vissarion Fysikopoulos 2a92f39244 [doc] Update release notes. 2019-03-15 14:46:20 +02:00
Vissarion Fysikopoulos 220fe13890 [strategy][test] Robust acos call and tests 2019-03-15 14:43:45 +02:00
Adam Wulkiewicz 392f73e796 Merge pull request #570 from vissarion/fix/vertex_longitude
Fix for distance between geometries
2019-03-14 19:41:27 +01:00
Adam Wulkiewicz e22d2410c8 Merge pull request #567 from awulkiew/fix/direct_formulas
Allow negative distance in direct formulas.
2019-03-14 19:40:28 +01:00
Vissarion Fysikopoulos 4d5aedf648 [test] Add test case that fail without swapping longitudes in box segment strategy 2019-03-13 15:43:57 +02:00
Vissarion Fysikopoulos 9a79ed3f7a [strategy] Swap coordinates before calling vertex longitude formula from distance segment box 2019-03-13 15:43:12 +02:00
Barend Gehrels 96956c3519 [test] Change expectations because of failing tests on MSVC 2019-03-13 14:35:29 +01:00
Barend Gehrels 89b64c416a [test] Simplify conditional code as done earlier 2019-03-13 13:57:16 +01:00
Barend Gehrels baaf2e3284 [test] add testcases for reported issues #566, and to mailing list at March 7 2019-03-13 13:56:44 +01:00
Adam Wulkiewicz c3a18fbfa4 [formulas] Handle azimuth sign 0 in differential_quantities calculation. 2019-03-12 19:32:58 +01:00
Adam Wulkiewicz c7a4c12f71 [test][formulas] Add tests for negative distance in direct formulas. 2019-03-12 01:42:39 +01:00
Adam Wulkiewicz 37431351de [formulas] Fix reduced length sign on equator for negative distance. 2019-03-12 01:42:01 +01:00
Adam Wulkiewicz cbc648e9aa [formulas] Allow negative distance in direct formulas. 2019-03-12 01:35:06 +01:00
Adam Wulkiewicz e361c45a35 [extensions][io][shapefile] Support M and Z geometries. 2019-03-10 20:07:06 +01:00
Adam Wulkiewicz 4a6d8075ec Merge branch 'develop' into feature/point_order 2019-03-08 16:56:33 +01:00
Adam Wulkiewicz 09c7d02c5d Merge branch 'develop' into feature/read_shapefile 2019-03-08 16:56:09 +01:00
Barend Gehrels 6344e3c72e Merge pull request #563 from barendgehrels/enhance/more-remove-rescale-preparations
Enhance/more remove rescale preparations
2019-03-06 09:47:34 +01:00
Adam Wulkiewicz 592b774bf4 [strategies][io] Add IO umbrella strategies (returning point-order and within strategies). 2019-03-06 02:10:26 +01:00
Adam Wulkiewicz bd2dc54e8c [extensions][io] Check rings point-order and assign inner rings. 2019-03-06 02:08:10 +01:00
Barend Gehrels 24455aeab8 changes in comments 2019-03-05 20:31:20 +01:00
Adam Wulkiewicz 2bebeb82a9 Merge branch 'bg-prepare' 2019-03-05 13:36:24 +01:00
Adam Wulkiewicz e168cd60e4 Merge branch 'develop' into bg-prepare 2019-03-05 13:35:49 +01:00
Vissarion Fisikopoulos 869b20cfe8 Merge pull request #564 from awulkiew/fix/line_interpolate
Fix/line interpolate
2019-03-05 10:03:55 +02:00
Adam Wulkiewicz c2d6b56521 [test][line_interpolate] Fix dereference of non-dereferencable iterators. Remove typename keyword. Improve error message. 2019-03-04 18:31:02 +01:00
Adam Wulkiewicz 2c44cfcdb6 [line_interpolate] Fix compilation error, change names. 2019-03-04 18:24:33 +01:00
Adam Wulkiewicz 6de86f8a71 [point_order] Cleanup, comment. Remove unneeded ctor. Remove empty namespace. 2019-03-04 18:11:22 +01:00
Adam Wulkiewicz 53c5ffdd17 [remove_spikes] Replace deque with vector. Instead of modifying the container use iterators to track front and back. 2019-03-04 17:29:40 +01:00
Adam Wulkiewicz 3b5b66705c [point_order] Update size of range when spikes are removed from the beginning/end of the range. 2019-03-04 17:27:54 +01:00