aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-11 13:27:35 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-04-12 12:48:42 +0200
commitd582ac8bae02b25e25685755173715ebf9349573 (patch)
treea02305fcb019ba5013cec218209b0c09a473005a /include
parent3bc25ac8a9deb868174a19392266dd2c870e3179 (diff)
downloadPROJ-d582ac8bae02b25e25685755173715ebf9349573.tar.gz
PROJ-d582ac8bae02b25e25685755173715ebf9349573.zip
Add proj_get_celestial_body_name() and make proj_get_crs_info_list_from_database() filter on and return celestial body name
Diffstat (limited to 'include')
-rw-r--r--include/proj/io.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp
index 96a97142..e4307d02 100644
--- a/include/proj/io.hpp
+++ b/include/proj/io.hpp
@@ -1089,6 +1089,8 @@ class PROJ_GCC_DLL AuthorityFactory {
/** Name of the projection method for a projected CRS. Might be empty
* even for projected CRS in some cases. */
std::string projectionMethodName;
+ /** Name of the celestial body of the CRS (e.g. "Earth") */
+ std::string celestialBodyName;
//! @cond Doxygen_Suppress
CRSInfo();