Skip to content

Commit

Permalink
Merge pull request #327 from openstreetmap/golf-cartpath
Browse files Browse the repository at this point in the history
change default highway value for golf cart paths to "path"
  • Loading branch information
tyrasd authored May 20, 2022
2 parents 72c1189 + b41923c commit 406c147
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
12 changes: 12 additions & 0 deletions data/fields/highway_cartpath.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "highway",
"type": "typeCombo",
"label": "Type of Path",
"strings": {
"options": {
"path": "Cartpath",
"service": "Service Road"
}
},
"autoSuggestions": false
}
9 changes: 7 additions & 2 deletions data/presets/golf/cartpath.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"icon": "temaki-golf_cart",
"fields": [
"name",
"highway_cartpath",
"{golf/path}",
"maxspeed"
],
Expand All @@ -12,8 +14,11 @@
},
"addTags": {
"golf": "cartpath",
"golf_cart": "designated",
"highway": "service"
"highway": "path",
"golf_cart": "yes"
},
"terms": [
"cartpath"
],
"name": "Golf Cartpath"
}
7 changes: 5 additions & 2 deletions data/presets/golf/path.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"surface",
"width",
"structure",
"access",
"incline"
],
"geometry": [
Expand All @@ -15,8 +16,10 @@
},
"addTags": {
"golf": "path",
"highway": "path",
"foot": "designated"
"highway": "footway"
},
"terms": [
"golf path"
],
"name": "Golf Walking Path"
}
10 changes: 10 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,14 @@ en:
highway:
# highway=*
label: Type
highway_cartpath:
# highway=*
label: Type of Path
options:
# highway=path
path: Cartpath
# highway=service
service: Service Road
historic:
# historic=*
label: Type
Expand Down Expand Up @@ -5808,6 +5816,7 @@ en:
golf/cartpath:
# golf=cartpath | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Golf Cartpath
# 'terms: cartpath'
terms: <translate with synonyms or related terms for 'Golf Cartpath', separated by commas>
golf/clubhouse:
# golf=clubhouse | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
Expand Down Expand Up @@ -5838,6 +5847,7 @@ en:
golf/path:
# golf=path | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Golf Walking Path
# 'terms: golf path'
terms: <translate with synonyms or related terms for 'Golf Walking Path', separated by commas>
golf/rough:
# golf=rough | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
Expand Down

0 comments on commit 406c147

Please sign in to comment.