Skip to content

Commit 9d37a66

Browse files
committed
add fields for level crossing
1 parent e8d86eb commit 9d37a66

File tree

8 files changed

+66
-0
lines changed

8 files changed

+66
-0
lines changed

data/fields/crossing/barrier.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"key": "crossing:barrier",
3+
"type": "combo",
4+
"label": "Barrier Arm",
5+
"strings": {
6+
"options": {
7+
"full": "Full",
8+
"double_half": "Double Half",
9+
"half": "Half",
10+
"no": "no",
11+
"yes": "yes"
12+
}
13+
},
14+
"autoSuggestions": false,
15+
"customValues": false
16+
}

data/fields/crossing/bell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "crossing:bell",
3+
"type": "check",
4+
"label": "Bell"
5+
}

data/fields/crossing/light.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "crossing:light",
3+
"type": "check",
4+
"label": "Lights"
5+
}

data/presets/railway/crossing.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"icon": "temaki-pedestrian",
3+
"fields": [
4+
"crossing/barrier",
5+
"crossing/bell",
6+
"crossing/light"
7+
],
38
"geometry": [
49
"vertex"
510
],

data/presets/railway/level_crossing.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"icon": "maki-cross",
3+
"fields": [
4+
"crossing/barrier",
5+
"crossing/bell",
6+
"crossing/light"
7+
],
38
"geometry": [
49
"vertex"
510
],

data/presets/railway/tram_crossing.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"icon": "temaki-crossing_tram_striped",
3+
"fields": [
4+
"crossing/barrier",
5+
"crossing/bell",
6+
"crossing/light"
7+
],
38
"geometry": [
49
"vertex"
510
],

data/presets/railway/tram_level_crossing.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"icon": "temaki-crossing_tram_solid",
3+
"fields": [
4+
"crossing/barrier",
5+
"crossing/bell",
6+
"crossing/light"
7+
],
38
"geometry": [
49
"vertex"
510
],

interim/source_strings.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,9 +576,29 @@ en:
576576
crossing:
577577
# crossing=*
578578
label: Type
579+
crossing/barrier:
580+
# 'crossing:barrier=*'
581+
label: Barrier Arm
582+
options:
583+
# 'crossing:barrier=double_half'
584+
double_half: Double Half
585+
# 'crossing:barrier=full'
586+
full: Full
587+
# 'crossing:barrier=half'
588+
half: Half
589+
# 'crossing:barrier=no'
590+
'no': 'no'
591+
# 'crossing:barrier=yes'
592+
'yes': 'yes'
593+
crossing/bell:
594+
# 'crossing:bell=*'
595+
label: Bell
579596
crossing/island:
580597
# 'crossing:island=*'
581598
label: Refuge Island
599+
crossing/light:
600+
# 'crossing:light=*'
601+
label: Lights
582602
cuisine:
583603
# cuisine=*
584604
label: Cuisines

0 commit comments

Comments
 (0)