Skip to content

Commit d279c23

Browse files
tyrasdmatkoniecz
andauthored
specify values for "embassy" tag (#343)
* embassy=embassy to embassy=yes embassy=embassy is an unwanted tagging fueled by iD presets showing top taginfo suggestions there was confused philosophical discussion about deprecations on tagging mailing list - but of all involved noone considered embassy=embassy as a good idea see https://lists.openstreetmap.org/pipermail/tagging/2022-January/063459.html * specify values for "embassy" tag (closes #340) Co-authored-by: Mateusz Konieczny <matkoniecz@gmail.com>
1 parent 2286be2 commit d279c23

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

data/deprecated.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,10 @@
578578
"old": {"embankment": "true"},
579579
"replace": {"embankment": "yes"}
580580
},
581+
{
582+
"old": {"embassy": "embassy"},
583+
"replace": {"embassy": "yes"}
584+
},
581585
{
582586
"old": {"entrance": "emergency_exit"},
583587
"replace": {"entrance": "emergency"}

data/fields/embassy.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"key": "embassy",
3+
"label": "Type",
34
"type": "combo",
4-
"label": "Type"
5+
"autoSuggestions": false,
6+
"strings": {
7+
"options": {
8+
"yes": "Embassy",
9+
"residence": "Official Residence of an Ambassador",
10+
"high_commission": "High Commission",
11+
"mission": "Diplomatic Mission",
12+
"branch_embassy": "Branch of an Embassy",
13+
"nunciature": "Diplomatic Mission of the Holy See",
14+
"delegation": "Delegation",
15+
"interests_section": "Interests Section"
16+
}
17+
}
518
}

interim/source_strings.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,23 @@ en:
10641064
embassy:
10651065
# embassy=*
10661066
label: Type
1067+
options:
1068+
# embassy=branch_embassy
1069+
branch_embassy: Branch of an Embassy
1070+
# embassy=delegation
1071+
delegation: Delegation
1072+
# embassy=high_commission
1073+
high_commission: High Commission
1074+
# embassy=interests_section
1075+
interests_section: Interests Section
1076+
# embassy=mission
1077+
mission: Diplomatic Mission
1078+
# embassy=nunciature
1079+
nunciature: Diplomatic Mission of the Holy See
1080+
# embassy=residence
1081+
residence: Official Residence of an Ambassador
1082+
# embassy=yes
1083+
'yes': Embassy
10671084
emergency:
10681085
# emergency=*
10691086
label: Emergency

0 commit comments

Comments
 (0)