6 releases (2 stable)
Uses new Rust 2024
| 1.1.0 | Oct 1, 2025 |
|---|---|
| 1.0.0 | Sep 26, 2025 |
| 0.3.1 | Sep 24, 2025 |
| 0.2.0 | Sep 18, 2025 |
| 0.1.0 | Sep 14, 2025 |
#840 in Encoding
314 downloads per month
110KB
3.5K
SLoC
Geographic coordinates format conversions
Description
Mixed rust crate for converting latitude and longitude representations.
Provides
- a command line interface,
- as well as public types and factories for parsing and writing formatted coordinates.
Supported formats
| Format identifier | Example | Used in |
|---|---|---|
| decimal | 50.894361, 10.955342 |
https://maps.google.com |
| dd | 50.894361°N 10.955342°E |
Decimal degrees |
| ddm | 50°53.6617'N 10°57.3205'E |
Degrees, decimal minutes |
| dms | 50°53'39.70''N 10°57'19.23''E |
Degrees, minutes, seconds |
| fl95 | N 50 53.7 E 010 57.3 |
https://fl95.de |
| fpl | 5054N01057E |
AIS flight plans |
| notam | 505340N 0105719E |
AIS NOTAMs |
Features
man: Generate manual page
Dependency: pandoc.
Build crate including manual page:
cargo build --features man
Output is written into target/man.
CLI installation
cargo install coordfmt
Generate Debian package
Dependencies: feature man, cargo-deb.
Example:
cargo deb
Generate RPM package
Dependencies: feature man, cargo-generate-rpm.
Example:
cargo build --release --features man
cargo generate-rpm
Dependencies
~365KB