Skip to content

Eliminate child RoutingRequest for walking bicycles? #1130

@abyrd

Description

@abyrd

We have multiple routing requests within a single request to handle walking bikes: see bikeWalkingOptions in RoutingRequest. I believe this is a remnant of a past era when RoutingRequests only contained a few options for traversing streets.

Besides being a bit strange semantically, this creates concerns about recursively calling methods. Might it make more sense to have parameters for how much slower/harder walking a bike is and keep them in the main RoutingRequest?

Also: for some reason bicycle walking options are being created when getDriving() is true. Why is this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    !ImprovementA functional improvement or micro featureStaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions