GeoConstants

Common geographic constants for coordinate conversions.

Properties

Link copied to clipboard
const val DEG_D: Double = 1.0E-7

Multiplier to convert protobuf integer coordinates (1e-7 degree units) to decimal degrees.

Link copied to clipboard

Mean radius of the Earth in meters, for haversine calculations.

Link copied to clipboard
const val HEADING_DEG: Double = 1.0E-5

Multiplier to convert protobuf integer heading values (1e-5 degree units) to decimal degrees.