wgs2bd

Function wgs2bd 

Source
pub fn wgs2bd(wgs: (f64, f64)) -> (f64, f64)
Expand description

wgs2bd 将WGS84无偏移坐标 转换至 百度经纬度坐标系 (BD-09)

    let (x, y) = coord_transform::wgs2bd((118.0, 32.0));
    assert_eq!(x, 118.01198481069936);
    assert_eq!(y, 32.00370423982076);