Skip to content

vlopes11/geomorph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoMorph

Build Status Latest version Documentation

Simple conversion between different coordinate systems without external wrappers injection

Code Example

use geomorph::*;

fn main() {
    let lat: f64 = -23.0095839;
    let lon: f64 = -43.4361816;
    
    let coord = coord::Coord::new(lat, lon);
    let utm: Utm = coord.clone().into();
    println!("coord: {}", coord);
    println!("utm: {}", utm);
    // Will print:
    //  coord: (-23.0095839, -43.4361816)
    //  utm: 23K 660265 7454564
}

About

Rust implementation to simply convert between coordinate systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages