Skip to main content

geolith_search_builder/
lib.rs

1#![warn(missing_docs)]
2
3//! geolith-search-builder: Overture and OSM data to a geocoding index.
4//!
5//! [`run`] reads Overture places, addresses and divisions and, optionally, an
6//! OSM PBF; resolves each record's admin hierarchy; and writes the records as a
7//! Postgres `COPY` file with its schema, Photon or Pelias bulk NDJSON, or a
8//! `.glx` file whose search part geolith servers read.
9
10pub mod areas;
11pub mod dedup;
12pub mod division;
13pub mod error;
14pub mod importance;
15pub mod osm;
16pub mod output;
17pub mod overture;
18pub mod pipeline;
19pub mod place_importance;
20pub mod record;
21pub mod rings;
22pub mod shape;
23pub mod synonyms;
24
25pub use geolith::admin;
26pub use geolith::admin::india;
27
28pub use error::SearchError;
29pub use options::{PgIndexFlavor, SearchOptions};
30pub use pipeline::run;
31
32mod options;