Skip to main content

Crate aegis_geo

Crate aegis_geo 

Source
Expand description

Aegis Geo — geospatial engine for the Aegis database.

Named collections of geo points ({id, lat, lon, metadata}) backed by a uniform grid spatial index, with radius / bounding-box / nearest-k queries over great-circle (Haversine) distance, metadata filtering, and snapshot persistence.

Re-exports§

pub use engine::CollectionSnapshot;
pub use engine::CollectionStats;
pub use engine::EngineSnapshot;
pub use engine::GeoEngine;
pub use grid::GridIndex;
pub use types::haversine_m;
pub use types::valid_coord;
pub use types::GeoError;
pub use types::GeoFeature;
pub use types::GeoHit;
pub use types::EARTH_RADIUS_M;

Modules§

engine
The geospatial engine: named collections of geo points, each backed by a grid index, with radius / bounding-box / nearest-k queries, metadata filtering, and snapshot persistence.
grid
A uniform lat/lon grid spatial index. Points are bucketed into fixed-size cells so that radius and bounding-box queries only examine the cells that overlap the query region, then exact Haversine distance filters the results.
types
Core types for the geospatial engine.