WARNING: This repo is not ready for general use. The API and input/output formats will keep changing. There are big limitations not yet documented.
od2net helps you turn origin/destination data about where people travel into a cycling network plan. You can use this to decide what streets to prioritize for safety improvements.
- You specify origins and destinations of trips that cyclists take today or of short trips taken by car
- You specify how cyclists would like to choose routes. Are fast/direct routes important, or sticking to quiet streets? Do you want to route near greenspace and shops?)
- od2net calculates routes very quickly, counting how many routes cross every street
- You use the web viewer to look at the most popular streets, filtering for streets that don't have good cycling infrastructure today
You can quickly try out od2net without installing anything:
Once you're ready to run in a large area with your own origin/destination data, then start with the tutorial and see all documentation. Again note this project status is still pre-alpha; docs are not all written yet.
cargo install --locked --git https://github.com/Urban-Analytics-Technology-Platform/od2net
You can run the application with Docker, e.g. as follows:
sudo docker run -v $(pwd):/app ghcr.io/urban-analytics-technology-platform/od2net:main /app/config.json
See Python scripts in the examples directory, as described in the tutorial.
There is a small R package with functions to help generate the input files needed by od2net. See documentation here.
We'd love contributions of all sorts -- developers, designers, data scientists, and applying it somewhere new! Check out GitHub Issues, file a new one, or email [email protected] to get started.
This project follows the Rust code of conduct and is Apache 2.0 licensed. See all credits.