1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Use precise arc second to radian transformation constants

This commit is contained in:
Martin Tůma 2018-05-11 20:06:16 +02:00
parent 792ec17a20
commit 3b0a4a30bb

View File

@ -3,8 +3,8 @@
#include "datum.h"
#define as2rad(x) ((x) * 4.84814e-6)
#define rad2as(x) ((x) * 206265.0)
#define as2rad(x) ((x) * (M_PI/648000.0))
#define rad2as(x) ((x) * (648000.0/M_PI))
static Ellipsoid WGS84e = Ellipsoid(WGS84_RADIUS, WGS84_FLATTENING);
static Datum WGS84 = Datum(&WGS84e, 0.0, 0.0, 0.0);