From df339795a8af5487cbff234083a8151c1b3eb181 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 18 Nov 2019 22:33:48 +0100 Subject: Database: add a publication_date column to geodetic_datum and vertical_datum Populated from realization_epoch column from EPSG The 'publication_date' naming is from OGC Topic 2, and hasn't been yet adopted by the EPSG dataset. See http://docs.opengeospatial.org/as/18-005r4/18-005r4.html , Annex G, clause 11 and https://32zn56499nov99m251h4e9t8-wpengine.netdna-ssl.com/wp-content/uploads/2019/09/EPSG-relational-data-model-changes_2019-09-18.pdf --- test/unit/test_factory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unit/test_factory.cpp') diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp index 94010135..15feda64 100644 --- a/test/unit/test_factory.cpp +++ b/test/unit/test_factory.cpp @@ -1414,11 +1414,11 @@ class FactoryWithTmpDatabase : public ::testing::Test { ASSERT_TRUE( execute("INSERT INTO geodetic_datum " "VALUES('EPSG','6326','World Geodetic System 1984','',NULL," - "'EPSG','7030','EPSG','8901','EPSG','1262',0);")) + "'EPSG','7030','EPSG','8901','EPSG','1262',NULL,0);")) << last_error(); ASSERT_TRUE( execute("INSERT INTO vertical_datum VALUES('EPSG','1027','EGM2008 " - "geoid',NULL,NULL,'EPSG','1262',0);")) + "geoid',NULL,NULL,'EPSG','1262',NULL,0);")) << last_error(); ASSERT_TRUE(execute("INSERT INTO coordinate_system " "VALUES('EPSG','6422','ellipsoidal',2);")) @@ -1570,7 +1570,7 @@ class FactoryWithTmpDatabase : public ::testing::Test { "VALUES('FOO','" + val + "','" + val + "','',NULL," - "'EPSG','7030','EPSG','8901','EPSG','1262',0);")) + "'EPSG','7030','EPSG','8901','EPSG','1262',NULL,0);")) << last_error(); ASSERT_TRUE(execute("INSERT INTO geodetic_crs " "VALUES('NS_" + -- cgit v1.2.3