Function coord_transforms::geo::utm2ll
source · pub fn utm2ll(utm: &utm_grid, ellipsoid: &geo_ellipsoid) -> Vector2<f64>
Expand description
Converts UTM Grid coordinates to 2-d LL (using Karney method) - accruacy to within a few nanometers within 3900km of the central meridian
Arguments
utm
- utm_grid reference to the UTM gridellipsoid
- geo_ellipsoid reference to the ellipsoid
Return Value
nalgebra::Vector2<f64>
- Lat, Lon (radians, radians)
Notes
- Based on code from here: http://www.movable-type.co.uk/scripts/latlong-utm-mgrs.html
- Based on white paper from here: https://arxiv.org/abs/1002.1417
- (c) Chris Veness 2014-2017 MIT Licence