2924 Commits

Author SHA1 Message Date
Barend Gehrels 331e7f80c9 [TEST] add testcases for reported issues 2019-11-23 14:03:40 +01:00
Barend Gehrels c5ef6985ef Merge pull request #640 from barendgehrels/minor/sort_and_test
Minor changes
2019-11-14 22:46:04 +01:00
Vissarion Fisikopoulos 20a463346d Fix deprecated header for floating_point_comparison 2019-11-14 15:42:45 +02:00
Barend Gehrels e4fbc736a4 [test] update defines for non-Kramer case 2019-11-13 13:09:14 +01:00
Barend Gehrels c3c7a99c5f [test] Skip validity check for some cases when rescaling is not used 2019-11-13 12:53:07 +01:00
Barend Gehrels 2989992d37 [test] Write test configuration and make ccw order in tests optional 2019-11-13 12:52:33 +01:00
Barend Gehrels fbf333c8a7 [test] updates in expectations and defines 2019-11-13 12:05:24 +01:00
Barend Gehrels 090e2c4e4a [test] add testcase for issue #630 2019-11-13 11:48:44 +01:00
Adam Wulkiewicz 43eec3c42b [test][arithmetic] Replace std::fabs with bg::math::abs. 2019-11-10 20:36:34 +01:00
Adam Wulkiewicz 0af5060bbf Merge pull request #479 from awulkiew/fix/empty_union
Fix for empty spherical union
2019-11-06 13:52:56 +01:00
Adam Wulkiewicz a826d99c6c [test][formulas] Extract karney_inverse tests into separate file. 2019-11-06 00:17:39 +01:00
Adam Wulkiewicz 1832ff5a48 Merge pull request #634 from vissarion/fix/distance_accuracy
[tests] Decrease accuracy in distance_cross_track geographic strategy…
2019-11-05 14:01:47 +01:00
Vissarion Fysikopoulos a2089e4a1b [tests] Decrease accuracy in distance_cross_track geographic strategy tests 2019-10-31 18:18:34 +02:00
Vissarion Fisikopoulos 8f1e5068ae Merge pull request #500 from BoostGSoC18/feature/karney_inverse
Introduce formula for Karney's inverse geodesic method
2019-10-31 17:00:31 +02:00
Barend Gehrels 1ae1d3578a Merge pull request #632 from barendgehrels/fix/buffer_onesided
Fix/buffer onesided
2019-10-30 22:37:01 +01:00
Barend Gehrels af316e7a39 [buffer] fix inside-piece detection for one-sided buffers 2019-10-30 14:44:23 +01:00
Barend Gehrels 8aa31d68cc [buffer] fix round end cap for asymmetric buffers 2019-10-30 12:34:40 +01:00
Barend Gehrels e4f2bd4ce0 [test] add testcases for mostly left/right on asymmetric buffers,
for flat end on asymmetric buffers,
enable three formerly failing cases,
renamed cases, add settings variable
2019-10-30 11:47:45 +01:00
Adam Wulkiewicz 0f9e61ceac [test][union] Add spherical A/A case. 2019-10-30 02:15:13 +01:00
Adam Wulkiewicz 1b33b57c47 Merge branch 'develop' into fix/empty_union 2019-10-29 18:57:12 +01:00
Adam Wulkiewicz 43c32764c9 Merge pull request #621 from awulkiew/fix/turns_sorting
While sorting turns in relops and setops compare also point coordinates.
2019-10-25 14:16:53 +02:00
Adam Wulkiewicz 84bf7e2f3a Merge pull request #616 from awulkiew/feature/srs_and_shapefile
Improvements of srs transformations and shapefile loading.
2019-10-25 14:16:02 +02:00
Barend Gehrels eedd3c1f12 Merge pull request #622 from barendgehrels/fix/buffer-pass-strategies
Fix/buffer pass strategies
2019-10-24 20:17:13 +02:00
Adam Wulkiewicz f651218080 Merge pull request #584 from tinko92/feature/arbitrary_dimensions_matrix_transformers
Matrix transformer support for arbitrary dimensions
2019-10-24 14:13:15 +02:00
Vissarion Fysikopoulos 14be89e703 Fix distance pt-linestring for short segments 2019-10-17 22:36:17 +03:00
Mateusz Łoskot 1263eb8718 [for_each] Fix for_each_segment to avoid incrementing iterator over empty range (#625)
Add tests to verify `for_each_segment` does not post-increment end iterator over empty range.
Fixes #624
2019-10-13 17:23:30 +02:00
Barend Gehrels e9c45a7167 [test] update test if rescaling is turned of, for different configurations 2019-10-02 13:38:44 +02:00
Adam Wulkiewicz 8d29cc70ca [test][setops] Add difference(l,a) spherical case (issue 619). 2019-09-22 01:53:49 +02:00
Adam Wulkiewicz a03155b46d [test][formulas] Add test case (issue 612). 2019-09-20 00:57:21 +02:00
Adam Wulkiewicz 4c95a26b91 [test][srs] Fix type conversion warnings in proj4 wrapper. 2019-09-17 19:03:05 +02:00
Adam Wulkiewicz fdbc9086d7 [test][srs] Update low level projections test WRT recent changes. 2019-09-16 18:34:32 +02:00
Adam Wulkiewicz 8e9e163210 [test][srs] Add proj5 and proj6 API wrappers. 2019-09-01 00:32:10 +03:00
Adam Wulkiewicz 72c311ae7a [test][srs] Improve test proj4 wrapper. 2019-08-21 19:19:46 +02:00
Barend Gehrels 28eb87b402 [intersection] remove segment_ratio_type in most of the cases,
and where they are still used, its definition is changed making use
of the tags now available, and moving it to detail. It is to be
deprecated
2019-08-21 17:15:12 +02:00
Adam Wulkiewicz 964fa91619 Merge pull request #561 from awulkiew/feature/point_order
Add new algorithm detail::calculate_point_order() with strategies (and optimize remove_spikes()).
2019-08-14 16:32:07 +02:00
Barend Gehrels 6c9a7e0314 Merge pull request #613 from barendgehrels/feature/changes-for-selfturns-and-tests
Feature/changes for selfturns and tests
2019-08-10 15:17:30 +02:00
Adam Wulkiewicz 5d520285ab [test][strategies] Add missing = (fixes compilation with clang -std=c++98). 2019-08-01 21:42:34 +02:00
Adam Wulkiewicz f6d33812c7 [test] Call bg::math::abs() instead of std::fabs() in infinite_line test (workaround for msvc-10..12). 2019-07-30 23:55:18 +02:00
Barend Gehrels 33ea069ac0 [TEST] Test updates, most importantly the check on validity which now
only reports if input is considered as valid.
2019-07-17 14:23:29 +02:00
Barend Gehrels df7137e76d [test] Changes in difference multi unit test 2019-07-17 09:47:57 +02:00
Barend Gehrels 8c13a57f09 [test] Changes in difference unit test 2019-07-17 09:47:56 +02:00
Barend Gehrels 422a0b768b [line] process review remarks, rename general_form to infinite_line 2019-07-10 13:03:17 +02:00
Barend Gehrels a1e1caf8e5 [general_form] add is_degenerate predicate and use it in direction code,
instead of 4 equality checks
2019-07-03 19:38:03 +02:00
Barend Gehrels 6688360d90 [intersection] Add general_form functionality for handling of infinite
lines in the form ax + by + c = 0
This is used already at several places in the library, in those places
the general_form replaces that functionality.

The general form will (most probably) also used for segment-segment intersection.

Including unit test.

This makes parallel_continue obsolete.
2019-07-03 14:40:45 +02:00
Tinko Bartels 656924a200 [strategy] in matrix_transformer reverse iteration order, remove unneeded CalculationType, unneeded matrix_type typedef, change name of test 2019-07-02 23:43:25 +02:00
Tinko Bartels 5c3227b8f1 Resolve merge conflicts. 2019-07-01 22:08:15 +02:00
Adam Wulkiewicz 0c77558db2 [test] Divide cs::undefined relops test into two deparate files. 2019-06-30 22:17:26 +02:00
Adam Wulkiewicz b73a401480 [test] Add cs::undefined tests. 2019-06-28 23:30:04 +02:00
Adam Wulkiewicz f17be7daba [test][algorithms] Update tests due to change of arguments in difference_insert and sym_difference_insert. 2019-06-28 21:47:36 +02:00
Adam Wulkiewicz 38ae42e442 Merge branch 'develop' into feature/undefined_cs 2019-06-28 14:29:52 +02:00