eurostat / searoute

Compute shortest maritime routes between ports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem getting route to pass through a strait

mario-ciranni-onair opened this issue · comments

Hi,

I have successfully set up and made the searoute package run as a webservice with tomcat9, however after some tests it seems like the algorithm cannot find the shortest path when passing through a strait, e.g. from a Mediterranean port to someport outside of the Mediterranean sea. Finding a route between 2 ports within the Mediterranean sea is totally fine instead.

I have also noticed that the example you propose in your welcome webpage displays the message {"status":"error","message":"Shortest path not found"} (even though if I click on "sea on Map" I can visualize the path correctly). So I think is a problem not only relevant to the Gibraltar strait.
Moreover, if I do the same test through your web service (https://searoute.captv.ovh/) everything is totally ok.
Am I missing something in the query string while making the http request ?

If you could provide some insights into this it would be much appreciated, thanks:)

A HTTP request example might be: "http://localhost:8080/searoute-war/seaws?opos=8.909109,44.40355&dpos=-80.2187,25.7529" . Origin port is Genova,Italy and destination port is Miami,FL,USA