aboutsummaryrefslogtreecommitdiff
path: root/include/proj/crs.hpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-28 14:52:56 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-29 12:10:13 +0100
commitcf855b24d2b901054bee90309cdc5df00dfb3085 (patch)
treecfed6be67bd51c6e8cd198def30d840fe9f67a89 /include/proj/crs.hpp
parent6d9a1a909886762cc99e1d8f289e2b60ea787bf7 (diff)
downloadPROJ-cf855b24d2b901054bee90309cdc5df00dfb3085.tar.gz
PROJ-cf855b24d2b901054bee90309cdc5df00dfb3085.zip
C API extensions and renaming
- proj_obj_create_projected_XXXXX() are renamed to proj_obj_create_conversion_snake_case() and just instanciate a Conversion object - Advanced manipulation functions are moved to a dedicated section at bottom of proj.h - New C API needed for GDAL OGRSpatialReference
Diffstat (limited to 'include/proj/crs.hpp')
-rw-r--r--include/proj/crs.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index 10e0a639..bdb36cd4 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -108,8 +108,16 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage {
PROJ_FOR_TEST CRSNNPtr shallowClone() const;
+ PROJ_FOR_TEST CRSNNPtr alterName(const std::string &newName) const;
+
PROJ_INTERNAL const std::string &getExtensionProj4() const noexcept;
+ PROJ_FOR_TEST CRSNNPtr
+ alterGeodeticCRS(const GeodeticCRSNNPtr &newGeodCRS) const;
+
+ PROJ_FOR_TEST CRSNNPtr
+ alterCSLinearUnit(const common::UnitOfMeasure &unit) const;
+
//! @endcond
protected:
@@ -557,6 +565,9 @@ class PROJ_GCC_DLL ProjectedCRS final : public DerivedCRS,
PROJ_INTERNAL void _exportToWKT(io::WKTFormatter *formatter)
const override; // throw(io::FormattingException)
+ PROJ_FOR_TEST ProjectedCRSNNPtr alterParametersLinearUnit(
+ const common::UnitOfMeasure &unit, bool convertToNewUnit) const;
+
//! @endcond
protected: