Skip to content

Encode road access per transportation mode #2460

@otbutz

Description

@otbutz

Our current implementation only stores the applicable RoadAccess for cars:

public OSMRoadAccessParser() {
this(new EnumEncodedValue<>(RoadAccess.KEY, RoadAccess.class), toOSMRestrictions(TransportationMode.CAR));
}

There is already an open issue regarding access handling(#1835) but it seems to be more focused on the FlagEncoder/Weighting perspective. Before we can tackle this, we'd need to figure out how we want to store parsed access restrictions for multiple transportation modes in the graph.

Without this we can't properly express truck routing via a CustomModel.

Related: #223

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