README.md
global_digital_address
Square-cell Web Mercator encoder/decoder for globally unique grid codes (6×6 subdivision per level).
Features
- Web Mercator (EPSG:3857) math with
MAX_LAT = 85.05112878° - Deterministic 6×6 symbol grid per level
- Grouping:
AAAA-BBBB-CCfor 10-char codes; otherwise groups of 4 - Reverse decode to cell center
- Approximate cell size by code length
Install
# Cargo.toml
[]
= "1.0"
Usage
use ;
let code = get_digi_pin.unwrap;
let center = get_lat_lng_from_digipin.unwrap;
println!;
CLI example
cargo run --example encode_decode
License
MIT © Sumit Kumar