Skip to content

Commit

Permalink
Merge pull request #4366 from openstreetmap/volcano
Browse files Browse the repository at this point in the history
Adding volcano status and volcano type
  • Loading branch information
bhousel authored Sep 22, 2017
2 parents c1ed8d3 + b8e4bee commit 8d50e74
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 2 deletions.
20 changes: 20 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,26 @@ en:
house: Up to 5m (16ft)
# visibility=street
street: 5 to 20m (16 to 65ft)
volcano/status:
# 'volcano:status=*'
label: Volcano Status
options:
# 'volcano:status=active'
active: Active
# 'volcano:status=dormant'
dormant: Dormant
# 'volcano:status=extinct'
extinct: Extinct
volcano/type:
# 'volcano:type=*'
label: Volcano Type
options:
# 'volcano:type=scoria'
scoria: Scoria
# 'volcano:type=shield'
shield: Shield
# 'volcano:type=stratovolcano'
stratovolcano: Stratovolcano
wall:
# wall=*
label: Type
Expand Down
24 changes: 24 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1952,6 +1952,30 @@
}
}
},
"volcano/status": {
"key": "volcano:status",
"type": "combo",
"label": "Volcano Status",
"strings": {
"options": {
"active": "Active",
"dormant": "Dormant",
"extinct": "Extinct"
}
}
},
"volcano/type": {
"key": "volcano:type",
"type": "combo",
"label": "Volcano Type",
"strings": {
"options": {
"stratovolcano": "Stratovolcano",
"shield": "Shield",
"scoria": "Scoria"
}
}
},
"wall": {
"key": "wall",
"type": "combo",
Expand Down
12 changes: 12 additions & 0 deletions data/presets/fields/volcano/status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "volcano:status",
"type": "combo",
"label": "Volcano Status",
"strings": {
"options": {
"active": "Active",
"dormant": "Dormant",
"extinct": "Extinct"
}
}
}
12 changes: 12 additions & 0 deletions data/presets/fields/volcano/type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "volcano:type",
"type": "combo",
"label": "Volcano Type",
"strings": {
"options": {
"stratovolcano": "Stratovolcano",
"shield": "Shield",
"scoria": "Scoria"
}
}
}
4 changes: 3 additions & 1 deletion data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10592,7 +10592,9 @@
"icon": "volcano",
"fields": [
"name",
"elevation"
"elevation",
"volcano/status",
"volcano/type"
],
"geometry": [
"point",
Expand Down
4 changes: 3 additions & 1 deletion data/presets/presets/natural/volcano.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"icon": "volcano",
"fields": [
"name",
"elevation"
"elevation",
"volcano/status",
"volcano/type"
],
"geometry": [
"point",
Expand Down
16 changes: 16 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2290,6 +2290,22 @@
"area": "Over 20m (65ft)"
}
},
"volcano/status": {
"label": "Volcano Status",
"options": {
"active": "Active",
"dormant": "Dormant",
"extinct": "Extinct"
}
},
"volcano/type": {
"label": "Volcano Type",
"options": {
"stratovolcano": "Stratovolcano",
"shield": "Shield",
"scoria": "Scoria"
}
},
"wall": {
"label": "Type"
},
Expand Down

0 comments on commit 8d50e74

Please sign in to comment.