Documentation ¶
Index ¶
Constants ¶
View Source
const EARTH_EQUATOR = 2 * math.Pi * EARTH_SEMI_LONG_AXIS
View Source
const EARTH_RADIUS = 6378137
View Source
const EARTH_RADIUS_FLOAT64 = float64(EARTH_RADIUS)
View Source
const EARTH_SEMI_LONG_AXIS = 6378137.0
Earth semi long axis defined by WGS84 in meters
View Source
const EARTH_SEMI_SHORT_AXIS = 6378137.0
Earth semi short axis defined by WGS84 in meters
View Source
const RAD = math.Pi / 180.0
Variables ¶
This section is empty.
Functions ¶
func DistancePerDegree ¶
func DistancePerDegree() float64
func GeoDistanceAre ¶
func GeoDistancePlane ¶
Types ¶
type GeoLocation ¶
func GeoLocationFromOrigin ¶
func GeoLocationFromOrigin(origin string) (GeoLocation, error)
Click to show internal directories.
Click to hide internal directories.