Repository for 'Fachpraktikum Algorithms on OpenStreetMap data' at University Stuttgart by Albi Mema and Matthias Weilinger
At first, you have to install golang on your System.
Version 1.18 is recommended.
For ubuntu you can follow this blog post.
1. Navigate into the project folder, so that you are in the directory OSM.
2. Build the project with command: go build ./src/main.go
3. Run project with command: ./main {pathToPbfFile}
4. You can find the resulting fmi file in the same direcory as your pbf file.
1. Navigate into the project folder, so that you are in the directory OSM.
2. Build the project with command: go build ./src/mainWeb.go
3. Ron project with command: ./mainWeb {pathToFmiFile}
4. The GUI can be found at localhost/8081
- In your browser navigate to localhost/8081
- To set a starting point just click anywhere on the map
- To create a ending point click anywhere on the map
- Both points will snap to the closest point in water that was created in Task 3
- Immediately after setting a ending point a shortest path will be drawn on the map
- When clicking on the marker or on the line more information will be displayed
- To plan a new route just click anywhere on the map and a new starting point will be set