add fields for level crossing (#194)

This commit is contained in:
Kyℓe Hensel 2021-12-15 05:11:18 +13:00 committed by GitHub
parent b2aefe913b
commit 754d07395f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
"key": "crossing:barrier",
"type": "combo",
"label": "Barrier Arm",
"strings": {
"options": {
"full": "Full",
"double_half": "Double Half",
"half": "Half",
"no": "no",
"yes": "yes"
}
},
"autoSuggestions": false,
"customValues": false
}

View file

@ -0,0 +1,5 @@
{
"key": "crossing:bell",
"type": "check",
"label": "Bell"
}

View file

@ -0,0 +1,5 @@
{
"key": "crossing:light",
"type": "check",
"label": "Lights"
}

View file

@ -1,5 +1,10 @@
{
"icon": "temaki-pedestrian",
"fields": [
"crossing/barrier",
"crossing/bell",
"crossing/light"
],
"geometry": [
"vertex"
],

View file

@ -1,5 +1,10 @@
{
"icon": "maki-cross",
"fields": [
"crossing/barrier",
"crossing/bell",
"crossing/light"
],
"geometry": [
"vertex"
],

View file

@ -597,9 +597,29 @@ en:
crossing:
# crossing=*
label: Type
crossing/barrier:
# 'crossing:barrier=*'
label: Barrier Arm
options:
# 'crossing:barrier=double_half'
double_half: Double Half
# 'crossing:barrier=full'
full: Full
# 'crossing:barrier=half'
half: Half
# 'crossing:barrier=no'
'no': 'no'
# 'crossing:barrier=yes'
'yes': 'yes'
crossing/bell:
# 'crossing:bell=*'
label: Bell
crossing/island:
# 'crossing:island=*'
label: Refuge Island
crossing/light:
# 'crossing:light=*'
label: Lights
cuisine:
# cuisine=*
label: Cuisines