From f0d766e45640800412c08a7cb9ab4f8823d88d05 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 9 Aug 2019 17:10:20 +0200 Subject: PROJSJON: add import/export of VerticalCRS, CompoundCRS, BoundCRS, Transformation and ConcatenatedOperation --- include/proj/internal/coordinateoperation_internal.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/proj/internal') 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 -- cgit v1.2.3