Expand description
Read OpenStreetMap PBF files into the same intermediate shape produced by the Overpass XML parser. This lets the rest of the pipeline (graph building, POI extraction) work unchanged whether the data came from live Overpass or a local PBF file.
Functionsยง
- read_
pbf - Read a PBF file and produce an
XmlData(the canonical intermediate shape our graph builder consumes) plus the set of node IDs that are POIs. - read_
pbf_ multi - Read a PBF file once and produce one
XmlDataper requested network type, plus the set of node IDs that are POIs (POIs are network-type-independent).