Quantimize is a map intelligence CLI that pulls real OpenStreetMap road networks, stores them as reusable GraphML datasets, and turns them into interactive HTML maps with route overlays.
It is fast to run, easy to inspect, and already useful for routing experiments and geospatial demos.
- Download road networks for any place supported by OSM (
drive,walk, etc.). - Save networks as GraphML for reuse and offline analysis.
- Keep a local dataset catalog with node/edge counts.
- Generate interactive Folium map visualizations.
- Compute shortest paths by estimated travel time and render the route.
- Python
- OSMnx + NetworkX
- Folium
- GeoPandas + Shapely
- Install uv.
- From this folder, create and activate a virtual environment:
- Windows PowerShell:
uv venv .\.venv\Scripts\Activate.ps1
- macOS/Linux:
uv venv source .venv/bin/activate
- Windows PowerShell:
- Install dependencies:
uv pip install -r requirements.txt
python main.py -hpython main.py --listpython main.py --download --place_name "Pune, India" --network_type drivepython main.py --visualize --place_name "Pune, India" --network_type drive --sample_edges 2000python main.py --visualize --place_name "Pune, India" --network_type drive \
--start_lat 18.5204 --start_lon 73.8567 \
--end_lat 18.5314 --end_lon 73.8446This creates an HTML map in mapdata/downloads/ and opens it in your browser.
quantimize/
main.py
requirements.txt
mapdata/
down.py
catalog.py
visualize.py
downloads/ # generated GraphML + HTML output
catalog.json # generated local index