#coordinate-transformation #3d #transformation #geographic #map

map_3d

Library for 3D geographic coordinate transformation

7 releases

new 0.1.7 Apr 19, 2026
0.1.5 Jul 13, 2022
0.1.4 Aug 16, 2020
0.1.3 Jun 13, 2020
0.1.2 May 18, 2020

#15 in Robotics

Download history 2969/week @ 2025-12-28 7203/week @ 2026-01-04 12335/week @ 2026-01-11 7675/week @ 2026-01-18 17902/week @ 2026-01-25 12289/week @ 2026-02-01 14551/week @ 2026-02-08 10206/week @ 2026-02-15 11738/week @ 2026-02-22 15055/week @ 2026-03-01 12203/week @ 2026-03-08 11504/week @ 2026-03-15 11133/week @ 2026-03-22 10100/week @ 2026-03-29 7509/week @ 2026-04-05 7416/week @ 2026-04-12

36,919 downloads per month
Used in 12 crates (5 directly)

Apache-2.0

49KB
815 lines

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:

[!TIP] Conversion from degrees to radians (and vice versa) is natively supported. See to_radians and to_degrees

  • 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)

No runtime deps