pub fn read_pbf_multi(
path: impl AsRef<Path>,
network_types: &[NetworkType],
) -> Result<(HashMap<NetworkType, XmlData>, HashSet<i64>), OsmGraphError>Expand description
Read a PBF file once and produce one XmlData per requested network type,
plus the set of node IDs that are POIs (POIs are network-type-independent).
This avoids re-reading the PBF for each network type — useful at server startup when you want walk/bike/drive graphs for the same region.