From f969d51e0bf128bfacba075e689205b512b31583 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 21 Dec 2020 14:30:43 +0100 Subject: 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. --- test/unit/test_c_api.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/unit/test_c_api.cpp') 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); } // --------------------------------------------------------------------------- -- cgit v1.2.3