aboutsummaryrefslogtreecommitdiff
path: root/src/proj_constants.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-12-02 14:42:33 +0100
committerGitHub <noreply@github.com>2020-12-02 14:42:33 +0100
commitb7fb045ebde07ca461b08269697b25128ed503a1 (patch)
treee0ca10fc65208fec18ca1311f896809a5ca12428 /src/proj_constants.h
parentf9655458a951b3a0704b5465ea0b1af3c7b8ba09 (diff)
parentd8fe9964bcbc6d1eeaddf6f5d47ca6d444dc8744 (diff)
downloadPROJ-b7fb045ebde07ca461b08269697b25128ed503a1.tar.gz
PROJ-b7fb045ebde07ca461b08269697b25128ed503a1.zip
Merge pull request #2444 from rouault/topocentric
Add +proj=topocentric geocentric->topocentric conversion (fixes #500)
Diffstat (limited to 'src/proj_constants.h')
-rw-r--r--src/proj_constants.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/proj_constants.h b/src/proj_constants.h
index a3da2c10..ce3b2157 100644
--- a/src/proj_constants.h
+++ b/src/proj_constants.h
@@ -651,4 +651,24 @@
#define EPSG_CODE_METHOD_HEIGHT_DEPTH_REVERSAL 1068
#define EPSG_NAME_METHOD_HEIGHT_DEPTH_REVERSAL "Height Depth Reversal"
+/* ------------------------------------------------------------------------ */
+
+#define EPSG_NAME_METHOD_GEOCENTRIC_TOPOCENTRIC "Geocentric/topocentric conversions"
+#define EPSG_CODE_METHOD_GEOCENTRIC_TOPOCENTRIC 9836
+
+#define EPSG_NAME_PARAMETER_GEOCENTRIC_X_TOPOCENTRIC_ORIGIN "Geocentric X of topocentric origin"
+#define EPSG_CODE_PARAMETER_GEOCENTRIC_X_TOPOCENTRIC_ORIGIN 8837
+
+#define EPSG_NAME_PARAMETER_GEOCENTRIC_Y_TOPOCENTRIC_ORIGIN "Geocentric Y of topocentric origin"
+#define EPSG_CODE_PARAMETER_GEOCENTRIC_Y_TOPOCENTRIC_ORIGIN 8838
+
+#define EPSG_NAME_PARAMETER_GEOCENTRIC_Z_TOPOCENTRIC_ORIGIN "Geocentric Z of topocentric origin"
+#define EPSG_CODE_PARAMETER_GEOCENTRIC_Z_TOPOCENTRIC_ORIGIN 8839
+
+/* ------------------------------------------------------------------------ */
+
+#define EPSG_NAME_METHOD_GEOGRAPHIC_TOPOCENTRIC "Geographic/topocentric conversions"
+#define EPSG_CODE_METHOD_GEOGRAPHIC_TOPOCENTRIC 9837
+
+
#endif /* PROJ_CONSTANTS_INCLUDED */