Some experiments with OpenStreetMap and Rust.
git clone https://github.com/stepankuzmin/osm-router.git
cd osm-router
wget moscow.osm.pbf
cargo run -- moscow.osm.pbf
open debug.html
- Reading OSM PBF
- Graph building
- Graph serealization/deserealization
- Simple edge weight calculating
- Spatial index for nodes lookup
- Simple routing
- GeoJSON input/output
- Web server
- Web UI