aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-11 20:01:29 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-11 20:01:29 +0200
commitd1a0d95da549f7d32bcd8be408afe1fca62a6fb2 (patch)
treeaaaffe1812578ec5479c5fc413d47793cd1d5bcb /src/iso19111/c_api.cpp
parentad80dc88a70032e1d96812b574b2d4d22e223394 (diff)
downloadPROJ-d1a0d95da549f7d32bcd8be408afe1fca62a6fb2.tar.gz
PROJ-d1a0d95da549f7d32bcd8be408afe1fca62a6fb2.zip
Database query: add AuthorityFactory::ObjectType::DYNAMIC_GEODETIC_REFERENCE_FRAME and DYNAMIC_VERTICAL_REFERENCE_FRAME, and make corresponding C API work
Diffstat (limited to 'src/iso19111/c_api.cpp')
-rw-r--r--src/iso19111/c_api.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index fb0a3af7..c152df88 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -898,15 +898,23 @@ convertPJObjectTypeToObjectType(PJ_TYPE type, bool &valid) {
break;
case PJ_TYPE_GEODETIC_REFERENCE_FRAME:
- case PJ_TYPE_DYNAMIC_GEODETIC_REFERENCE_FRAME:
cppType = AuthorityFactory::ObjectType::GEODETIC_REFERENCE_FRAME;
break;
+ case PJ_TYPE_DYNAMIC_GEODETIC_REFERENCE_FRAME:
+ cppType =
+ AuthorityFactory::ObjectType::DYNAMIC_GEODETIC_REFERENCE_FRAME;
+ break;
+
case PJ_TYPE_VERTICAL_REFERENCE_FRAME:
- case PJ_TYPE_DYNAMIC_VERTICAL_REFERENCE_FRAME:
cppType = AuthorityFactory::ObjectType::VERTICAL_REFERENCE_FRAME;
break;
+ case PJ_TYPE_DYNAMIC_VERTICAL_REFERENCE_FRAME:
+ cppType =
+ AuthorityFactory::ObjectType::DYNAMIC_VERTICAL_REFERENCE_FRAME;
+ break;
+
case PJ_TYPE_DATUM_ENSEMBLE:
cppType = AuthorityFactory::ObjectType::DATUM;
break;