1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +01:00

Added SAD69 ellipsoid

This commit is contained in:
Martin Tůma 2017-04-03 20:59:17 +02:00
parent 6ce14734cd
commit f0b7abdb72

View File

@ -14,6 +14,9 @@
#define GRS80_FLATTENING (1.0/298.257222101) #define GRS80_FLATTENING (1.0/298.257222101)
#define WGS70_RADIUS 6378135.0 #define WGS70_RADIUS 6378135.0
#define WGS70_FLATTENING (1.0/298.26) #define WGS70_FLATTENING (1.0/298.26)
#define SAD69_RADIUS 6378160.0
#define SAD69_FLATTENING (1.0/298.25)
#ifndef M_PI_2 #ifndef M_PI_2
#define M_PI_2 1.57079632679489661923 #define M_PI_2 1.57079632679489661923
@ -38,7 +41,8 @@ static Entry list[] = {
{"NZGD1949", INTERNATIONAL_RADIUS, INTERNATIONAL_FLATTENING}, {"NZGD1949", INTERNATIONAL_RADIUS, INTERNATIONAL_FLATTENING},
{"NAD27", BESSEL_RADIUS, BESSEL_FLATTENING}, {"NAD27", BESSEL_RADIUS, BESSEL_FLATTENING},
{"NAD83", GRS80_RADIUS, GRS80_FLATTENING}, {"NAD83", GRS80_RADIUS, GRS80_FLATTENING},
{"WGS 72", WGS70_RADIUS, WGS70_FLATTENING} {"WGS 72", WGS70_RADIUS, WGS70_FLATTENING},
{"South American 1969", SAD69_RADIUS, SAD69_FLATTENING}
}; };