aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_factory.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-11-18 22:33:48 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-11-18 22:41:24 +0100
commitdf339795a8af5487cbff234083a8151c1b3eb181 (patch)
treea5e1a8ee5cdadc9eedff51470b02b04c6d4e7fab /test/unit/test_factory.cpp
parentb063035618a00218daed43260750ee4e60d5c84e (diff)
downloadPROJ-df339795a8af5487cbff234083a8151c1b3eb181.tar.gz
PROJ-df339795a8af5487cbff234083a8151c1b3eb181.zip
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
Diffstat (limited to 'test/unit/test_factory.cpp')
-rw-r--r--test/unit/test_factory.cpp6
1 files changed, 3 insertions, 3 deletions
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_" +