Skip to content

Make Blocking Edges/Areas pluggable like TurnWeighting #958

Closed

Description

@boldtrn

Blocking Edges/Areas is currently only possible with the GenericWeighting. It should be possible to extract that behavior into a pluggable weighting, like the TurnWeighting. This could be used for non ch requests for fastest or shortest weighting.

Implementing this should be straight forward. Move the blocking code from the GenericWeighting into a new class. It might be a good idea to extend the AbstractAdjustedWeighting.

Activity

  1. added
    good first issue
    on Feb 21, 2017
  2. changed the title [-]Make Blocking Edges/Areas pluggable like Turn Costs[/-] [+]Make Blocking Edges/Areas pluggable like TurnWeighting[/+] on Feb 21, 2017
  3. asdzxcasd commented on Apr 12, 2017

    @asdzxcasd

    I want to get started with graphhopper development, so I'm going to implement this improvement.

    I've implemented class BlockedWeighting that extends AbstractAdjustedWeighting, but I'm doubting about its name. Doesn't "forbidden" have more precise meaning than "blocked", so that the class is named ForbiddenWeighting?

  4. boldtrn commented on Apr 19, 2017

    @boldtrn
    MemberAuthor

    Hi @asdzxcasd, I am happy to hear that you picked up this issue :). I think blocked is a better match than forbidden. For example a road is blocked by an traffic accident or a road is blocked by flooding.

  5. added this to the 0.9 milestone on May 30, 2017
  6. self-assigned this
    on May 30, 2017
  7. karussell commented on May 31, 2017

    @karussell
    Member

    Fixed via #1078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueimprovement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions