aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/coordinateoperation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-06-29 12:23:37 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-06-30 11:14:46 +0200
commita9c3567cf5f69d08a869bf17a9e284e8c8142956 (patch)
treec7704fa27b47c2b79e19a23edc6594da02a464d9 /src/iso19111/coordinateoperation.cpp
parent7a131de134e40c73795c7d2c1834bee1e45b16a6 (diff)
downloadPROJ-a9c3567cf5f69d08a869bf17a9e284e8c8142956.tar.gz
PROJ-a9c3567cf5f69d08a869bf17a9e284e8c8142956.zip
Database: import scope/remarks for coordinate operation and add C API
- Import scope and remarks for coordinate operations of the EPSG dataset. Database size goes from 5.2 MB to 5.55 MB - Add proj_get_scope() and proj_get_remarks()
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
-rw-r--r--src/iso19111/coordinateoperation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 1982e234..7f3a2137 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -7342,6 +7342,11 @@ createPropertiesForInverse(const CoordinateOperation *op, bool derivedFrom,
map.set(common::IdentifiedObject::NAME_KEY, name);
}
+ const std::string &remarks = op->remarks();
+ if (!remarks.empty()) {
+ map.set(common::IdentifiedObject::REMARKS_KEY, remarks);
+ }
+
addModifiedIdentifier(map, op, true, derivedFrom);
return map;