aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-12-19 16:37:10 +0100
committerThomas Knudsen <thokn@sdfe.dk>2017-12-19 16:37:10 +0100
commiteadbf1520c493d7c62d62b5f0e54c3fdc26c791a (patch)
tree27f48d31dc4557d561a62351eb0e4c98186fb672 /src
parenta70e8a3579064e80f65b1ae118ae90588142886f (diff)
downloadPROJ-eadbf1520c493d7c62d62b5f0e54c3fdc26c791a.tar.gz
PROJ-eadbf1520c493d7c62d62b5f0e54c3fdc26c791a.zip
Danish (Andrae) ellipsoid, and Copenhagen meridian introduced in support of the Reykjavik 1900 datum (Iceland)
Diffstat (limited to 'src')
-rw-r--r--src/pj_datums.c7
-rw-r--r--src/pj_ellps.c1
2 files changed, 5 insertions, 3 deletions
diff --git a/src/pj_datums.c b/src/pj_datums.c
index 834ce724..48c77c69 100644
--- a/src/pj_datums.c
+++ b/src/pj_datums.c
@@ -30,10 +30,10 @@
#define PJ_DATUMS__
#include <projects.h>
-/*
+/*
* The ellipse code must match one from pj_ellps.c. The datum id should
- * be kept to 12 characters or less if possible. Use the official OGC
- * datum name for the comments if available.
+ * be kept to 12 characters or less if possible. Use the official OGC
+ * datum name for the comments if available.
*/
C_NAMESPACE_VAR const struct PJ_DATUMS pj_datums[] = {
@@ -86,6 +86,7 @@ C_NAMESPACE_VAR const struct PJ_PRIME_MERIDIANS pj_prime_meridians[] = {
{"stockholm", "18d3'29.8\"E"},
{"athens", "23d42'58.815\"E"},
{"oslo", "10d43'22.5\"E"},
+ {"copenhagen","12d34'40.35\"E"},
{NULL, NULL}
};
diff --git a/src/pj_ellps.c b/src/pj_ellps.c
index af5990dd..4005d1ce 100644
--- a/src/pj_ellps.c
+++ b/src/pj_ellps.c
@@ -16,6 +16,7 @@ pj_ellps[] = {
{"NWL9D", "a=6378145.0.", "rf=298.25", "Naval Weapons Lab., 1965"},
{"mod_airy", "a=6377340.189", "b=6356034.446", "Modified Airy"},
{"andrae", "a=6377104.43", "rf=300.0", "Andrae 1876 (Den., Iclnd.)"},
+{"danish", "a=6377019.2563", "rf=300.0", "Andrae 1876 (Denmark, Iceland)"},
{"aust_SA", "a=6378160.0", "rf=298.25", "Australian Natl & S. Amer. 1969"},
{"GRS67", "a=6378160.0", "rf=298.2471674270", "GRS 67(IUGG 1967)"},
{"GSK2011", "a=6378136.5", "rf=298.2564151", "GSK-2011"},