Commit 0d92583d authored by xuebingbing's avatar xuebingbing

proj-dev update“

parent 4bb6fcd7
......@@ -476,7 +476,7 @@ extern "C" {
/**
* Initialize a geod_geodesicline object in terms of the direct geodesic
* problem spacified in terms of either distance or arc length.
* problem specified in terms of either distance or arc length.
*
* @param[out] l a pointer to the object to be initialized.
* @param[in] g a pointer to the geod_geodesic object specifying the
......
......@@ -1593,6 +1593,14 @@ class PROJ_GCC_DLL Transformation : public SingleOperation {
PROJ_INTERNAL TransformationNNPtr shallowClone() const;
PROJ_INTERNAL TransformationNNPtr
promoteTo3D(const std::string &newName,
const io::DatabaseContextPtr &dbContext) const;
PROJ_INTERNAL TransformationNNPtr
demoteTo2D(const std::string &newName,
const io::DatabaseContextPtr &dbContext) const;
//! @endcond
protected:
......
......@@ -68,6 +68,12 @@ using BoundCRSPtr = std::shared_ptr<BoundCRS>;
/** Non-null shared pointer of BoundCRS */
using BoundCRSNNPtr = util::nn<BoundCRSPtr>;
class CompoundCRS;
/** Shared pointer of CompoundCRS */
using CompoundCRSPtr = std::shared_ptr<CompoundCRS>;
/** Non-null shared pointer of CompoundCRS */
using CompoundCRSNNPtr = util::nn<CompoundCRSPtr>;
// ---------------------------------------------------------------------------
class CRS;
......@@ -140,6 +146,14 @@ class PROJ_GCC_DLL CRS : public common::ObjectUsage,
PROJ_INTERNAL CRSNNPtr allowNonConformantWKT1Export() const;
PROJ_INTERNAL CRSNNPtr
attachOriginalCompoundCRS(const CompoundCRSNNPtr &compoundCRS) const;
PROJ_INTERNAL CRSNNPtr promoteTo3D(
const std::string &newName, const io::DatabaseContextPtr &dbContext,
const cs::CoordinateSystemAxisNNPtr &verticalAxisIfNotAlreadyPresent)
const;
//! @endcond
protected:
......@@ -852,12 +866,6 @@ class PROJ_GCC_DLL InvalidCompoundCRSException : public util::Exception {
// ---------------------------------------------------------------------------
class CompoundCRS;
/** Shared pointer of CompoundCRS */
using CompoundCRSPtr = std::shared_ptr<CompoundCRS>;
/** Non-null shared pointer of CompoundCRS */
using CompoundCRSNNPtr = util::nn<CompoundCRSPtr>;
/** \brief A coordinate reference system describing the position of points
* through two or more independent single coordinate reference systems.
*
......
......@@ -590,6 +590,8 @@ class PROJ_GCC_DLL VerticalReferenceFrame : public Datum {
PROJ_INTERNAL void _exportToJSON(io::JSONFormatter *formatter)
const override; // throw(FormattingException)
PROJ_INTERNAL const std::string &getWKT1DatumType() const;
//! @endcond
protected:
......
......@@ -1172,6 +1172,14 @@ class PROJ_GCC_DLL AuthorityFactory {
const metadata::ExtentPtr &intersectingExtent1,
const metadata::ExtentPtr &intersectingExtent2) const;
typedef std::pair<common::IdentifiedObjectNNPtr, std::string>
PairObjectName;
PROJ_INTERNAL std::list<PairObjectName>
createObjectsFromNameEx(const std::string &name,
const std::vector<ObjectType> &allowedObjectTypes =
std::vector<ObjectType>(),
bool approximateMatch = true,
size_t limitResultCount = 0) const;
//! @endcond
protected:
......
......@@ -306,7 +306,7 @@ struct BaseObjectNNPtr : public util::nn<BaseObjectPtr> {
using BaseObjectNNPtr = util::nn<BaseObjectPtr>;
#endif
/** \brief Class that can be derived from, to emulate Java's Object behaviour.
/** \brief Class that can be derived from, to emulate Java's Object behavior.
*/
class PROJ_GCC_DLL BaseObject {
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment