Skip to content

Add distinct per-mode reluctance parameters #3501

Description

@flaktack

Currently RoutingRequest contains a single walkReluctance which is used for multiple things:

  • walk reluctance
  • bike reluctance
  • car reluctance
  • bike walking reluctance

Separating this into four different parameters would make it easier to modify the costs for on-street searches. This is useful for P+R or bike rental searches which have multiple modes with different costs.

Somewhat related adding a bikeWalkingSpeed would simplify the bike walking implementation and allow removing RoutingRequest#bikeWalkingOptions.

Related to: #3495 #3404

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions