Crates.io | geoconv |
lib.rs | geoconv |
version | 0.4.3 |
source | src |
created_at | 2023-05-04 00:05:07.960383 |
updated_at | 2024-07-10 04:40:09.417005 |
description | convert between different coordinate systems |
homepage | |
repository | https://github.com/paultag/geoconv-rs |
max_upload_size | |
id | 856088 |
size | 56,400 |
geoconv
implements support for converting between some basic coordinate
systems. This package contains support for WGS84
Latitude/Longitude/Elevation (LLE) geodetic coordinates, Earth-centered,
Earth-fixed (XYZ), and local tangent plane (both East/North/Up (ENU)
and Azimuth/Elevation/Range (AER)) systems.
[!WARNING] This is also absolutely not ready to be used for navigational purposes. Please do not use this library in any situation that may cause harm to life or property.
This package is particularly useful if you know your location on Earth, and want to geolocate an object that you can observe, or if you know your location on Earth, and an object's location on Earth and want to determine your relative positions.
This also includes Haversine-distance using the circumference of the earth for approximate great-circle distance between two Lat/Lon points, but only on the "Earth's surface". In some cases (long distances) this is a way better approach for distance. If both points are line-of-sight, you likely care more about using the local tangent plane to work out the Range to the target in 3-space by converting both lat/lons to Earth-North-Up or an Azimuth/Elevation/Range.