Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.49 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.49 KB

Short Sea Route Finder

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.

Screenshot

Prerequisites

Installation

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.

Usage

  • 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.

References

Marnet Dataset from the searoute project by eurostat.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.