[Routing] Ferry routing

James Hiebert james at hiebert.name
Wed Jul 25 17:57:06 BST 2012


Yes, the route(s) in question are tagged with route=ferry and are connected with the road network via one node (on each end) which are tagged with amenity=ferry_route.  Now that I'm looking closely at it though, one of the routes in question is connected via a single segment way which is attributed with (man_made=pier).

way 155099026 (highway=residential) to way 155099140 (route=ferry) to way 155366127 (man_made=pier)

I'll add a highway=residential on way 155366127 and hopefully that will fix that route.

However, there's another regional ferry route which _is_ connected to the road network, but isn't being routed across.

way 5914611 (highway=residential) to way 5918808 (route=ferry) to way 5903243 (route=ferry) to way 5904227 (highway=secondary).  An example of the (incorrect) route is here:
http://maps.cloudmade.com/?lat=47.835283&lng=-122.426147&zoom=9&directions=48.11213057743938,-122.76045799255371,48.15964474913805,-122.67261028289795&travel=car&styleId=1&opened_tab=1
Is the problem that there are two ferry segments?  Should simply combining them fix the routing?

Many thanks for the help.

~James


On Tue, Jul 24, 2012 at 11:45:14PM +0200, Christian Vetter wrote:
> Hi,
> 
> The ferry line itself should always be tagged with route=ferry.
> Furthermore the end point have to be connected to the road network,
> i.e., sharing at least one node with a highway=XXX tagged way. It
> shouldn't matter whether the end points are tagged with ferry_terminal
> or not.
> 
> Best regards,
> 
> Christian Vetter
> 
> On Tue, Jul 24, 2012 at 11:35 PM, James Hiebert <james at hiebert.name> wrote:
> > All,
> >
> > I live on an island in British Columbia, Canada, and many routes that I want to take are going to cross a ferry at some point.  I've been having problems routing over ferries with routing servies (Cloudmade or Open Mapquest) who use OSM.  Oddly it seems to correctly route over ferries attributed with route=ferry, but not ferries where the end points are attributed with (presumably correct) amenity=ferry_terminal.  Which is correct?  Is there a bug in the routing, or should the ferry routes/terminals be attributed differently?
> >
> > Cheers,
> >
> > ~James



More information about the Routing mailing list