aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2019-03-29 11:25:52 +0100
committerGitHub <noreply@github.com>2019-03-29 11:25:52 +0100
commit8d7a01bc3d3d9662812242880b8ab1231d014edc (patch)
treed55a77d1188d2bd18b726c2ca81aa02a532bd15c /include
parent154cc0fc8226d646db81cc83b6dd86b3414227b2 (diff)
parent6a7e24dce79f93b73f4919f267df2fdf3ee95713 (diff)
downloadPROJ-8d7a01bc3d3d9662812242880b8ab1231d014edc.tar.gz
PROJ-8d7a01bc3d3d9662812242880b8ab1231d014edc.zip
Merge pull request #1387 from rouault/proj_normalize_for_visualization
Add proj_normalize_for_visualization()
Diffstat (limited to 'include')
-rw-r--r--include/proj/coordinateoperation.hpp2
-rw-r--r--include/proj/crs.hpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/proj/coordinateoperation.hpp b/include/proj/coordinateoperation.hpp
index 4397ed60..9e7812c7 100644
--- a/include/proj/coordinateoperation.hpp
+++ b/include/proj/coordinateoperation.hpp
@@ -152,6 +152,8 @@ class PROJ_GCC_DLL CoordinateOperation : public common::ObjectUsage,
PROJ_DLL static const std::string OPERATION_VERSION_KEY;
+ PROJ_DLL CoordinateOperationNNPtr normalizeForVisualization() const;
+
protected:
PROJ_INTERNAL CoordinateOperation();
PROJ_INTERNAL CoordinateOperation(const CoordinateOperation &other);
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index ed3463cd..33bf3b61 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -126,6 +126,10 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage {
PROJ_FOR_TEST CRSNNPtr
alterCSLinearUnit(const common::UnitOfMeasure &unit) const;
+ PROJ_INTERNAL bool mustAxisOrderBeSwitchedForVisualization() const;
+
+ PROJ_INTERNAL CRSNNPtr normalizeForVisualization() const;
+
//! @endcond
protected: