This crate reads an OpenStreetMap XML or PBF file, letting the caller ignore the details about the format. It returns all nodes, ways, and relations in a format convenient for further stream processing. The heavy lifting is done by roxmltree and osmpbf.
Status: under development. Use osmio for something more feature-rich and mature.
TODO before a crates.io release:
- Use the lower-level xmlparser approach from osm2streets to minimize memory
- Other TODOs in the code
- Tests, docs, examples