Add ref and railway:track_ref fields to railway=rail and =switch presets (#1083)

This commit is contained in:
Máté Gyöngyösi 2024-01-31 12:33:56 +01:00 committed by GitHub
parent 1aedde053e
commit 96a4600d18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 2 deletions

View file

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

View file

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

View file

@ -1,11 +1,13 @@
{
"icon": "temaki-railway_track",
"fields": [
"{railway/light_rail}"
"{railway/light_rail}",
"railway/track_ref"
],
"moreFields": [
"{railway/light_rail}",
"highspeed"
"highspeed",
"ref_rail"
],
"geometry": [
"line"

View file

@ -1,5 +1,8 @@
{
"icon": "temaki-junction",
"fields": [
"ref"
],
"geometry": [
"vertex"
],