The most important tools and libraries used are:
- Flask
- Dijkstra library
- Overpass API
TBD
- Setup a Flask server
flask --app src/route_api run
Single test:
pytest test/test_display_map.py::test_create_graph_one_edge
All tests:
pytest test/
- Open the site in a browser.
- Scroll the Map to the position you want to get your way.
- Click two points on the map, where you want to have your start and end point. You can also drag the start and end points to another position.
- On Path Priority, select if you want the quietest path or the shortest one.
- Click on Submit to view the result.
Thank you to the project Ophois. Part of my code has been translated and adapted from it.
Also thank you so much to Bob from PyBites for the excellent coaching, thus helping me make this project possible.