Skip to content

Cycleways with bicycle=no but also mofa=yes|designated or moped=yes|designated should not raise a warning #484

@jdhoek

Description

@jdhoek

There is check in data/deprecated.json for the combination of bicycle=no and highway=bicycle:

{
    "old": {"highway": "cycleway", "bicycle": "no"},
    "replace": {"highway": "path", "bicycle": "no"}
},

This makes sense, and would usually point to a mapping error. However, in the Netherlands this raises this warning for a common feature on Dutch roads.

We have three variants of cycleways in our legal code. Two of them are relevant here: the G11 which is mandatory for bicycle and mofa, but forbidden for moped, and the G12a, which is mandatory for all three of these road user categories. When a cycleway switches from G11 to G12a or vice versa, mopeds use small links to move to or from the main road:

Screenshot from 2022-06-01 17-01-31

We've settled on the following tagging scheme for these links:

highway          cycleway
bicycle          no
foot             no
mofa             no
moped            designated
oneway           yes
traffic_sign     NL:D104 (or) NL:D103

This is the link shown on that photograph on the map.

These are still highway=cycleway in the Dutch context, because mopeds are one of the designated road user classes for cycleways in the Netherlands (provided it is signed with a G12a sign).

Is there a way to exclude these from the deprecation warning? That is, keep the check, but don't suggest it if either mofa or moped is set to a permissive value?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions