Skip to content

Commit 49f529e

Browse files
committed
add deprecation and new tag for (naval) military bases, closes #510
1 parent 1e75779 commit 49f529e

File tree

4 files changed

+53
-7
lines changed

4 files changed

+53
-7
lines changed

data/fields/military_service.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "military_service",
3+
"type": "combo",
4+
"label": "Military Service"
5+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"icon": "temaki-anchor_medal",
3+
"fields": [
4+
"name",
5+
"military_service"
6+
],
7+
"geometry": [
8+
"point",
9+
"area"
10+
],
11+
"tags": {
12+
"military": "base"
13+
},
14+
"addTags": {
15+
"landuse": "military",
16+
"military": "base"
17+
},
18+
"terms": [
19+
"air force",
20+
"army",
21+
"base",
22+
"border guard",
23+
"coast guard",
24+
"fight",
25+
"force",
26+
"guard",
27+
"troop",
28+
"war"
29+
],
30+
"name": "Military Base"
31+
}

data/presets/landuse/military/naval_base.json renamed to data/presets/landuse/military/base/navy.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
"area"
99
],
1010
"tags": {
11-
"military": "naval_base"
11+
"military": "base",
12+
"military_service": "navy"
1213
},
1314
"addTags": {
1415
"landuse": "military",
15-
"military": "naval_base"
16+
"military": "base",
17+
"military_service": "navy"
1618
},
1719
"terms": [
1820
"base",

interim/source_strings.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,6 +1804,9 @@ en:
18041804
label: Microbrewery
18051805
# 'terms: brewpub,craft beer'
18061806
terms: '[translate with synonyms or related terms for ''Microbrewery'', separated by commas]'
1807+
military_service:
1808+
# military_service=*
1809+
label: Military Service
18071810
mimics:
18081811
# mimics=*
18091812
label: Mimics
@@ -6658,16 +6661,21 @@ en:
66586661
name: Barracks
66596662
# 'terms: air force,army,base,fight,force,guard,marine,navy,troop,war'
66606663
terms: <translate with synonyms or related terms for 'Barracks', separated by commas>
6664+
landuse/military/base:
6665+
# military=base | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
6666+
name: Military Base
6667+
# 'terms: air force,army,base,border guard,coast guard,fight,force,guard,troop,war'
6668+
terms: <translate with synonyms or related terms for 'Military Base', separated by commas>
6669+
landuse/military/base/navy:
6670+
# military=base + military_service=navy | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
6671+
name: Naval Base
6672+
# 'terms: base,fight,force,guard,marine,navy,ship,sub,troop,war'
6673+
terms: <translate with synonyms or related terms for 'Naval Base', separated by commas>
66616674
landuse/military/danger_area:
66626675
# military=danger_area | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
66636676
name: Danger Area
66646677
# 'terms: air force,army,base,blast,bomb,explo*,force,guard,mine,marine,navy,troop,war'
66656678
terms: <translate with synonyms or related terms for 'Danger Area', separated by commas>
6666-
landuse/military/naval_base:
6667-
# military=naval_base | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
6668-
name: Naval Base
6669-
# 'terms: base,fight,force,guard,marine,navy,ship,sub,troop,war'
6670-
terms: <translate with synonyms or related terms for 'Naval Base', separated by commas>
66716679
landuse/military/obstacle_course:
66726680
# military=obstacle_course | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
66736681
name: Military Obstacle Course

0 commit comments

Comments
 (0)