diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-07-06 02:03:50 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-07-06 02:27:46 +0200 |
| commit | 17f0b0b3bc65ffba39bf6f22a12b2cc7fcb9bafd (patch) | |
| tree | 5993d701145e2117fb8598faa186312b98d54f00 /include/proj/common.hpp | |
| parent | 1da55c8be619a21153845607a553c9d1206bc792 (diff) | |
| download | PROJ-17f0b0b3bc65ffba39bf6f22a12b2cc7fcb9bafd.tar.gz PROJ-17f0b0b3bc65ffba39bf6f22a12b2cc7fcb9bafd.zip | |
Proof-of-concept of JSON export limited to PrimeMeridian (refs #1545)
Diffstat (limited to 'include/proj/common.hpp')
| -rw-r--r-- | include/proj/common.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/proj/common.hpp b/include/proj/common.hpp index 7940f4fc..d857dafd 100644 --- a/include/proj/common.hpp +++ b/include/proj/common.hpp @@ -104,6 +104,9 @@ class PROJ_GCC_DLL UnitOfMeasure : public util::BaseObject { const std::string &unitType = std::string()) const; // throw(io::FormattingException) + PROJ_INTERNAL void _exportToJSON( + io::JSONFormatter *formatter) const; // throw(io::FormattingException) + PROJ_INTERNAL std::string exportToPROJString() const; PROJ_INTERNAL bool @@ -329,6 +332,8 @@ class PROJ_GCC_DLL IdentifiedObject : public util::BaseObject, formatID(io::WKTFormatter *formatter) const; PROJ_INTERNAL void formatRemarks(io::WKTFormatter *formatter) const; + PROJ_INTERNAL void formatID(io::JSONFormatter *formatter) const; + PROJ_INTERNAL bool _isEquivalentTo(const util::IComparable *other, util::IComparable::Criterion criterion = |
