Skip to content

Commit

Permalink
[regional] add support for moped links in the NL (#484)
Browse files Browse the repository at this point in the history
* adds NL-specific preset for "moped links" (highway=cycleway + bicycle=no + moped=designated)
* drop deprecation rule for `highway=cycleway` + `bicycle=no`
  • Loading branch information
tyrasd committed Jun 22, 2022
1 parent febe27d commit 1e75779
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
4 changes: 0 additions & 4 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,6 @@
"old": {"highway": "bridleway", "horse": "no"},
"replace": {"highway": "path", "horse": "no"}
},
{
"old": {"highway": "cycleway", "bicycle": "no"},
"replace": {"highway": "path", "bicycle": "no"}
},
{
"old": {"highway": "cycleway", "cycleway": "track"},
"replace": {"highway": "cycleway"}
Expand Down
35 changes: 35 additions & 0 deletions data/presets/highway/cycleway/moped_link-NL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"locationSet": {
"include": [
"nl"
]
},
"icon": "fas-moped",
"fields": [
"name",
"oneway",
"surface",
"smoothness",
"width",
"structure",
"access",
"incline"
],
"geometry": [
"line"
],
"tags": {
"highway": "cycleway",
"bicycle": "no",
"moped": "designated"
},
"addTags": {
"highway": "cycleway",
"bicycle": "no",
"moped": "designated",
"foot": "no",
"mofa": "no"
},
"matchScore": 0.9,
"name": "Moped Link"
}
4 changes: 4 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6065,6 +6065,10 @@ en:
name: Unmarked Cycle Crossing
# 'terms: cycle path crossing,cycleway crossing,bicycle crossing,bike crossing'
terms: <translate with synonyms or related terms for 'Unmarked Cycle Crossing', separated by commas>
highway/cycleway/moped_link-NL:
# highway=cycleway + bicycle=no + moped=designated | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Moped Link
terms: <translate with synonyms or related terms for 'Moped Link', separated by commas>
highway/elevator:
# highway=elevator | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Elevator
Expand Down

0 comments on commit 1e75779

Please sign in to comment.