diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-09 17:10:20 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-09 17:41:23 +0200 |
| commit | f0d766e45640800412c08a7cb9ab4f8823d88d05 (patch) | |
| tree | 1973086c9f52043d61fb1a71cbbc1c3a794c3afc /include/proj/internal | |
| parent | 81bd57dfd8cfae609288643d1b09a4805f1bcded (diff) | |
| download | PROJ-f0d766e45640800412c08a7cb9ab4f8823d88d05.tar.gz PROJ-f0d766e45640800412c08a7cb9ab4f8823d88d05.zip | |
PROJSJON: add import/export of VerticalCRS, CompoundCRS, BoundCRS, Transformation and ConcatenatedOperation
Diffstat (limited to 'include/proj/internal')
| -rw-r--r-- | include/proj/internal/coordinateoperation_internal.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/proj/internal/coordinateoperation_internal.hpp b/include/proj/internal/coordinateoperation_internal.hpp index 207c20b4..7ae2cd78 100644 --- a/include/proj/internal/coordinateoperation_internal.hpp +++ b/include/proj/internal/coordinateoperation_internal.hpp @@ -149,6 +149,10 @@ class InverseConversion : public Conversion, public InverseCoordinateOperation { Conversion::_exportToWKT(formatter); } + void _exportToJSON(io::JSONFormatter *formatter) const override { + Conversion::_exportToJSON(formatter); + } + void _exportToPROJString(io::PROJStringFormatter *formatter) const override { InverseCoordinateOperation::_exportToPROJString(formatter); @@ -200,6 +204,10 @@ class InverseTransformation : public Transformation, return InverseCoordinateOperation::_exportToPROJString(formatter); } + void _exportToJSON(io::JSONFormatter *formatter) const override { + Transformation::_exportToJSON(formatter); + } + bool _isEquivalentTo(const util::IComparable *other, util::IComparable::Criterion criterion = @@ -270,6 +278,9 @@ class PROJBasedOperation : public SingleOperation { void _exportToPROJString(io::PROJStringFormatter *formatter) const override; // throw(FormattingException) + void _exportToJSON(io::JSONFormatter *formatter) + const override; // throw(FormattingException) + CoordinateOperationNNPtr _shallowClone() const override; INLINED_MAKE_SHARED |
