Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.34k stars 3.36k forks source link

Routing on ferry #291

Closed sabas closed 11 years ago

sabas commented 12 years ago

I edited the ferry routes in North Mediterrean to fit the relation approach (http://wiki.openstreetmap.org/wiki/Tag:route%3Dferry) because I noticed they were a little bit messy and OSRM didn't behave correctly. I would ask: -when on ferry you can't change boat (OSRM gives indication like "Continue for 16 km" when on boat), I would expect something like "Take the ferry Genoa-Olbia" instead, where "Genoa - Olbia" is the name of the relation. Is it possible?

-On routing, why keeps routing me to Livorno when exists Genova-Olbia (or Porto Torres), also from Marseille? http://map.project-osrm.org/zy Probably is a problem in connection between route and mainland, but how to fix it? In Genoa I assumed it's something about access to the harbour, cause when I move starting position to inside the harbour zone it routes me on the ferry, BUT I must go through the Corse, instead there's the direct ferry from Genoa to Sardinia.

raphink commented 12 years ago

If you mean to go through Ajaccio from Marseille, it seems to me that the street in Ajaccio is not linked to the ferry route.

sabas commented 12 years ago

I saw you added them :) In harbours without access restrictions seems to behave correctly (Dover-Calais, Livorno-Bastia), in those with access restriction seems to prefer going to cities without them...

DennisOSRM commented 12 years ago

I'll have a look over the weekend.

DennisOSRM commented 11 years ago

Looking again at this issue, it appears that the harbor at the target is not properly accessible by car.

sabas commented 11 years ago

Hi Dennis, can you suggest a way to tag the access to fit OSRM need?

DennisOSRM commented 11 years ago

Yeah, so the main site only picks up what is accessible by car. If you look at one of the harbors, e.g. here, you see that the connections from the road network to the ferry are not accessible by car. Looking briefly at the satellite imagery it appears to be the right thing as cars are not allowed to get on the ferry.

sabas commented 11 years ago

http://osrm.at/411 Turn restrictions for ferries? :D

Example: in Genoa to take the ferry to Corse or Sardinia (per my experience) you have to go under the Terminal Traghetti, where are a lot of gates as in a toll motorway entrance...