Skip to content

Commit

Permalink
add deprecation and new tag for (naval) military bases, closes #510
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Jun 22, 2022
1 parent 1e75779 commit 9d3204d
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
5 changes: 5 additions & 0 deletions data/fields/military_service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "military_service",
"type": "combo",
"label": "Military Service"
}
31 changes: 31 additions & 0 deletions data/presets/landuse/military/base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"icon": "temaki-anchor_medal",
"fields": [
"name",
"military_service"
],
"geometry": [
"point",
"area"
],
"tags": {
"military": "base"
},
"addTags": {
"landuse": "military",
"military": "base"
},
"terms": [
"air force",
"army",
"base",
"border guard",
"coast guard",
"fight",
"force",
"guard",
"troop",
"war"
],
"name": "Military Base"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"area"
],
"tags": {
"military": "naval_base"
"military": "base",
"military_service": "navy"
},
"addTags": {
"landuse": "military",
"military": "naval_base"
"military": "base",
"military_service": "navy"
},
"terms": [
"base",
Expand Down
13 changes: 13 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,9 @@ en:
label: Microbrewery
# 'terms: brewpub,craft beer'
terms: '[translate with synonyms or related terms for ''Microbrewery'', separated by commas]'
military_service:
# military_service=*
label: Military Service
mimics:
# mimics=*
label: Mimics
Expand Down Expand Up @@ -6658,6 +6661,16 @@ en:
name: Barracks
# 'terms: air force,army,base,fight,force,guard,marine,navy,troop,war'
terms: <translate with synonyms or related terms for 'Barracks', separated by commas>
landuse/military/base:
# military=base | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Military Base
# 'terms: air force,army,base,border guard,coast guard,fight,force,guard,troop,war'
terms: <translate with synonyms or related terms for 'Military Base', separated by commas>
landuse/military/base/navy:
# military=base + military_service=navy | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Naval Base
# 'terms: base,fight,force,guard,marine,navy,ship,sub,troop,war'
terms: <translate with synonyms or related terms for 'Naval Base', separated by commas>
landuse/military/danger_area:
# military=danger_area | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Danger Area
Expand Down

0 comments on commit 9d3204d

Please sign in to comment.