n3gb-rs 0.2.2

A Rust implementation of a hierarchical hex-based spatial indexing system based on the OSGB National Grid.
Documentation
1
2
3
4
5
6
7
8
pub mod constants;
mod identifier;
mod indexing;

pub use constants::{CELL_RADIUS, CELL_WIDTHS, GRID_EXTENTS, IDENTIFIER_VERSION, MAX_ZOOM_LEVEL};
pub use identifier::{decode_hex_identifier, generate_hex_identifier};
pub(crate) use indexing::offset_to_cube;
pub use indexing::{point_to_row_col, row_col_to_center};