Added geodesy functions
This commit is contained in:
parent
fc200348f5
commit
815f85adeb
|
@ -1,4 +1,3 @@
|
||||||
import RNS
|
|
||||||
import time
|
import time
|
||||||
from math import pi, sin, cos, acos, tan, atan, atan2
|
from math import pi, sin, cos, acos, tan, atan, atan2
|
||||||
from math import radians, degrees, sqrt
|
from math import radians, degrees, sqrt
|
||||||
|
@ -159,6 +158,7 @@ def orthodromic_distance(c1, c2, spherical=False):
|
||||||
return ellipsoid_distance(c1, c2)
|
return ellipsoid_distance(c1, c2)
|
||||||
|
|
||||||
# def tests():
|
# def tests():
|
||||||
|
# import RNS
|
||||||
# from geographiclib.geodesic import Geodesic
|
# from geographiclib.geodesic import Geodesic
|
||||||
# geod = Geodesic.WGS84
|
# geod = Geodesic.WGS84
|
||||||
# coords = [
|
# coords = [
|
||||||
|
|
Loading…
Reference in New Issue