[GraphHopper] Bigger penalty for ferries?

Thomas Ferris Nicolaisen tfnico at gmail.com
Fri Dec 6 08:04:41 UTC 2013


On Tue, Dec 3, 2013 at 11:35 AM, Peter K <peathal at yahoo.de> wrote:
> You could try locally if this fixes the problem. But even if it does, we
> probably should think about a better solution.
>

Hi Peter, thanks for your help, the change seems to do the trick in this case.

Perhaps one could make some educated guess on how much time a
ferry-crossing will take based on the estimated_distance. But still,
there are so many other factors that can disrupt a ferry-crossing -
while this ferry in particular fares all day in either direction as
soon as it has loaded a few passengers, others follow a set schedule,
and a schedule which is limited to certain hours of the day at that.

Perhaps it would be possible to build multiple indexes/graphs, one
that accommodates avoiding ferries, another one that optimises for
distance instead of speed, etc.



More information about the GraphHopper mailing list