reverse-geocoder-cn 0.1.0

离线为中国的区县进行逆地理编码;Offline reverse geocoding for Chinese province, city and county boundaries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Offline reverse geocoding for Chinese province, prefecture and county boundaries.
//!
//! The published crate bundles `cn_admin.bin`; use [`ReverseGeocoder::embedded`]
//! for the simplest setup. To refresh it, run `build-data` with the three
//! GeoJSON files downloaded from Tianditu.

pub mod error;
pub mod geocoder;
pub mod store;

pub use error::{BuildError, CoordinateParseError, Error};
pub use geocoder::{Address, AdministrativeArea, ReverseGeocoder};
pub use store::build_data;