Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regional Preset: highway=path for foot+bicycle in Israel #1062

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/fields/mtb/name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "mtb:name",
"type": "localized",
"label": "Mountain Biking Name",
"placeholder": "MTB name (if any)"
}
5 changes: 5 additions & 0 deletions data/fields/oneway/mtb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "oneway:mtb",
"type": "check",
"label": "One Way (Mountain Bike)"
}
58 changes: 58 additions & 0 deletions data/presets/highway/path/bicycle_foot-IL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"locationSet": {
"include": [
"il",
"ps"
]
},
"icon": "temaki-pedestrian_and_cyclist",
"fields": [
"mtb/name",
"segregated",
"name",
"mtb/scale",
"oneway/mtb"
],
"moreFields": [
"oneway",
"structure",
"smoothness",
"sac_scale",
"surface",
"width",
"access",
"incline"
],
"geometry": [
"line"
],
"tags": {
"highway": "path"
},
"addTags": {
"highway": "path",
"foot": "designated",
"bicycle": "designated"
},
"removeTags": {
"highway": "path",
"foot": "designated",
"bicycle": "designated",
"segregated": "*"
},
"terms": [
"bicycle and foot path",
"MTB and foot path",
"bike and pedestrian path",
"green way",
"greenway",
"mixed-use trail",
"multi-use trail",
"segregated trail",
"shared path",
"shared use path",
"rail trail"
],
"matchScore": 0.9,
"name": "Cycle & Foot Path"
}