Skip to content

Edge-based routing without turn cost supporting encoder #1695

Closed

Description

@easbar

When we specify edge_based=true but the encoder does not have |turn_costs=true we get an edge-based algorithm, but the weighting will not be wrapped by TurnWeighting. U-turns will then not be prevented properly.

Should we throw an error if edge_based=true, but !encoder.supports(TurnWeighting.class) ?

Activity

  1. karussell commented on Aug 26, 2019

    @karussell
    Member

    Should we throw an error if edge_based=true

    Yes, sounds fine.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions