A couple of things I'm seeing here:
The ferry does not have a duration tag so you will get default speeds; you could add duration data to http://www.openstreetmap.org/way/81817423#map=17/46.69224/7.90466&layers=D The default profiles set speed for ferries but they do not (yet) modify weights for ferries; you can set realistic speeds and independently change routing weights now; see https://www.openstreetmap.org/user/happygo/diary/40564 Related: we optimize on weight and not on speed; even though the road could be faster it can have a high weight penalty on it; check weight responses in http://project-osrm.org/docs/v5.10.0/api/#result-objects Hope that helps, Daniel J H On Wed, Nov 1, 2017 at 12:35 PM, michael spreng <[email protected]> wrote: > Hi > > We have a problem on routing.osm.ch, that a ferry is used too often, > even though I set the speed of the ferry very low, such that it should > only be used if there is an exceptionally long detour without it. Here > > http://routing.osm.ch/?z=14¢er=46.696227%2C7.941270& > loc=46.709618%2C7.962899&loc=46.688088%2C7.898548&hl=en&alt=0&srv=2 > > I would assume that it takes the road along the shore, because it has a > four times faster speed. But the routing uses the ferry never the less. > See https://routing.osm.ch/debug/bike-touring.html#14/46.6975/7.9469 for > the speeds. > > Another problem I have is with the foot profile, where the ferry does > not show up in debug: > https://routing.osm.ch/debug/foot.html#14.42/46.7076/7.9472 > > But it is obviously in the routing graph, because again it gets > preferred to the way along the shore: > > http://routing.osm.ch/?z=14¢er=46.697464%2C7.946935& > loc=46.709618%2C7.962899&loc=46.688088%2C7.898548&hl=en&alt=0&srv=3 > > The profiles can be seen here: > https://github.com/sosm/cbf-routing-profiles > > Does someone have some insight on what I'm doing wrong? > > Michael > > _______________________________________________ > OSRM-talk mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/osrm-talk >
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
