reverse_geocoder_cn/lib.rs
1//! Offline reverse geocoding for Chinese province, prefecture and county boundaries.
2//!
3//! The published crate bundles `cn_admin.bin`; use [`ReverseGeocoder::embedded`]
4//! for the simplest setup. To refresh it, run `build-data` with the three
5//! GeoJSON files downloaded from Tianditu.
6
7pub mod error;
8pub mod geocoder;
9pub mod store;
10
11pub use error::{BuildError, CoordinateParseError, Error};
12pub use geocoder::{Address, AdministrativeArea, ReverseGeocoder};
13pub use store::build_data;