Expand description
geolith-search-builder: Overture and OSM data to a geocoding index.
run reads Overture places, addresses and divisions and, optionally, an
OSM PBF; resolves each record’s admin hierarchy; and writes the records as a
Postgres COPY file with its schema, Photon or Pelias bulk NDJSON, or a
.glx file whose search part geolith servers read.
Re-exports§
pub use error::SearchError;pub use pipeline::run;
Modules§
- admin
- Admin hierarchy resolution by point-in-polygon lookup.
- areas
- OSM areas that are relations: named venue multipolygons and named administrative boundaries.
- dedup
- OSM-against-Overture dedup with bounded memory.
- division
- Overture
divisions/divisionpoints → geocoding records. - error
- The error of the geocoding build.
- importance
- Place importance, as Nominatim computes it.
- india
- India’s legal boundary (Survey of India) in the admin index.
- osm
- OSM feature →
GeocodingRecordbuilders, and dedup against Overture. - output
- Geocoding output format serializers.
- overture
- Overture feature →
GeocodingRecordbuilders. - pipeline
- Geocoding pipeline orchestration.
- place_
importance - The importance of a settlement: its Wikipedia row, or a floor from what the inputs say it is.
- record
- Geocoding record type and
search_textbuilder. - rings
- Rings from the ways of an OSM multipolygon or boundary relation.
- shape
- Place outlines for the
.glxfile. - synonyms
- Other words people search a place by: “collector office” for a Collectorate, “government” for “Govt.”, “cinema” for a talkies.
Structs§
- Search
Options - What one search build reads and writes.
Enums§
- PgIndex
Flavor - Text index to build over the geocoding
search_textcolumn.