Skip to content

Commit

Permalink
Add deprecation rules for cycleway=opposite and rename field strings (
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans authored Dec 29, 2024
1 parent 9c7d193 commit 9aeafb1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -2103,5 +2103,13 @@
{
"old": {"industrial": "brickworks"},
"replace": {"industrial": "brickyard"}
},
{
"old": {"cycleway": "opposite"},
"replace": {"oneway:bicycle": "no", "cycleway:both": "no"}
},
{
"old": {"cycleway:left": "opposite"},
"replace": {"oneway:bicycle": "no", "cycleway:left": "no"}
}
]
16 changes: 8 additions & 8 deletions data/fields/cycleway.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
"title": "Bike Lane Shared With Bus",
"description": "A bike lane shared with a bus lane"
},
"opposite_lane": {
"title": "Opposite Bike Lane",
"description": "A bike lane that travels in the opposite direction of traffic"
},
"opposite": {
"title": "Contraflow Bike Lane",
"description": "A bike lane that travels in both directions on a one-way street"
},
"separate": {
"title": "Cycleway Mapped Separately",
"description": "Indicates that cycleway was mapped as a separate geometry"
},
"opposite_lane": {
"title": "(Deprecated) Opposite Bike Lane",
"description": "Please update with oneway, oneway:bicycle, and cycleway:left/right=lane etc."
},
"opposite": {
"title": "(Deprecated) Contraflow Bike Lane",
"description": "Please update with oneway=yes, oneway:bicycle=no, and cycleway:both=no etc."
}
}
},
Expand Down

0 comments on commit 9aeafb1

Please sign in to comment.