Skip to content

Commit

Permalink
Add preset for highway=speed_camera
Browse files Browse the repository at this point in the history
(closes #3809)
  • Loading branch information
bhousel committed Mar 2, 2017
1 parent be07dcc commit a6e1e06
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2612,6 +2612,10 @@ en:
name: Service Area
# 'terms: services,travel plaza,service station'
terms: '<translate with synonyms or related terms for ''Service Area'', separated by commas>'
highway/speed_camera:
# highway=speed_camera
name: Speed Camera
terms: '<translate with synonyms or related terms for ''Speed Camera'', separated by commas>'
highway/steps:
# highway=steps
name: Steps
Expand Down
14 changes: 14 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5517,6 +5517,20 @@
],
"name": "Service Area"
},
"highway/speed_camera": {
"icon": "attraction",
"geometry": [
"point"
],
"fields": [
"ref"
],
"tags": {
"highway": "speed_camera"
},
"terms": [],
"name": "Speed Camera"
},
"highway/steps": {
"icon": "highway-steps",
"fields": [
Expand Down
15 changes: 15 additions & 0 deletions data/presets/presets/highway/speed_camera.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"icon": "attraction",
"geometry": [
"point"
],
"fields": [
"ref"
],
"tags": {
"highway": "speed_camera"
},
"terms": [
],
"name": "Speed Camera"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,10 @@
"key": "highway",
"value": "services"
},
{
"key": "highway",
"value": "speed_camera"
},
{
"key": "highway",
"value": "steps"
Expand Down
4 changes: 4 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3044,6 +3044,10 @@
"name": "Service Area",
"terms": "services,travel plaza,service station"
},
"highway/speed_camera": {
"name": "Speed Camera",
"terms": ""
},
"highway/steps": {
"name": "Steps",
"terms": "stairs,staircase"
Expand Down

0 comments on commit a6e1e06

Please sign in to comment.