aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-09-10 20:21:36 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-09-12 15:59:23 +0200
commit63857c92b271bbcd10df0a032304982011acb2a9 (patch)
treea04e4c96dba6a95613fc2d49da0f4e5c7c5a58d7 /include
parent890c94a730474f057f5237ca07699d6af600ed3f (diff)
downloadPROJ-63857c92b271bbcd10df0a032304982011acb2a9.tar.gz
PROJ-63857c92b271bbcd10df0a032304982011acb2a9.zip
Coordinate transformation: improve transformations from/to WGS84 (Gxxxx)
Currently very few transformations from/to WGS84 (Gxxxx) are registered in the EPSG database, and there isn't even transformations between WGS84 EPSG:4326 and those ones. Consequently transformations to those realizations often ended up as no-operation, whereas going through WGS84 EPSG:4326 will bring more meaningful results. So register those EPSG:4326<-->WGS 84 (Gxxx) null transformations, and when having WGS 84 (Gxxx) as source/target, consider EPSG:4326 as an intermediate. This change has no effect on the existing direct transformations from/to WGS 84 (Gxxx).
Diffstat (limited to 'include')
-rw-r--r--include/proj/io.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index e439b9ef..12b3b111 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -1103,6 +1103,11 @@ class PROJ_GCC_DLL AuthorityFactory {
PROJ_INTERNAL crs::CRSNNPtr
createCoordinateReferenceSystem(const std::string &code,
bool allowCompound) const;
+
+ PROJ_INTERNAL std::list<datum::GeodeticReferenceFrameNNPtr>
+ getPreferredHubGeodeticReferenceFrames(
+ const std::string &geodeticReferenceFrameCode) const;
+
//! @endcond
protected: