aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-23 15:51:33 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-29 00:35:25 +0100
commita66c12277666489cac74535bad8d2cf565ad542d (patch)
tree2833ee9e60a836bf16a600c7056e5c9c5d711bc4 /include
parentd48f97180dacceb6d03c79d69044e19ba0af3fbc (diff)
downloadPROJ-a66c12277666489cac74535bad8d2cf565ad542d.tar.gz
PROJ-a66c12277666489cac74535bad8d2cf565ad542d.zip
cs2cs: upgrade to use proj_create_crs_to_crs()
Diffstat (limited to 'include')
-rw-r--r--include/proj/coordinateoperation.hpp11
-rw-r--r--include/proj/crs.hpp2
-rw-r--r--include/proj/internal/internal.hpp2
-rw-r--r--include/proj/io.hpp1
4 files changed, 10 insertions, 6 deletions
diff --git a/include/proj/coordinateoperation.hpp b/include/proj/coordinateoperation.hpp
index 293ba480..4005176a 100644
--- a/include/proj/coordinateoperation.hpp
+++ b/include/proj/coordinateoperation.hpp
@@ -818,10 +818,6 @@ class PROJ_GCC_DLL Conversion : public SingleOperation {
PROJ_DLL ~Conversion() override;
//! @endcond
- //! @cond Doxygen_Suppress
- PROJ_INTERNAL ConversionNNPtr shallowClone() const;
- //! @endcond
-
PROJ_DLL CoordinateOperationNNPtr inverse() const override;
//! @cond Doxygen_Suppress
@@ -1287,6 +1283,9 @@ class PROJ_GCC_DLL Conversion : public SingleOperation {
PROJ_INTERNAL const char *getESRIMethodName() const;
PROJ_INTERNAL const char *getWKT1GDALMethodName() const;
+
+ PROJ_INTERNAL ConversionNNPtr shallowClone() const;
+
//! @endcond
protected:
@@ -1490,6 +1489,8 @@ class PROJ_GCC_DLL Transformation : public SingleOperation {
PROJ_INTERNAL void _exportToWKT(io::WKTFormatter *formatter)
const override; // throw(io::FormattingException)
+ PROJ_INTERNAL TransformationNNPtr shallowClone() const;
+
//! @endcond
protected:
@@ -1499,6 +1500,7 @@ class PROJ_GCC_DLL Transformation : public SingleOperation {
const OperationMethodNNPtr &methodIn,
const std::vector<GeneralParameterValueNNPtr> &values,
const std::vector<metadata::PositionalAccuracyNNPtr> &accuracies);
+ PROJ_INTERNAL Transformation(const Transformation &other);
INLINED_MAKE_SHARED
PROJ_INTERNAL void _exportToPROJString(io::PROJStringFormatter *formatter)
@@ -1508,7 +1510,6 @@ class PROJ_GCC_DLL Transformation : public SingleOperation {
private:
PROJ_OPAQUE_PRIVATE_DATA
- Transformation(const Transformation &) = delete;
};
// ---------------------------------------------------------------------------
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp
index 82b2bd49..10e0a639 100644
--- a/include/proj/crs.hpp
+++ b/include/proj/crs.hpp
@@ -108,6 +108,8 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage {
PROJ_FOR_TEST CRSNNPtr shallowClone() const;
+ PROJ_INTERNAL const std::string &getExtensionProj4() const noexcept;
+
//! @endcond
protected:
diff --git a/include/proj/internal/internal.hpp b/include/proj/internal/internal.hpp
index 85dd5ac3..b16e12bc 100644
--- a/include/proj/internal/internal.hpp
+++ b/include/proj/internal/internal.hpp
@@ -104,7 +104,7 @@ PROJ_FOR_TEST std::string replaceAll(const std::string &str,
const std::string &before,
const std::string &after);
-size_t ci_find(const std::string &osStr, const char *needle) noexcept;
+PROJ_DLL size_t ci_find(const std::string &osStr, const char *needle) noexcept;
size_t ci_find(const std::string &osStr, const std::string &needle,
size_t startPos = 0) noexcept;
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index 3b5019c1..653edfbc 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -365,6 +365,7 @@ class PROJ_GCC_DLL PROJStringFormatter {
PROJ_DLL void stopInversion();
PROJ_INTERNAL bool isInverted() const;
PROJ_INTERNAL bool getUseETMercForTMerc(bool &settingSetOut) const;
+ PROJ_INTERNAL void setCoordinateOperationOptimizations(bool enable);
PROJ_DLL void
ingestPROJString(const std::string &str); // throw ParsingException