Skip to main content

Module geodesy

Module geodesy 

Source
Expand description

Planetary Geodesy, CRS Projections, AusGeoid, A5 DGGS, Packed Hilbert R-Tree & IAU Ephemeris (GEO-S1).

Tier-1 HotZeroHeap geospatial foundation combining:

  • wgs84_karney: WGS84 ellipsoid constants, Bowring closed-form ECEF<->geodetic, Karney/Vincenty geodesics, ENU basis, and authalic polygon area.
  • coordinates_mgrs: Zero-heap (StackText64) parsing and formatting for DD, DMS, UTM, UPS, MGRS, Geohash, and Open Location Code (PlusCode).
  • crs_proj_wkt: Zero-heap WKT1/WKT2/ESRI CRS slice parser, Transverse Mercator (GDA2020 MGA 49-56), Australian Albers (EPSG:9473), Web Mercator (EPSG:3857), Helmert 7-parameter datum shifts, and AusGeoid2020/EGM2008 undulation.
  • dggs_rtree_hot: Pentagonal equal-area A5 DGGS hierarchical indexing and zero-heap packed Hilbert R-Tree (RTreeEntry) spatial predicates.
  • ephemeris_orbit: IAU 2006/2000A analytical solar/lunar ephemeris, sloped topographic solar irradiance (W/m² and daily Wh/m²), and Keplerian + $J_2$ secular orbital propagation.

Re-exports§

pub use coordinates_mgrs::decode_geohash_bytes;
pub use coordinates_mgrs::encode_geohash_stack;
pub use coordinates_mgrs::encode_plus_code_stack;
pub use coordinates_mgrs::format_dms_stack;
pub use coordinates_mgrs::format_mgrs_stack;
pub use coordinates_mgrs::latlon_to_mgrs;
pub use coordinates_mgrs::latlon_to_utm;
pub use coordinates_mgrs::mgrs_to_latlon;
pub use coordinates_mgrs::parse_coordinate_str;
pub use coordinates_mgrs::parse_mgrs_bytes;
pub use coordinates_mgrs::utm_to_latlon;
pub use coordinates_mgrs::CoordParseError;
pub use coordinates_mgrs::MgrsCoord;
pub use coordinates_mgrs::StackText64;
pub use coordinates_mgrs::UtmUpsCoord;
pub use crs_proj_wkt::ausgeoid2020_undulation_m;
pub use crs_proj_wkt::egm2008_undulation_m;
pub use crs_proj_wkt::project_forward;
pub use crs_proj_wkt::project_inverse;
pub use crs_proj_wkt::reproject_coord;
pub use crs_proj_wkt::CrsDefinition;
pub use crs_proj_wkt::CrsError;
pub use crs_proj_wkt::Ellipsoid;
pub use crs_proj_wkt::EpsgCode;
pub use crs_proj_wkt::Helmert7Param;
pub use crs_proj_wkt::ProjectionMethod;
pub use crs_proj_wkt::EPSG_GDA2020;
pub use crs_proj_wkt::EPSG_GDA2020_ALBERS;
pub use crs_proj_wkt::EPSG_GDA2020_MGA54;
pub use crs_proj_wkt::EPSG_GDA2020_MGA55;
pub use crs_proj_wkt::EPSG_GDA2020_MGA56;
pub use crs_proj_wkt::EPSG_GDA94;
pub use crs_proj_wkt::EPSG_WEB_MERCATOR;
pub use crs_proj_wkt::EPSG_WGS84;
pub use dggs_rtree_hot::a5_cell_area_m2;
pub use dggs_rtree_hot::a5_children;
pub use dggs_rtree_hot::a5_parent;
pub use dggs_rtree_hot::a5_pentagon_boundary;
pub use dggs_rtree_hot::a5_to_lonlat;
pub use dggs_rtree_hot::build_packed_hilbert_index;
pub use dggs_rtree_hot::lonlat_to_a5;
pub use dggs_rtree_hot::point_in_polygon_hot;
pub use dggs_rtree_hot::query_bbox_hot;
pub use dggs_rtree_hot::query_k_nearest_hot;
pub use dggs_rtree_hot::segments_intersect_hot;
pub use dggs_rtree_hot::A5Cell;
pub use dggs_rtree_hot::BBox2D;
pub use dggs_rtree_hot::DggsError;
pub use dggs_rtree_hot::RTreeEntry;
pub use ephemeris_orbit::daily_integrated_insolation_wh_m2;
pub use ephemeris_orbit::earth_rotation_angle_rad;
pub use ephemeris_orbit::lunar_ephemeris;
pub use ephemeris_orbit::propagate_orbit_j2;
pub use ephemeris_orbit::solar_ephemeris;
pub use ephemeris_orbit::topographic_solar_irradiance;
pub use ephemeris_orbit::unix_to_julian_date;
pub use ephemeris_orbit::InsolationResult;
pub use ephemeris_orbit::KeplerElements;
pub use ephemeris_orbit::LunarPosition;
pub use ephemeris_orbit::OrbitalStateEcef;
pub use ephemeris_orbit::SolarPosition;
pub use wgs84_karney::ecef_to_enu;
pub use wgs84_karney::ecef_to_geodetic_bowring;
pub use wgs84_karney::enu_basis;
pub use wgs84_karney::enu_to_ecef;
pub use wgs84_karney::geodetic_to_ecef;
pub use wgs84_karney::geodesic_direct;
pub use wgs84_karney::geodesic_intermediate;
pub use wgs84_karney::geodesic_inverse;
pub use wgs84_karney::geodesic_polygon_area_m2;
pub use wgs84_karney::ground_resolution_m_per_px;
pub use wgs84_karney::principal_radii_of_curvature;
pub use wgs84_karney::EcefCoord;
pub use wgs84_karney::GeodesicDirectResult;
pub use wgs84_karney::GeodesicInverseResult;
pub use wgs84_karney::GeodeticCoord;
pub use wgs84_karney::MEAN_EARTH_RADIUS_M;
pub use wgs84_karney::WGS84_A;
pub use wgs84_karney::WGS84_B;
pub use wgs84_karney::WGS84_E2;
pub use wgs84_karney::WGS84_EP2;
pub use wgs84_karney::WGS84_F;
pub use wgs84_karney::WGS84_INV_F;

Modules§

coordinates_mgrs
Zero-heap geodesic coordinates, UTM/UPS, MGRS, Geohash, and Plus Code (OLC). Tier-1 HotZeroHeap compliant: all allocations occur on stack byte buffers.
crs_proj_wkt
dggs_rtree_hot
Tier-1 Hot Zero-Heap A5 Pentagonal DGGS and Packed Hilbert Spatial Indexing.
ephemeris_orbit
wgs84_karney
High-precision WGS84 geodesy and ellipsoidal geometric operations.