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
}
.gitignore
/target
**/*.rs.bk
Cargo.lock
/tmp
/.idea
.travis.yml
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true<Paste>
Author: vlopes11
Source: https://github.com/vlopes11/geomorph
License: MIT license