add more fields to railway presets

This commit is contained in:
Kyle Hensel 2025-09-17 20:30:24 +10:00
parent 449fae4304
commit a833997824
No known key found for this signature in database
GPG key ID: A6481E3E38D544EC
9 changed files with 46 additions and 3 deletions

View file

@ -0,0 +1,5 @@
{
"key": "railway:local_operated",
"type": "check",
"label": "Locally Operated"
}

View file

@ -0,0 +1,5 @@
{
"key": "railway:ref",
"type": "text",
"label": "{ref}"
}

View file

@ -0,0 +1,16 @@
{
"key": "railway:signal:position",
"type": "combo",
"label": "Placement",
"strings": {
"options": {
"left": "Left",
"right": "Right",
"in_track": "In the track",
"bridge": "Overhead (attached to a gantry)",
"overhead": "Overhead (attached to the catenary wire)"
}
},
"autoSuggestions": false,
"customValues": false
}

View file

@ -0,0 +1,13 @@
{
"key": "railway:turnout_side",
"type": "combo",
"label": "Turnout Side",
"strings": {
"options": {
"left": "Left",
"right": "Right"
}
},
"autoSuggestions": false,
"customValues": true
}

View file

@ -7,7 +7,8 @@
"gauge",
"electrified",
"service_rail",
"usage_rail"
"usage_rail",
"railway/track_ref"
],
"moreFields": [
"bridge/ref",

View file

@ -1,8 +1,7 @@
{
"icon": "temaki-railway_track",
"fields": [
"{railway/light_rail}",
"railway/track_ref"
"{railway/light_rail}"
],
"moreFields": [
"{railway/light_rail}",

View file

@ -7,6 +7,7 @@
"fields": [
"railway/position",
"railway/signal/direction",
"railway/signal/position",
"ref"
],
"tags": {

View file

@ -2,6 +2,8 @@
"icon": "temaki-junction",
"fields": [
"railway/switch",
"railway/turnout_side",
"railway/local_operated",
"ref"
],
"geometry": [

View file

@ -2,6 +2,7 @@
"icon": "temaki-freight_car",
"fields": [
"name",
"railway/ref",
"operator"
],
"moreFields": [