diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-10 19:16:44 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-04-10 19:17:40 +0200 |
| commit | a77ce5cf343c00fc95b5f3d9b2c27e02b6205fd3 (patch) | |
| tree | c16c443866a0eec19c488e415fc75815a090327e /test/unit/test_factory.cpp | |
| parent | b6c12e6968f38770177347f368ee2e75211d4d28 (diff) | |
| download | PROJ-a77ce5cf343c00fc95b5f3d9b2c27e02b6205fd3.tar.gz PROJ-a77ce5cf343c00fc95b5f3d9b2c27e02b6205fd3.zip | |
Recognize OGC:84 as an alias of OGC:CRS84
Diffstat (limited to 'test/unit/test_factory.cpp')
| -rw-r--r-- | test/unit/test_factory.cpp | 11 |
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 |
