Commit Graph

43 Commits

Author SHA1 Message Date
Vissarion Fysikopoulos
265517f69a [test] Add test for series expansion comparision with geographiclib 2019-03-20 14:43:38 +02:00
Adam Wulkiewicz
c7a4c12f71 [test][formulas] Add tests for negative distance in direct formulas. 2019-03-12 01:42:39 +01:00
Adam Wulkiewicz
2b85597ca0 [test][formulas][strategies] Change expected results of geo intersection. 2018-08-27 23:48:13 +02:00
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
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
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
Adam Wulkiewicz
6598f5af2e Merge branch 'develop' into feature/projections
Conflicts:
	test/formulas/inverse.cpp
2017-10-11 19:57:14 +02:00
Adam Wulkiewicz
d8f2d23863 [test][formulas] Print test name/id in error msg in inverse formulas test. 2017-10-03 01:56:53 +02:00
Adam Wulkiewicz
c194e1221e [test][formulas] Add formulas_ prefix to vertex_longitude test name. 2017-06-30 17:00:40 +02:00
Vissarion Fysikopoulos
2f27952b2f [test] activating vertex_longitude tests 2017-05-08 15:58:20 +03:00
Vissarion Fysikopoulos
4f7956d5ae [disjoint] more cleaning code 2017-05-05 15:57:36 +03:00
Vissarion Fysikopoulos
b7d5f4b849 [disjoint] cleaning code 2017-05-05 14:17:52 +03:00
Vissarion Fysikopoulos
5cdae7c693 [disjoint] [vertex_longitude] Reviewing cases of disjoint, create new tests, fix corner cases 2017-05-02 18:44:26 +03:00
Vissarion Fysikopoulos
fe1c91577f many cases working, still testing 2017-04-26 12:59:03 +03:00
Adam Wulkiewicz
73beed3ee9 [test][formulas] Update includes after moving srs from core. 2017-04-22 02:20:46 +02:00
Vissarion Fysikopoulos
842a121cf6 [vertex_longitude] [test] Unit tests and corner cases for vertex_longitude formula 2017-04-07 18:07:29 +03:00
Vissarion Fysikopoulos
d02616948c [formula] [vertex_longitude] Fixing ellipsoidal formula 2017-04-04 18:03:57 +03:00
Adam Wulkiewicz
6fa7b888e5 [test][formulas] Tweak eps threshold in inverse formula test (for mingw-gcc). 2017-03-03 03:53:29 +01:00
Adam Wulkiewicz
b7d62db598 [test][formulas][algorithms] Add/alter tests related to fixes in inverse formulas (length, perimeter). 2017-03-02 17:01:47 +01:00
Adam Wulkiewicz
31ec8682f3 [test][formulas] Add test cases for sjoberg_intersection formula. 2016-11-23 17:46:21 +01:00
Adam Wulkiewicz
3624d840d6 [test][formulas] Change the name of a member of intersection expected results. 2016-08-24 19:47:01 +02:00
Adam Wulkiewicz
502a42746f [test][formula] Change function name. 2016-08-24 17:47:43 +02:00
Adam Wulkiewicz
73667d44e8 [test][formulas] Add tests for intersection of elliptic arcs. 2016-08-16 03:59:22 +02:00
Adam Wulkiewicz
fad0244f09 [test][formulas] Add const keywords. 2016-08-11 17:29:57 +02:00
Adam Wulkiewicz
fb5301c545 [test][formulas] Add intersection formulas test. 2016-08-02 17:46:26 +02:00
Adam Wulkiewicz
b67c3f8f69 [test][formulas] Remove commas from direct_cases. 2016-08-02 17:46:03 +02:00
Adam Wulkiewicz
1de308e3b2 [test][formulas] Add direct formulas test. 2016-08-02 16:48:01 +02:00
Adam Wulkiewicz
3fb6cae7ac [test][formulas] Add inverse formulas test. 2016-08-01 17:32:45 +02:00