Open eadmaster opened 3 years ago
I've now added a function for calculation of the distance between GPS coordinates (using Vincenty's formulae, or, in case of failure, the Harversine formula).
Coordinates conversion are already supported, e.g. 2°20′24″ = 2.34°
, 2.34 to sexa = 2°20′24″
(sexa is here short for sexagesimal). There were some minor issues (′ and ″ was interpreted as feet and inches if there was a Unicode character after "°", and "2.34° to sexa" returned "2°20′24″ × °"), which has now been fixed.
nice, is there a way to customize the rounding in the sexagesimal notation? e.g.:
+79.982 to sexa = 79°58′55.2″
should round the seconds, like shown here-40.446° to ??
can i get the degrees and decimal minutes only from this? (40° 26.767′
)New sexagesimal variants have now been added
thank you for working on this, it looks pretty useful already...