Routing planner for electrically-powered vehicles, such as eCars or eBikes, based on OpenStreetMap data.
Visit the doc folder for further documentation, i.e. a presentation and a paper about this project.
Run the bash script in the project root via sudo ./build.sh
.
This also installs the necessary dependencies.
Run make
in project root.
- Run the executable in the project root and provide a *.osm.pbf file as argument, e.g. via
./maps germany-latest.osm.pbf
- Open http://localhost:8000/ in the browser.
The first run will parse the provided *.osm.pbf file and save the result as binary. Subsequent runs will only load the precomputed binary.
- Execute
cargo run
in the backend folder root and provide a *.osm.pbf file as argument, e.g.cargo run target/germany-latest.osm.pbf
- Run
npm start
in the frontend folder root. - Open http://localhost:3000/ in the browser.
The first run will parse the provided *.osm.pbf file and save the result as binary. Subsequent runs will only load the precomputed binary.
- Select transportation mode (car/bike)
- Select shortest path by travel time or travel distance
- Enter current range and maximum range in kilometres (fully charged) of your e-Vehicle. Please make sure to enter reasonable values for the ranges.
- Set start and goal via the search box or by left-clicking on map
- Click "Go"
- If a new route should be computed, click "Reset" or right-click on the map to reset
- To display all available charging stations, click "Show Charging Stations", and to hide them "Hide Charging Stations".