diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-28 16:44:28 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-28 16:44:28 +0100 |
| commit | f49a5b744a28fe2a51cdcb7b4bc86f5d834f1e54 (patch) | |
| tree | 2e995db7ec543eb29680825d12d9ff244afb888d /src/iso19111/util.cpp | |
| parent | 9660576bf3be57c196325ebd8de417984b7160b1 (diff) | |
| download | PROJ-f49a5b744a28fe2a51cdcb7b4bc86f5d834f1e54.tar.gz PROJ-f49a5b744a28fe2a51cdcb7b4bc86f5d834f1e54.zip | |
importFromWKT: better deal with axis of the baseCRS of a projected CRS
Diffstat (limited to 'src/iso19111/util.cpp')
| -rw-r--r-- | src/iso19111/util.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/iso19111/util.cpp b/src/iso19111/util.cpp index ac6357a2..b8c6c439 100644 --- a/src/iso19111/util.cpp +++ b/src/iso19111/util.cpp @@ -282,6 +282,17 @@ const BaseObjectNNPtr *PropertyMap::get(const std::string &key) const { } return nullptr; } +// --------------------------------------------------------------------------- + +//! @cond Doxygen_Suppress +void PropertyMap::unset(const std::string &key) { + for (auto iter = d->list_.begin(); iter != d->list_.end(); ++iter) { + if (iter->first == key) { + d->list_.erase(iter); + return; + } + } +} //! @endcond // --------------------------------------------------------------------------- |
