pub fn haversine_m(
lat1_etsi: i32,
lon1_etsi: i32,
lat2_etsi: i32,
lon2_etsi: i32,
) -> f64Expand description
Compute the great-circle distance in metres between two positions given as ETSI integer coordinates (tenths of microdegrees, i.e. × 10⁻⁷ degrees).
This correctly handles the unit conversion that the Python reference implementation omitted, fixing the spatial filtering bug.
§Arguments
lat1_etsi,lon1_etsi— first point (ETSI × 1e7 format)lat2_etsi,lon2_etsi— second point (ETSI × 1e7 format)
§Returns
Great-circle distance in metres.