https://github.com/hectormrc/globe
A bridge between geographic and cartesian coordinates.
https://github.com/hectormrc/globe
Last synced: over 1 year ago
JSON representation
A bridge between geographic and cartesian coordinates.
- Host: GitHub
- URL: https://github.com/hectormrc/globe
- Owner: HectorMRC
- License: mit
- Created: 2025-02-14T23:50:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T20:22:13.000Z (over 1 year ago)
- Last Synced: 2025-03-02T20:31:23.916Z (over 1 year ago)
- Language: Rust
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# globe
[](https://github.com/hectormrc/globe/actions/workflows/ci.yml)
[](https://codecov.io/gh/hectormrc/globe)
[](https://crates.io/crates/globe-rs)
A bridge between geographic and cartesian coordinates.
## About
This library provides a simple way to manipulate geographic coordinates while maintaining consistent values. Two coordinates systems are available: the [geographic coordinate system](https://en.wikipedia.org/wiki/Geographic_coordinate_system), which is made up of latitude, longitude, and altitude. And the [Cartesian coordinate system](https://en.wikipedia.org/wiki/Cartesian_coordinate_system), which is the regular one for representing arbitrary points in a three-dimensional space. Both of them can be converted from one to the other without restrictions but assuming a precision error.