Crate lambert [] [src]

Lambert to WGS84 projection conversion crate

Examples

extern crate lambert;
use lambert::{Point, AngleUnit, Zone};
    
// Enter coordinates in point
let point = Point::new(369419.0, 1986498.0, 0.0)
            .wgs84_from_meter(Zone::Lambert93)
            .convert_unit(AngleUnit::Radian, AngleUnit::Degree);
                
println!("WGS84 Lat:{}, Lon:{}", point.y, point.x);

Structs

Point

The Point struct represents a point in space

Enums

AngleUnit

The AngleUnit enum reprensts the unity expressed by by the coordinate.

Zone

Zone represents a Lambert projection zone.