mfreeborn / heliocron

A command line application written in Rust capable of delaying execution of other programs for time periods relative to sunrise and sunset.
Apache License 2.0
241 stars 11 forks source link

Use proper decimal degree notation for specifying coordinates #56

Closed mfreeborn closed 2 years ago

mfreeborn commented 2 years ago

Currently, we use a sort of hybrid version of decimal degrees which specifies N/S/E/W using letters (e.g. --latitude 51.47N --longitude 3.1W)

Proper decimal degree notation instead encodes the compass heading based on the numerical sign: positive is north and east, whilst negative is south and west. (e.g. --latitude 51.47 --longitude -3.1).

Reference: https://en.wikipedia.org/wiki/Decimal_degrees