diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-04-22 20:05:36 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-04-22 20:05:36 +0200 |
| commit | 292807eee9e1194175b64cb5c0a9f0b432352abc (patch) | |
| tree | c8ca160e61b5a466144144cc17c0891193dc6006 /include | |
| parent | 1ebec58e22cce57310f40fa5a455b0b89c7f19b6 (diff) | |
| download | PROJ-292807eee9e1194175b64cb5c0a9f0b432352abc.tar.gz PROJ-292807eee9e1194175b64cb5c0a9f0b432352abc.zip | |
proj_create(): add support for compoundCRS and concatenatedOperation named from their components
Support following syntaxes:
- OGC URN combining references for compoundCRS:
e.g. "urn:ogc:def:crs,crs:EPSG::2393,crs:EPSG::5717"
- its GDAL shortcut: e.g. "EPSG:2393+5717"
- OGC URN combining references for concatenated operations:
e.g. "urn:ogc:def:coordinateOperation,coordinateOperation:EPSG::3895,coordinateOperation:EPSG::1618"
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/io.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 5386ca6c..a603533e 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -993,16 +993,16 @@ class PROJ_GCC_DLL AuthorityFactory { PROJ_INTERNAL std::list<crs::CompoundCRSNNPtr> createCompoundCRSFromExisting(const crs::CompoundCRSNNPtr &crs) const; + + PROJ_INTERNAL crs::CRSNNPtr + createCoordinateReferenceSystem(const std::string &code, + bool allowCompound) const; //! @endcond protected: PROJ_INTERNAL AuthorityFactory(const DatabaseContextNNPtr &context, const std::string &authorityName); - PROJ_INTERNAL crs::CRSNNPtr - createCoordinateReferenceSystem(const std::string &code, - bool allowCompound) const; - PROJ_INTERNAL crs::GeodeticCRSNNPtr createGeodeticCRS(const std::string &code, bool geographicOnly) const; |
