diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-12-21 14:30:43 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-12-21 16:37:57 +0100 |
| commit | f969d51e0bf128bfacba075e689205b512b31583 (patch) | |
| tree | f0a248ef08fb51ef0ec29178ef41fd4168d4c85d /test/unit/test_c_api.cpp | |
| parent | fd98b78140b5b3f976af25d71cb121ee1ba30fa6 (diff) | |
| download | PROJ-f969d51e0bf128bfacba075e689205b512b31583.tar.gz PROJ-f969d51e0bf128bfacba075e689205b512b31583.zip | |
Implementing the NKG transformations in proj.db
This adds the NKG 2008 and 2020 transformations to proj.db. The NKG
transformations offers transformations between global reference frames
and the national realisations of ETRS89 in Denmark, Estonia, Finland,
Latvia, Lithuania, Norway and Sweden.
The 2008 transformations are already implemented in the NKG 2008 file
but will now be more accessible with the modern API.
The 2020 transformations are new to PROJ and offers and updated version
of the 2008 transformations using a new and improved deformation model
(eu_nkg_nkgrf17vel.tif). A 2020 version of the NKG transformations are
currently not available for Norway but will in all likelyhood be
included at a later point in time.
Diffstat (limited to 'test/unit/test_c_api.cpp')
| -rw-r--r-- | test/unit/test_c_api.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp index e54c6fa7..d43d68ce 100644 --- a/test/unit/test_c_api.cpp +++ b/test/unit/test_c_api.cpp @@ -1183,10 +1183,12 @@ TEST_F(CApi, proj_get_authorities_from_database) { ASSERT_TRUE(list[2] != nullptr); EXPECT_EQ(list[2], std::string("IGNF")); ASSERT_TRUE(list[3] != nullptr); - EXPECT_EQ(list[3], std::string("OGC")); + EXPECT_EQ(list[3], std::string("NKG")); ASSERT_TRUE(list[4] != nullptr); - EXPECT_EQ(list[4], std::string("PROJ")); - EXPECT_EQ(list[5], nullptr); + EXPECT_EQ(list[4], std::string("OGC")); + ASSERT_TRUE(list[5] != nullptr); + EXPECT_EQ(list[5], std::string("PROJ")); + EXPECT_EQ(list[6], nullptr); } // --------------------------------------------------------------------------- |
