Skip to content

Commit

Permalink
Add historic=tomb preset and tomb=* field
Browse files Browse the repository at this point in the history
(re: #3439)
  • Loading branch information
bhousel committed Mar 2, 2017
1 parent 23f9431 commit 0c1194b
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,9 @@ en:
toll:
# toll=*
label: Toll
tomb:
# tomb=*
label: Type
tourism:
# tourism=*
label: Type
Expand Down Expand Up @@ -2693,6 +2696,10 @@ en:
# historic=ruins
name: Ruins
terms: '<translate with synonyms or related terms for ''Ruins'', separated by commas>'
historic/tomb:
# historic=tomb
name: Tomb
terms: '<translate with synonyms or related terms for ''Tomb'', separated by commas>'
historic/wayside_cross:
# historic=wayside_cross
name: Wayside Cross
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,11 @@
"type": "check",
"label": "Toll"
},
"tomb": {
"key": "tomb",
"type": "typeCombo",
"label": "Type"
},
"tourism": {
"key": "tourism",
"type": "typeCombo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/tomb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "tomb",
"type": "typeCombo",
"label": "Type"
}
15 changes: 15 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5888,6 +5888,21 @@
},
"name": "Ruins"
},
"historic/tomb": {
"icon": "cemetery",
"fields": [
"tomb",
"building_area"
],
"geometry": [
"point",
"area"
],
"tags": {
"historic": "tomb"
},
"name": "Tomb"
},
"historic/wayside_cross": {
"icon": "religious-christian",
"geometry": [
Expand Down
15 changes: 15 additions & 0 deletions data/presets/presets/historic/tomb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"icon": "cemetery",
"fields": [
"tomb",
"building_area"
],
"geometry": [
"point",
"area"
],
"tags": {
"historic": "tomb"
},
"name": "Tomb"
}
4 changes: 4 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,10 @@
"key": "historic",
"value": "ruins"
},
{
"key": "historic",
"value": "tomb"
},
{
"key": "historic",
"value": "wayside_cross"
Expand Down
7 changes: 7 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,9 @@
"toll": {
"label": "Toll"
},
"tomb": {
"label": "Type"
},
"tourism": {
"label": "Type"
},
Expand Down Expand Up @@ -3115,6 +3118,10 @@
"name": "Ruins",
"terms": ""
},
"historic/tomb": {
"name": "Tomb",
"terms": ""
},
"historic/wayside_cross": {
"name": "Wayside Cross",
"terms": ""
Expand Down

0 comments on commit 0c1194b

Please sign in to comment.