dms-coordinates

Crates.iodms-coordinates
lib.rsdms-coordinates
version1.3.1
sourcesrc
created_at2021-12-22 10:48:42.512171
updated_at2024-06-15 17:59:54.184515
descriptionPackage to handle D°M'S'' coordinates
homepagehttps://github.com/gwbres/dms-coordinates
repositoryhttps://github.com/gwbres/dms-coordinates
max_upload_size
id501576
size70,066
gwbres (gwbres)

documentation

README

DMS Coordinates

Rust crates.io crates.io
crates.io License License

Rust Crate for D°M'S" coordinates manipulation, used in navigation :sailboat: :airplane: :ship:

This crate exposes several structures

  • Cardinal points of a compass rose
  • D° M' S" to represent an angle as Degrees, Minutes and fractionnal seconds, so called "sexagesimal" format, with an optionnal Cardinal. This object can be used to represent Latitude / Longitude angles
  • DMS 3D comprises a Latitude, a Longitude angle and optionnal altitude (3D coordinates)

Features

  • std: this lib supports "no-std" by default
  • serde: enable DMS, DMS3d, Cardinal serdes ops, requires "std"
  • gpx: enables cast from Waypoint to DMS3D, requires "std"

Other solutions :crab:

Other solutions exist nowadays in Rust to deal with sexagesimal coordiantes.
The geodesy library is one of them, and most likely more consistent than this library.
The sole interest you can find here is the few dependencies that this library has.

Commit count: 135

cargo fmt