Crates.io | coordtransform-rs |
lib.rs | coordtransform-rs |
version | 0.1.0 |
source | src |
created_at | 2023-04-21 07:55:46.72812 |
updated_at | 2023-04-21 07:55:46.72812 |
description | a rust library for coordinate transformation |
homepage | |
repository | https://github.com/wyxloading/coordtransform-rs.git |
max_upload_size | |
id | 845114 |
size | 6,361 |
提供百度坐标系(bd-09)、火星坐标系(国测局坐标系、gcj02)、WGS84坐标系的相互转换
Add the following to your cargo.toml
:
[dependencies]
coordtransform-rs = "0.1"
use coordtransform-rs::gcj02_to_wgs84;
println!(gcj02_to_wgs84(113, 25));