OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
builder.poi_index Namespace Reference

Build the renderer-independent OpenRoadCode offline search database from OSM. More...

Functions

str|None _transit_mode (dict[str, str] tags)
 Normalize OSM transit tags into the modes exposed by OpenRoadCode.
dict[str, int] build_search_index (Path source_pbf, Path destination)
 Build POI, address, street, and place indexes from one OSM extract.
int build_poi_index (Path source_pbf, Path destination)
 Compatibility wrapper for callers that still request a POI-only index.

Detailed Description

Build the renderer-independent OpenRoadCode offline search database from OSM.