Skip to main content

Crate geocoder_core

Crate geocoder_core 

Source
Expand description

Address geocoding, ported from addok.

  • profile: country specific text processing (default, fr, lu, be).
  • readers: data sources converted to addok’s document format.
  • IndexBuilder / Index: the on-disk index.
  • Geocoder: search and reverse geocoding.
  • signed (feature signed): signed manifests of prebuilt indexes.

Re-exports§

pub use doc::Document;
pub use index::Index;
pub use index::IndexBuilder;
pub use index::Meta;
pub use profile::Profile;

Modules§

doc
Documents are plain JSON objects in addok’s import format (name, type, postcode, city, context, lat, lon, importance, housenumbers…). Readers in crate::readers convert each data source into this format.
index
profile
Country / language profiles.
readers
Data sources converted into addok’s document format.
search
Port of addok 1.3’s Search helper and its default results collectors:
settings
addok’s config/default.py values, unchanged by the BAN configuration.
text
Language-agnostic text primitives, ported from addok.helpers.text.

Structs§

Geocoder
An index opened with the profile it was built with.
ReverseOpts
SearchOpts
SearchResult

Enums§

GeocoderError