Function goatns::utils::dms_to_u32

source ·
pub fn dms_to_u32(deg: u8, min: u8, sec: f32, positive: bool) -> u32
Expand description

turn a degrees/minutes/seconds format into unsigned 32-bit integer matching the format required for a DNS LOC record

when positive = true, you’re North or West