diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-27 16:22:09 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-27 16:22:09 +0100 |
| commit | 6bb14fa874562eb4879a3b80b51b22cd2add058e (patch) | |
| tree | 450cb1f8db7247c224fc309465cea0f22b045bc8 /test/unit/gie_self_tests.cpp | |
| parent | a56272923f6246edf8d41776659de2ba9d509793 (diff) | |
| download | PROJ-6bb14fa874562eb4879a3b80b51b22cd2add058e.tar.gz PROJ-6bb14fa874562eb4879a3b80b51b22cd2add058e.zip | |
Add an hardcoded +ellps=GRS80 when there is no datum/ellipsoid specification (refs #201)
Diffstat (limited to 'test/unit/gie_self_tests.cpp')
| -rw-r--r-- | test/unit/gie_self_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/gie_self_tests.cpp b/test/unit/gie_self_tests.cpp index 4e788358..9ff7a278 100644 --- a/test/unit/gie_self_tests.cpp +++ b/test/unit/gie_self_tests.cpp @@ -500,9 +500,9 @@ TEST(gie, io_predicates) { ASSERT_FALSE(proj_angular_output(P, PJ_FWD)); ASSERT_FALSE(proj_angular_output(P, PJ_INV)); - /* pj_init_ctx should default to WGS84 */ + /* pj_init_ctx should default to GRS80 */ ASSERT_EQ(P->a, 6378137.0); - ASSERT_EQ(P->f, 1.0 / 298.257223563); + ASSERT_EQ(P->f, 1.0 / 298.257222101); proj_destroy(P); /* Test that pj_fwd* and pj_inv* returns NaNs when receiving NaN input */ |
