Skip to content

Too small duration for ferry #1256

Closed
Closed

Description

@karussell

This ferry should not be used and probably instead this alternative. See osm way

Activity

  1. boldtrn commented on Jan 3, 2018

    @boldtrn
    Member

    Do you think this is a general ferry problem, so that we should increase the ferry duration globally or should we fix this in osm?

  2. karussell commented on Jan 3, 2018

    @karussell
    MemberAuthor

    I think this is only necessary for short distance ferries. But the problem is that a time offset is not that easy and reducing the speed is the only option although this is already at 4km/h (this was easy to find out, due to the new path details feature :)). So let's try if distance<500m speed=minimum or something

  3. karussell commented on Jan 8, 2018

    @karussell
    MemberAuthor

    Currently we do

    if (durationInHours == 0)
     return UNKNOWN_DURATION_FERRY_SPEED;

    What if we do a slight reduction (if possible) for short ferries?

    if (estimatedLength < 300)
      return speedEncoder.factor / 2;
    else
      return UNKNOWN_DURATION_FERRY_SPEED;
  4. boldtrn commented on Jan 9, 2018

    @boldtrn
    Member

    What if we do a slight reduction (if possible) for short ferries?

    For the default car profile with speed factor of 5 and UNKNOWN_DURATION_FERRY_SPEED of 5, this would not change anything. If we would change the speed factor or use a different encoder this would fix the issue.

    I created a PR that shows how it could look #1264.

  5. added this to the 0.10 milestone on Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions