Closed sckott closed 5 years ago
fxns to parse out different pieces of a coordinate value
x = 40.123 degrees(x) # => 40 minutes(x) # => 7 seconds(x) # => 22.8 x = "N 39 21.440" hdm(x) # => 39.35733 x = "N 39 21 4" hdms(x) # => 39.35111 x = "39 21 4 W" dmsh(x) # => -39.35111
parsing
fxns to parse out different pieces of a coordinate value