This web application allows users to find waypoints along a sea route between an origin and a destination. The waypoints and the route are displayed on a map together with the total distance.
Clone the repository:
git clone https://github.com/captv89/seaRoute.git
Navigate to the project directory:
cd seaRoute
Install the dependencies:
go get github.com/gin-gonic/gin github.com/pitchinnate/golangGeojsonDijkstra github.com/kellydunn/golang-geo
Start the server:
go run main.go
Open your browser and navigate to http://localhost:8080 to use the application.
- Enter the latitude and longitude of the origin and destination in the form.
- Click the "Calculate" button to retrieve the waypoints and the route.
- The waypoints, route details and the total distance will be displayed in the map on clicking the waypoint and route respectively.
Marnet Dataset from the searoute project by eurostat.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.