diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-09-14 16:13:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-14 16:13:05 +0200 |
| commit | 92ca1a9455cdd136aaaeb1dbb0d8d867020e70c6 (patch) | |
| tree | 4afffd03c77810e455aae0265419ad136cfa32a9 /include/proj/crs.hpp | |
| parent | 884cff477ed084a242bf31cdafe2045c915a4a06 (diff) | |
| parent | 078952e7f078e029d66ab6ca1ed594dfecadd1fc (diff) | |
| download | PROJ-92ca1a9455cdd136aaaeb1dbb0d8d867020e70c6.tar.gz PROJ-92ca1a9455cdd136aaaeb1dbb0d8d867020e70c6.zip | |
Merge pull request #2847 from rouault/spherical_ocentric
Add support for GeodeticCRS using a Spherical ocentric coordinate system
Diffstat (limited to 'include/proj/crs.hpp')
| -rw-r--r-- | include/proj/crs.hpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp index dcab094a..5a8e75ae 100644 --- a/include/proj/crs.hpp +++ b/include/proj/crs.hpp @@ -270,6 +270,8 @@ class PROJ_GCC_DLL GeodeticCRS : virtual public SingleCRS, PROJ_DLL bool isGeocentric() PROJ_PURE_DECL; + PROJ_DLL bool isSphericalPlanetocentric() PROJ_PURE_DECL; + PROJ_DLL static GeodeticCRSNNPtr create(const util::PropertyMap &properties, const datum::GeodeticReferenceFrameNNPtr &datum, @@ -308,6 +310,9 @@ class PROJ_GCC_DLL GeodeticCRS : virtual public SingleCRS, PROJ_INTERNAL void addGeocentricUnitConversionIntoPROJString( io::PROJStringFormatter *formatter) const; + PROJ_INTERNAL void + addAngularUnitConvertAndAxisSwap(io::PROJStringFormatter *formatter) const; + PROJ_INTERNAL void _exportToWKT(io::WKTFormatter *formatter) const override; // throw(io::FormattingException) @@ -400,12 +405,10 @@ class PROJ_GCC_DLL GeographicCRS : public GeodeticCRS { PROJ_PRIVATE : //! @cond Doxygen_Suppress - PROJ_INTERNAL void - addAngularUnitConvertAndAxisSwap( - io::PROJStringFormatter *formatter) const; - PROJ_INTERNAL void _exportToPROJString(io::PROJStringFormatter *formatter) - const override; // throw(FormattingException) + PROJ_INTERNAL void + _exportToPROJString(io::PROJStringFormatter *formatter) + const override; // throw(FormattingException) PROJ_INTERNAL void _exportToJSON(io::JSONFormatter *formatter) const override; // throw(FormattingException) |
