Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Jan 31, 2024
5 changes: 5 additions & 0 deletions data/fields/railway/track_ref.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "railway:track_ref",
"type": "text",
"label": "Track Number"
}
5 changes: 5 additions & 0 deletions data/fields/ref_rail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "ref",
"type": "text",
"label": "Line Number"
}
5 changes: 5 additions & 0 deletions data/fields/ref_switch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "ref",
"type": "text",
"label": "Switch Number"
}
2 changes: 2 additions & 0 deletions data/presets/railway/rail.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"icon": "temaki-railway_track",
"fields": [
"{railway/light_rail}"
gy-mate marked this conversation as resolved.
Show resolved Hide resolved
"railway/track_ref"
],
"moreFields": [
"{railway/light_rail}",
"highspeed"
gy-mate marked this conversation as resolved.
Show resolved Hide resolved
"ref_rail"
],
"geometry": [
"line"
Expand Down
3 changes: 3 additions & 0 deletions data/presets/railway/switch.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"icon": "temaki-junction",
"fields": [
"ref_switch"
],
gy-mate marked this conversation as resolved.
Show resolved Hide resolved
"geometry": [
"vertex"
],
Expand Down
Loading