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:
parent
792ec17a20
commit
3b0a4a30bb
@ -3,8 +3,8 @@
|
|||||||
#include "datum.h"
|
#include "datum.h"
|
||||||
|
|
||||||
|
|
||||||
#define as2rad(x) ((x) * 4.84814e-6)
|
#define as2rad(x) ((x) * (M_PI/648000.0))
|
||||||
#define rad2as(x) ((x) * 206265.0)
|
#define rad2as(x) ((x) * (648000.0/M_PI))
|
||||||
|
|
||||||
static Ellipsoid WGS84e = Ellipsoid(WGS84_RADIUS, WGS84_FLATTENING);
|
static Ellipsoid WGS84e = Ellipsoid(WGS84_RADIUS, WGS84_FLATTENING);
|
||||||
static Datum WGS84 = Datum(&WGS84e, 0.0, 0.0, 0.0);
|
static Datum WGS84 = Datum(&WGS84e, 0.0, 0.0, 0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user