map_3d

Crates.iomap_3d
lib.rsmap_3d
version0.1.5
sourcesrc
created_at2020-05-10 16:17:15.404139
updated_at2022-07-13 13:57:39.087799
descriptionLibrary for 3D geographic coordinate transformation
homepagehttps://github.com/gberrante/map_3d
repositoryhttps://github.com/gberrante/map_3d
max_upload_size
id239733
size56,647
GbErrante (gberrante)

documentation

README

Rust Map3d

crates.io Rust License codecov

This is a Rust library for geographic coordinate frame conversion. The implementation is similar to Pymap3d. All the functions are implemented in f64 precision.

Live demo: map 3d live demo

No external dependencies

The default units are:

  • Radians [rad] for angular variables
  • Meters [m] for linear variables
  • Greenwich Sidereal Time [GST] for date and time

We support several reference ellipsoids, WGS84 is defined as the default one, obtained with Ellipsoid::default().

List of coordinates systems implemented in the functions:

Additional functions:

  • Radians to Degrees and Degrees to Radians
  • UTC time conversion to GST
  • 3x3 Matrix - 3x1 column multiplication
  • 3x3 Matrix transpose
  • f64 round towards zero
  • projected distance (Haversine formula) between two coordinates (lat, lon, in decimal degrees)

To-Do List:

  • implement functions for right ascension and declination conversions
Commit count: 59

cargo fmt