aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_factory.cpp')
-rw-r--r--test/unit/test_factory.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 2bc43b2d..edc8b190 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -4256,4 +4256,15 @@ TEST(factory, ogc_timecrs) {
// ---------------------------------------------------------------------------
+TEST(factory, ogc_crs) {
+ auto ctxt = DatabaseContext::create();
+ auto factory = AuthorityFactory::create(ctxt, Identifier::OGC);
+ factory->createCoordinateReferenceSystem("CRS84");
+ factory->createCoordinateReferenceSystem("84");
+ factory->createCoordinateReferenceSystem("CRS27");
+ factory->createCoordinateReferenceSystem("CRS83");
+}
+
+// ---------------------------------------------------------------------------
+
} // namespace