Barend Gehrels
64126a9173
[get_turn_info][test] add point_type, rename policy
2018-12-04 23:12:20 +01:00
Barend Gehrels
2653bf5e7b
[get_turn_info] Adapt unit test to latest state
2018-12-04 19:42:46 +01:00
Barend Gehrels
5bf8066f36
[get_turn_info] process review remarks, rename policies, methods
...
Postpone getting pk/qk in collinear_opposite
2018-12-01 13:22:03 +01:00
Barend Gehrels
c12b048742
[test] fix get_turn_info unit test by adding correct strategy
2018-11-28 20:32:21 +01:00
Adam Wulkiewicz
d19254842c
Merge branch 'develop' into feature/undefined_cs
2018-11-28 02:35:38 +01:00
Adam Wulkiewicz
6af84a3a49
[test] Move tests of extensions headers to extensions/test directory.
2018-11-27 21:17:16 +01:00
Adam Wulkiewicz
d271fde65f
[test] Move self contained headers tests and tweak Jamfile to shorten paths.
2018-11-27 21:00:28 +01:00
Barend Gehrels
a556829348
[is_valid] revert part of commit 465e487b8c
2018-11-25 11:17:28 +01:00
Adam Wulkiewicz
688bb5e290
[test][overlay] Test two specific get_turns L/L cases only for double coordinate type.
2018-11-23 03:05:26 +01:00
Adam Wulkiewicz
594babdfc5
[test][srs] Divide projection_interface tests into smaller chunks testing proj4, dynamic and static interfaces separately.
2018-11-22 03:59:45 +01:00
Barend Gehrels
445dcac39a
[test] fix get_turn_info test for new retrieve_policy
2018-11-21 23:07:23 +01:00
Mateusz Łoskot
146f80edae
Run headers tests only on demand
...
Disable headers tests on CI services and during regression tests.
Refines #525
2018-11-21 16:26:26 +01:00
Vissarion Fysikopoulos
c5b0f851a9
[test] Compute intermediate points inexactly
2018-10-29 16:29:20 +02:00
Mateusz Łoskot
ea962638f3
Add compile-only tests verifying headers are self-contained
...
Add Boost.Jam rule generating test target for each header found
in specified location.
List test suites (target aliases) for groups of headers.
Build self_contained_headers test only if CI environment variable is NOT
defined or on-demand, if TEST_HEADERS environment variable is defined,
or if b2 test/self_contained_headers is requested from command line.
Related to issue #523
2018-10-28 20:37:43 +01:00
Vissarion Fysikopoulos
87dfbe07a8
[doc] Line interpolate point algorithm and strategies
2018-10-26 17:03:24 +03:00
Vissarion Fysikopoulos
d8b95f0e94
Merge branch 'develop' into feature/line_interpolate_point_2
2018-10-24 16:50:53 +03:00
Vissarion Fysikopoulos
133177a620
[algorithms] Compute length using correct strategy in line interpolate points
2018-10-17 12:38:53 +03:00
Adam Wulkiewicz
a0eb54fc27
[test][within] Update P/B within strategies.
2018-10-15 01:23:15 +02:00
Adam Wulkiewicz
bcd6e69b41
[test][partition] Use disjoint Box/Box strategy in partition test.
2018-10-13 12:46:33 +02:00
Adam Wulkiewicz
d29acd1a2c
Merge branch 'develop' into feature/undefined_cs
2018-10-12 22:12:13 +02:00
Adam Wulkiewicz
e70603926d
[test][similarity] Fix conversion warning and formatting in discrete_hausdorff_distance test.
2018-10-12 22:11:56 +02:00
Adam Wulkiewicz
ef432a7fd2
Merge branch 'develop' into feature/undefined_cs
2018-10-12 21:19:22 +02:00
Adam Wulkiewicz
c15b32944d
[test][is_valid] Add test failing with midpoint in point_on_border.
2018-10-12 19:40:29 +02:00
Mateusz Łoskot
f2d5fae490
Replace boost::ignore_unused_variable_warning with boost::ignore_unused
...
The former is provided by Boost.ConceptCheck.
The latter is an improved equivalent provided by Boost.Core.
Related to #513
2018-10-12 15:16:46 +02:00
Adam Wulkiewicz
38cbc162a0
Merge branch 'develop' into feature/undefined_cs
2018-10-12 03:52:06 +02:00
Adam Wulkiewicz
9ebdda95cc
[test][is_valid] Add test case failing with Midpoint passed to point_on_border.
2018-10-12 03:35:33 +02:00
Adam Wulkiewicz
dcaadf6257
[test][envelope][strategies] Update strategies used for testing.
2018-10-12 03:34:35 +02:00
Vissarion Fysikopoulos
020be50d58
[tests] Add tests for line interpolate points algorithm with multipoints
2018-10-10 17:08:36 +03:00
Vissarion Fysikopoulos
c36a4c29f1
[algorithms] [strategies] [tests] Rename strategy for interpolation of points.
2018-09-25 13:00:34 +03:00
Vissarion Fysikopoulos
53c5dc1e27
[algorithms] [tests] Add special cases for line_interpolate_point algorithm and tests
2018-09-20 15:56:50 +03:00
Vissarion Fysikopoulos
3de61f311c
[algoritms] [tests] Add tests for cartesian line_interpolate_point and fix bug in algorithm.
2018-09-19 16:33:32 +03:00
Adam Wulkiewicz
75fa0ec513
[test][similarity] Move test hpp files and remove geometry.hpp include.
2018-09-15 14:05:19 +02:00
Adam Wulkiewicz
bf62e05e23
Merge pull request #496 from awulkiew/feature/projections_interface
...
Add run-time and compile-time projections/transformations parameters.
2018-09-14 23:37:42 +02:00
Adam Wulkiewicz
37e6eeaceb
Merge pull request #490 from yaghya/feature/similarity
...
Adding Frechet distance And Hausdorff distance algorithms to calculate Simmilarity Between Geometries
2018-09-14 23:35:46 +02:00
Yaghyavardhan singh khangarot
cc69fc28a2
[test][similarity] Added test cases for geographic strategies
2018-08-30 23:22:49 +05:30
Adam Wulkiewicz
2b85597ca0
[test][formulas][strategies] Change expected results of geo intersection.
2018-08-27 23:48:13 +02:00
Yaghyavardhan singh khangarot
5aa539d58e
Updated
2018-08-16 02:10:38 +05:30
yaghyavardhan singh khangarot
f526bb8f54
Merge branch 'develop' into feature/similarity
2018-08-15 20:15:42 +05:30
Yaghyavardhan singh khangarot
cbb635b1f6
[test][similarity] Updated indentation in test files
2018-08-15 19:23:33 +05:30
Yaghyavardhan singh khangarot
60ea4b2ee5
[test][similarity] Updated
2018-08-15 18:23:30 +05:30
Yaghyavardhan singh khangarot
8fdf0ad40a
[algorithms] Updated the function's names
2018-08-13 19:53:49 +05:30
Dane Springmeyer
295cdc750c
Avoid memory leak in segment_iterator.cpp test
2018-08-12 11:34:07 -07:00
Yaghyavardhan singh khangarot
3b22b04588
[test][similarity] Rename Hausdorff Distance and Frechet Distance test files
2018-07-31 22:04:14 +05:30
Adam Wulkiewicz
4782cb191d
[test][algorithms] Move relops tests dirs to algorithms/ dir.
2018-07-27 19:00:19 +02:00
Adam Wulkiewicz
7f27a9f995
Merge branch 'develop' into feature/projections_interface
2018-07-25 17:07:38 +02:00
Adam Wulkiewicz
79ef70f37b
Merge pull request #486 from BoostGSoC18/feature/geodesic_direct
...
Introduce formula for Karney's direct geodesic method
2018-07-25 14:59:48 +02:00
Adeel Ahmad
2ff1824683
[formulas][test] Update copyright information
2018-07-16 19:06:20 +05:00
Adam Wulkiewicz
ec7ac6df00
[test][strategies] Remove unused variable.
2018-07-11 15:05:21 +02:00
Adam Wulkiewicz
84d08d6936
[test][iterators] Remove typename keyword.
2018-07-11 14:56:14 +02:00
Adam Wulkiewicz
50dcb6d4ae
Merge pull request #488 from jonasdmentia/fix/closing_iterator_returns_reference_to_temp
...
Fix/closing iterator returns reference to temp
2018-07-09 13:43:46 +02:00
Adam Wulkiewicz
9d763b9e52
Merge pull request #499 from vissarion/fix/expand_make_inverse
...
Fix make_inverse and expand issue
2018-07-09 13:39:36 +02:00
Adeel Ahmad
73a2e2b8a4
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
2018-07-09 16:15:41 +05:00
Vissarion Fysikopoulos
f04c25f43d
[algorithms] [util] Rename is_inverse utility and update copyright notes
2018-07-09 12:58:34 +03:00
Yaghyavardhan singh khangarot
263a75ff9e
[test][similarity] Added test for edge cases
2018-07-07 17:39:50 +05:30
Vissarion Fysikopoulos
9efcb83bb3
[algorithms] [tests] Move include for make.hpp to correct place
2018-07-06 16:08:01 +03:00
Vissarion Fysikopoulos
7072ef0212
[util] Use is_inverse utility to detect inverse boxes
2018-07-06 16:03:56 +03:00
Yaghyavardhan singh khangarot
752f6dfc93
[test][similarity] Updated
2018-07-06 12:15:16 +05:30
Yaghyavardhan singh khangarot
dde8666d16
[algorithms] Updated frechet and hausdorff distance algorithm
2018-07-06 03:51:02 +05:30
Yaghyavardhan singh khangarot
13f12035c8
[test][similarity] Updated test files
2018-07-06 03:49:43 +05:30
Adam Wulkiewicz
9ac132ea0f
[test][distance] Remove unused variable.
2018-07-04 16:54:20 +02:00
Vissarion Fysikopoulos
fbc79c807b
Merge remote-tracking branch 'origin/develop' into feature_test_distance_any_geo
2018-07-04 16:16:51 +03:00
Vissarion Fysikopoulos
c1dd9278b9
Fix conflicts by merging to develop
2018-07-04 15:55:09 +03:00
Vissarion Fysikopoulos
38c77cf435
[algorithms] Avoid normalization for boxes created by make_inverse
2018-07-04 14:52:41 +03:00
Yaghyavardhan singh khangarot
26025e061b
[test][similarity] Update tests for frechet distance algorithm
2018-07-03 23:50:18 +05:30
Yaghyavardhan singh khangarot
504848c87b
[test][similarity] Update tests for hausdorff distance algorithm
2018-07-03 23:49:33 +05:30
Yaghyavardhan singh khangarot
29866d5f1f
[test][similarity] Tests for frechet distance algorithms
2018-07-03 16:27:10 +05:30
Adeel Ahmad
535ae96a86
[test] Add nearly antipodal points dataset for inverse geodesic problem
...
These values are collected from GeodTest which is associated
with GeographicLib:
https://zenodo.org/record/32156
The conversion to C++ array format is done using this Python script:
https://github.com/adl1995/boost-geometry-extra/blob/master/geographiclib-dataset-parse-inverse.py
Geodesic scale (M12) is absent from the GeodTest dataset, so it is
manually generated using GeographicLib using this C++ script:
https://github.com/adl1995/boost-geometry-extra/blob/master/geographicLib-direct-antipodal.cpp
2018-07-03 13:31:15 +05:00
Adeel Ahmad
4f04310859
[formulas][test] Add Karney's inverse method in inverse test cases
...
The compilation is successful with gcc version (7.2.0),
but not with version (5.4.1). The accepted tolerance
is set to (0.0000001). Currently, all tests are not
passing, which indicates an error in the calculation.
Additionally, some changes have been made in
karney_inverse.hpp
2018-07-03 11:02:48 +05:00
Yaghyavardhan singh khangarot
3722dd5402
[test][similarity] Updated tet for hausdorff distance
2018-07-03 03:42:58 +05:30
Yaghyavardhan singh khangarot
57aba31140
[test][similarity] Tests for hausdorff distance algorithm
2018-07-02 03:00:29 +05:30
Adeel Ahmad
687df8e18a
Merge branch 'develop' into feature/geodesic_direct
...
Conflicts:
include/boost/geometry/util/math.hpp
test/formulas/direct.cpp
The conflicting files have been updated.
2018-06-29 14:31:15 +05:00
Adam Wulkiewicz
5729e6f410
Merge branch 'develop' into feature/projections_interface
2018-06-28 23:40:13 +02:00
Adam Wulkiewicz
b945bbba97
[test][srs] Update projections/transformations tests after implementation of new parameters.
2018-06-28 04:02:49 +02:00
Brian Kuhl
3ddc84a852
change <proj to fully qualified <boost::geometry::srs::par4::proj
...
to avoid confusing clang when compiling with the Dinkum STL
which has inline proj() in global namespace
2018-06-24 23:05:58 -04:00
Adeel Ahmad
78411f63c8
[doc][util][formulas][test] Add copyright information in updated files
2018-06-18 18:05:11 +05:00
Vissarion Fysikopoulos
12f7a2239b
[formulas] Add coordinates and reverse azimuth flags to spherical direct formula
2018-06-18 14:31:45 +03:00
Vissarion Fysikopoulos
cc2ded01ee
[formulas] [tests] Change thomas direct interface
2018-06-18 14:08:58 +03:00
Vissarion Fysikopoulos
88469892dd
[formulas] Rename elliptic_meridian_arc formula to meridian
2018-06-18 12:52:05 +03:00
Vissarion Fysikopoulos
c1299d7a32
[formulas] [tests] Add revarse_azimuth and quantities computation to direct meridian formula plus tests
2018-06-18 12:03:13 +03:00
Vissarion Fysikopoulos
bc3189f9fd
[formulas] [tests] Interface for direct meridian formula and tests
2018-06-15 10:25:05 +03:00
Vissarion Fysikopoulos
97fa9c177f
[tests] Adding tests for spherical and thomas 1st order direct formulas
2018-06-12 16:00:09 +03:00
Vissarion Fysikopoulos
afb575fbf5
[tests] Add tests for meridian direct formula
2018-06-12 15:52:58 +03:00
Adeel Ahmad
2cba2fa83f
[test] Calculate geodesic scale (M12) using high precision arithmetic
...
Instructions for building GeographicLib are given here:
https://geographiclib.sourceforge.io/html/highprec.html
It requires the use of libquadmath package, which is present
in g++-7 by default. The cmake command used is:
cmake -DCMAKE_CXX_COMPILER=g++-7 -DGEOGRAPHICLIB_PRECISION=4 ..
Internally, GeographicLib makes use of float128 as part of Boost
Multiprecision library. To output full precision values, use:
std::setprecision(std::numeric_limits<float128>::max_digits10)
2018-06-12 12:00:52 +05:00
Adeel Ahmad
fe1b9ff8ba
[test] Update geodesic scale (M12) in GeographicLib dataset
...
M12 is calculated manually using GeographicLib. Previously,
GEOGRAPHICLIB_PRECISION was set to 2 (default) with series
order set to 6. The updated values are generated with
GEOGRAPHICLIB_PRECISION set to 3 and series order set to 7.
Build instructions are provided here:
https://geographiclib.sourceforge.io/html/install.html
2018-06-09 16:17:42 +05:00
Adeel Ahmad
96074e2ab2
[test] Use series order 2 for Karney's direct method
...
Boost Geometry dataset is created with series order 2. Therefore,
the tests fail at all other values.
2018-06-09 16:15:55 +05:00
Phillip Palk
43538e5f24
[test][iterators] add test case that demonstrates SEGFAULT when using closing_iterator and ever_circling_iterator with transformed ranges.
2018-06-07 10:07:33 +10:00
Adeel Ahmad
a10815366a
[test] Add comment providing dataset source and how it is parsed
2018-06-05 10:21:49 +05:00
Adeel Ahmad
1ed5f103f4
[formulas] Move SeriesOrder to the end of template parameter list
2018-06-04 19:09:07 +05:00
Adeel Ahmad
6ff97a6991
[test] Test Karney's method on antipodal points dataset
2018-05-31 16:36:16 +05:00
Adeel Ahmad
3c21b13c91
[test] Add geodesic length to antipodal points dataset
...
The geodesic length is calculated manually using GeographicLib/Geodesic.hpp
in C++. However, this value differs when calculated using the
CLI tool GeodSolve.
2018-05-31 16:28:09 +05:00
Adeel Ahmad
fdbb3886d3
[test] Add nearly antipodal points dataset for direct geodesic problem
...
Dataset is collected from:
https://zenodo.org/record/32156
It is then parsed using a Python script.
2018-05-30 12:14:33 +05:00
Adeel Ahmad
afe7bc679c
[test] Add direct Karney's method to direct.cpp test cases
2018-05-28 16:46:20 +05:00
Vissarion Fysikopoulos
49fd8bcda4
[test] Adding distance tests for spherical and geographic cs and do some renaming
2018-05-25 14:05:33 +03:00
Vissarion Fysikopoulos
b504dcee4b
[test] Remove duplicated tests (ar-ar,pl-ar)
2018-05-23 13:14:48 +03:00
Vissarion Fysikopoulos
04b6e0f16c
[test] Distance areal-areal
2018-05-23 13:10:00 +03:00
Vissarion Fysikopoulos
1646a67df6
[tests] Tests for areal-box geo distance
2018-05-21 17:06:23 +03:00
Vissarion Fysikopoulos
d91259b4e1
[algorithms] [test] Use s/b distance strategy in linear-box cases
2018-05-21 15:39:12 +03:00
Vissarion Fysikopoulos
4a237e6878
[strategies] [distance] Remove pt-pt distance strategy getters from pt-seg strategy
2018-05-16 17:08:08 +03:00
Vissarion Fysikopoulos
4f755af72b
[algorithms] [strategies] [tests] Create unique segment-box distance strategy
2018-05-15 17:11:50 +03:00
Vissarion Fysikopoulos
2de71df58f
[test] Distance test between pointlike areal geometries for geo and sph cs
2018-05-10 11:32:35 +03:00
Vissarion Fysikopoulos
a5e6ef069c
[test] Distance test between linear areal geometries for geo and sph cs
2018-05-09 16:02:22 +03:00
Adam Wulkiewicz
97b8af1ed7
[test][union] Add spherical A/A case.
2018-05-07 18:36:21 +02:00
Vissarion Fysikopoulos
b2242b34c0
[test] Distance tests for geo and spherical pl-pl and l-l cases
2018-05-07 16:22:12 +03:00
Adam Wulkiewicz
c07e6e6de3
[test][union] Add spherical A/A case.
2018-05-06 02:12:52 +02:00
Vissarion Fysikopoulos
71ce4649a2
[test] Rename consistently distance test filenames
2018-05-04 16:53:30 +03:00
Vissarion Fysikopoulos
9fac4018f3
[test] Move/unify pl-l empty geometry tests functions
2018-05-04 16:25:52 +03:00
Vissarion Fysikopoulos
1fa2ed031c
[test] Add missing tests cases for geo pointlike-pointlike distance
2018-05-04 14:09:13 +03:00
Adam Wulkiewicz
61f8b5323a
[test][union] Add test case for spherical polygons.
2018-05-04 01:41:37 +02:00
Vissarion Fysikopoulos
990c274705
[test] Tests multilinestrings-box distance
2018-05-03 12:35:16 +03:00
Vissarion Fysikopoulos
c6fb8defa2
[test] Test for linear-box distance
2018-05-03 12:13:51 +03:00
Vissarion Fysikopoulos
2583decd76
[algorithms] [tests] Use azimuth side formula in disjoint
2018-04-26 16:50:36 +03:00
Vissarion Fysikopoulos
2a0b4e6b16
Merge branch 'feature_box_seg' into feature_test_distance_any_geo
2018-04-25 12:13:38 +03:00
Vissarion Fysikopoulos
3f2660de7c
[tests] Remove unused strategy pt-box definitions
2018-04-24 10:30:47 +03: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
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
Adam Wulkiewicz
06e53eb573
Merge branch 'develop' into fix/intersection_strategies
2018-04-12 16:20:16 +02: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
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
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
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
e6e1b1d96f
[tests] Crossing prime meridian tests
2018-03-23 16:40:09 +02: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
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
d221e44988
[test][srs] Update/add projections tests.
2018-03-09 02:50:45 +01:00
Adam Wulkiewicz
621ec9598e
[test][srs] Enable igh projection test case.
2018-03-07 22:55:25 +01:00
Adam Wulkiewicz
b5101c1aaf
[test][srs] Enable goode projection test case.
2018-03-07 19:13:50 +01:00
Adam Wulkiewicz
66c3204822
[test][srs] Rearrange projection_selftest cases - separate _e and _s.
2018-03-07 17:17:58 +01:00
Adam Wulkiewicz
e515520603
[test][srs] Update aeqd projection expected results (proj4 4.9.3).
2018-03-07 11:27:03 +01:00
Adam Wulkiewicz
d9670e4da0
[test][srs] Fix memory leak in projection_selftest when TEST_WITH_PROJ4 is defined.
2018-03-07 11:26:16 +01:00
Adam Wulkiewicz
36f74e3a17
[test][overlay] In get_turns tests print the whole lists of expected and detected turns on error.
2018-03-05 01:44:46 +01:00
Adam Wulkiewicz
c5535158bb
[test][srs] Remove unneeded #include from projections test.
2018-02-23 22:03:45 +01:00
Barend Gehrels
0821a112de
[test] split big linestring from new test (for Microsoft)
2018-02-22 18:59:16 +01:00
Barend Gehrels
5376fbb302
Merge pull request #460 from boostorg/feature/simplify
...
Feature/simplify
2018-02-19 18:50:10 +01:00
Barend Gehrels
74d9892bd6
[test] adapt multi test, simplification is changed (but equally good)
2018-02-18 17:47:21 +01:00
Barend Gehrels
23326a7680
[test] adapt test and add testcase needing the new approach
2018-02-18 16:55:31 +01:00
Barend Gehrels
4a3003864e
[test] instead of WKT, spatially equality is tested for simplify,
...
because polygons might be rotated
2018-02-18 16:55:04 +01:00
Barend Gehrels
da16ae8e79
[simplify] revise solution to get opposite instead of closing area
...
(which fixes some issues) and do more tries (to get more output)
2018-02-18 16:54:30 +01:00
Barend Gehrels
48e6c33ffc
[test] add testcase for ticket 13444 which goes wrong with rescaling
2018-02-17 18:51:06 +01:00
Barend Gehrels
3e53d4d456
[simplify] during review, change implementation using rotate instead of clise
2018-02-17 13:50:07 +01:00
Barend Gehrels
c16ad7ddfa
[test] fix expectations changed by earlier commit (fraction 1/1000 -> 1/2).
...
Note that the starting point of the polygon can change shape of simplified
version, and therefore area
2018-02-14 17:08:20 +01:00
Barend Gehrels
8d28489661
[test] test removing duplicate point (if there are 2) and
...
complete removal of empty interior ring
2018-02-14 17:07:13 +01:00
Barend Gehrels
0ac8b51b41
[test] test simplifying away closing point / whole polygon
2018-02-14 17:06:25 +01:00
Barend Gehrels
b795561e84
[test] also test for omitting polygons/interior rings in output
2018-02-14 15:07:43 +01:00
Barend Gehrels
3335bf970c
[test] update test expectations
2018-02-14 15:01:33 +01:00
Barend Gehrels
5bf3d27701
[test] add case for simplify which previously failed within countries test
...
to the unit test. It checks only for output area.
2018-02-14 12:22:23 +01:00
Barend Gehrels
1ce9583b17
[simplify] fix new behaviour, if sliced it should be closed explicitly
...
(also to calculate correct areas). Area check with sign instead of boolean.
2018-02-14 11:55:57 +01:00
Barend Gehrels
85b6675954
Merge branch 'develop' into feature/simplify
2018-02-14 09:50:52 +01:00
Adam Wulkiewicz
26ada1dc6e
[test][srs] Fix missing field initializer warning (clang-3.0 -Wall -Wextra).
2018-02-06 15:12:34 +01:00
Adam Wulkiewicz
da38ece6d2
[test][srs] Fix missing field initializer warnings (clang++-5.0 -Wall -Wextra).
2018-02-01 03:41:22 +01:00
Barend Gehrels
41ca8baee7
Merge branch 'develop' into feature/remove_rescaling
2018-01-31 09:56:48 +01:00
Barend Gehrels
1fc11a3319
[test] correct closure if necessary, and add define to be able to test faster
2018-01-31 09:52:47 +01:00
Barend Gehrels
945fc9bb94
[test] add unit test for simplification of countries
2018-01-31 09:51:20 +01:00
Adam Wulkiewicz
5fabea8e2c
[test][srs] Add tests for new generic is_param metafunctions.
2018-01-29 22:18:40 +01:00
Adam Wulkiewicz
b3d3acc83d
[test][srs] Fix unused variable and parameter warnings.
2018-01-29 01:57:11 +01:00
Adam Wulkiewicz
350f4990b3
[test][srs] Fix unused parameter warning.
2018-01-28 03:30:44 +01:00
Adam Wulkiewicz
9373a5f271
[test][srs] Add par4 metafunctions compilation test.
2018-01-28 02:22:06 +01:00
Barend Gehrels
5534818e0f
[simplify] simplify around closing point of ring/polygons
...
Including unit test.
2018-01-26 17:46:14 +01:00
Barend Gehrels
617b78c420
[test] increase tolerance of multi-point circle buffers, which, having
...
many intersections, have their collinear points removed and are 1e-5 smaller
2018-01-26 13:25:38 +01:00
Barend Gehrels
f054f092a2
[test] update two other testcases for difference
2018-01-26 13:20:56 +01:00
Barend Gehrels
b55b95846e
[test] check validity of failing testcase, it will be solved by no-rescaling.
...
So accept for now that result is invalid (which is a false positive)
2018-01-26 13:03:25 +01:00
Barend Gehrels
34dfbba271
[test] adapt point expectations for union/difference/intersection
...
because we now skip some collinear points
2018-01-26 13:02:06 +01:00
Barend Gehrels
d66df075fe
[test] reincarnate test of segment intersection
2018-01-24 18:04:53 +01:00
Vissarion Fysikopoulos
b4856465c2
[algorithms] [tests] Generic box-segment distance for both cartesian and non-cartesian CS
2018-01-24 17:54:37 +02:00
Adam Wulkiewicz
7ebafcdb90
[test][srs] Add missing braces in projections test cases array.
2018-01-23 21:13:42 +01:00
Adam Wulkiewicz
0dbdd990ea
[test][is_valid] Fix unused type warning.
2018-01-23 21:13:02 +01:00
Adam Wulkiewicz
efc9d4ac3d
Merge pull request #441 from awulkiew/feature/area_strategies
...
Change area strategies interface.
2018-01-22 23:05:17 +01:00
Vissarion Fysikopoulos
3d9cbd87a4
[strategies] Move generic distance pt/box and box/box strategies
2018-01-22 16:48:37 +02:00
Vissarion Fysikopoulos
edf07697e8
Merge remote-tracking branch 'origin/develop' into feature/distance_box
2018-01-22 12:59:25 +02:00
Adam Wulkiewicz
e67bf40b35
Merge branch 'develop' into feature/area_strategies
2018-01-21 02:48:29 +01:00
Adam Wulkiewicz
7d2026dd84
Merge branch 'develop' into feature/projections
...
Conflicts:
include/boost/geometry/geometry.hpp
test/Jamfile.v2
2018-01-21 01:51:04 +01:00
Adam Wulkiewicz
8df7774495
[test] Add minimal test and disable the rest of the tests for TRAVIS.
2018-01-20 01:30:10 +01:00
Vissarion Fysikopoulos
57b9cd0bbc
[algorithms] [tests] Fix distance segment-box for spehrical and geographic when segments is close to a box corner
2018-01-19 19:12:49 +02:00
Vissarion Fysikopoulos
a51b2dd6ac
[algorithm] [test] Meridian case for segment box distance; segments left-right of box
2018-01-18 12:40:09 +02:00
Adam Wulkiewicz
6d0d53c41e
Merge branch 'develop' into feature/area_strategies
2018-01-16 14:45:48 +01:00
Adam Wulkiewicz
4b2304c5b7
[test][densify] Test default strategy version of algorithm.
2018-01-15 19:24:42 +01:00
Adam Wulkiewicz
e8fdc21b85
Merge branch 'develop' into feature/complexify
2018-01-15 19:24:08 +01:00
Vissarion Fysikopoulos
0fb5cabe67
[algorithms] Fix box/segment distance for segment bottom of box
2018-01-11 13:01:00 +02:00
Adam Wulkiewicz
b7b7e2ef08
[test][densify] Fix comment.
2018-01-10 23:33:18 +01:00
Adam Wulkiewicz
08dccb1174
[test][densify] Add test cases for open Areal geometries.
2018-01-10 23:04:21 +01:00
Vissarion Fisikopoulos
3ff1887b85
Merge branch 'develop' into feature/distance_box
2018-01-10 15:34:33 +02:00
Barend Gehrels
7b1297bb86
[test] update expectations
2018-01-05 21:56:07 +01:00
Barend Gehrels
6b637c91c0
Merge branch 'feature/intvalid' into develop
2018-01-04 21:42:43 +01:00
Barend Gehrels
26a50a2bbd
[traverse] fix case #case_141_multi which is isolated with multiple
...
connections
2018-01-01 16:28:32 +01:00
Barend Gehrels
bc77fca531
[test] add new case also to intersection/union
2017-12-31 17:17:46 +01:00
Barend Gehrels
9f00c8501b
[union] skip discarding i/e turns for union because this causes some turns
...
to be missed. This fixes the new case #case_recursive_boxes_88
2017-12-31 17:17:21 +01:00
Barend Gehrels
10e79329c1
[test] update a few testcases (comments, defines)
2017-12-31 17:15:45 +01:00