#wgs84 #coordinates #transforms #rd

rijksdriehoek

Convert coordinates between rijksdriehoek and wgs84

1 unstable release

0.1.0 Feb 15, 2019

#199 in Geospatial

Download history 6/week @ 2023-10-28 4/week @ 2023-11-04 10/week @ 2023-11-11 5/week @ 2023-11-18 11/week @ 2023-11-25 3/week @ 2023-12-02 4/week @ 2023-12-09 6/week @ 2023-12-16 5/week @ 2023-12-23 3/week @ 2023-12-30 5/week @ 2024-01-06 5/week @ 2024-01-13 22/week @ 2024-01-20 4/week @ 2024-01-27 12/week @ 2024-02-03 24/week @ 2024-02-10

63 downloads per month

MIT/Apache

290KB
117 lines

rijksdriehoek.rs

Convert coordinates between rijksdriehoek and wgs84.

Travis-CI Status Latest version Documentation License

Getting Started

rijksdriehoek.rs is available on crates.io. It is recommended to look there for the newest released version, as well as links to the newest builds of the docs.

At the point of the last update of this README, the latest published version could be used like this:

Add the following dependency to your Cargo manifest...

[dependencies]
rijksdriehoek = "0.1.0"

...and see the docs for how to use it.

Example

use rijksdriehoek::*;

fn main() {
    let (x, y): (f32, f32) = wgs84_to_rijksdriehoek(52.37453253, 4.88352559);
    println!("Convert wgs84 lat=52.37453253, lon=4.88352559 to rijksdriehoek x={} y={}", x , y);

    let (lat, lon): (f32, f32) = rijksdriehoek_to_wgs84(120700.723, 487525.502);
    println!("convert rijksdriehoek x=120700.723, y=487525.502 to wgs84 lat={} lon={}", lat, lon);
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies