From 63857c92b271bbcd10df0a032304982011acb2a9 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 10 Sep 2019 20:21:36 +0200 Subject: 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). --- include/proj/io.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 + getPreferredHubGeodeticReferenceFrames( + const std::string &geodeticReferenceFrameCode) const; + //! @endcond protected: -- cgit v1.2.3