Add Heritage Railway Track preset

Deprecate railway=preserved
This commit is contained in:
Quincy Morgan
2020-04-22 12:38:49 -07:00
parent 51f4d539f1
commit 47a865622f
6 changed files with 47 additions and 0 deletions
+4
View File
@@ -963,6 +963,10 @@
"old": {"railway": "platform"},
"replace": {"railway": "platform", "public_transport": "platform"}
},
{
"old": {"railway": "preserved"},
"replace": {"railway": "rail", "railway:preserved": "yes"}
},
{
"old": {"railway": "station"},
"replace": {"railway": "station", "public_transport": "station"}
+5
View File
@@ -7467,6 +7467,11 @@ en:
railway/platform:
# railway=platform
name: Train Platform
railway/preserved:
# 'railway=*, railway:preserved=yes'
name: Heritage Railway Track
# 'terms: historic train,preserved rail,steam train,tourist train'
terms: '<translate with synonyms or related terms for ''Heritage Railway Track'', separated by commas>'
railway/rail:
# railway=rail
name: Train Track
+1
View File
@@ -1016,6 +1016,7 @@
"railway/monorail": {"icon": "temaki-monorail", "fields": ["{railway/light_rail}"], "moreFields": ["{railway/light_rail}"], "geometry": ["line"], "tags": {"railway": "monorail"}, "name": "Monorail Track"},
"railway/monorail/hanging": {"icon": "temaki-hanging_rail", "geometry": ["line"], "tags": {"railway": "monorail", "monorail": "hanging"}, "reference": {"key": "monorail", "value": "hanging"}, "terms": ["suspension railway"], "name": "Hanging Monorail Track"},
"railway/narrow_gauge": {"icon": "temaki-railway_track_narrow", "fields": ["{railway/light_rail}"], "moreFields": ["{railway/light_rail}"], "geometry": ["line"], "tags": {"railway": "narrow_gauge"}, "terms": ["narrow gauge railway", "narrow gauge railroad"], "name": "Narrow Gauge Track"},
"railway/preserved": {"icon": "temaki-train_steam", "fields": ["railway", "{railway/light_rail}"], "moreFields": ["{railway/light_rail}"], "geometry": ["line"], "tags": {"railway": "*", "railway:preserved": "yes"}, "addTags": {"railway": "rail", "railway:preserved": "yes"}, "reference": {"key": "railway:preserved"}, "terms": ["historic train", "preserved rail", "steam train", "tourist train"], "name": "Heritage Railway Track"},
"railway/rail": {"icon": "temaki-railway_track", "fields": ["{railway/light_rail}"], "moreFields": ["{railway/light_rail}", "highspeed"], "geometry": ["line"], "tags": {"railway": "rail"}, "terms": ["permanent way", "rail line", "railroad track", "railway track", "track", "train track"], "name": "Train Track"},
"railway/rail/highspeed": {"icon": "temaki-train_bullet", "geometry": ["line"], "tags": {"railway": "rail", "highspeed": "yes"}, "reference": {"key": "highspeed"}, "terms": ["bullet train", "fast rail", "high speed rail", "highspeed rail", "HSR"], "name": "High-Speed Train Track"},
"railway/signal": {"icon": "temaki-railway_signals", "geometry": ["point", "vertex"], "fields": ["railway/position", "railway/signal/direction", "ref"], "tags": {"railway": "signal"}, "terms": ["signal", "lights"], "name": "Railway Signal"},
@@ -0,0 +1,31 @@
{
"icon": "temaki-train_steam",
"fields": [
"railway",
"{railway/light_rail}"
],
"moreFields": [
"{railway/light_rail}"
],
"geometry": [
"line"
],
"tags": {
"railway": "*",
"railway:preserved": "yes"
},
"addTags": {
"railway": "rail",
"railway:preserved": "yes"
},
"reference": {
"key": "railway:preserved"
},
"terms": [
"historic train",
"preserved rail",
"steam train",
"tourist train"
],
"name": "Heritage Railway Track"
}
+2
View File
@@ -964,6 +964,7 @@
{"key": "railway", "value": "monorail", "description": "🄿 Monorail Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/monorail.svg"},
{"key": "monorail", "value": "hanging", "description": "🄿 Hanging Monorail Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/hanging_rail.svg"},
{"key": "railway", "value": "narrow_gauge", "description": "🄿 Narrow Gauge Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/railway_track_narrow.svg"},
{"key": "railway:preserved", "value": "yes", "description": "🄿 Heritage Railway Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/train_steam.svg"},
{"key": "railway", "value": "rail", "description": "🄿 Train Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/railway_track.svg"},
{"key": "highspeed", "value": "yes", "description": "🄿 High-Speed Train Track", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/train_bullet.svg"},
{"key": "railway", "value": "signal", "description": "🄿 Railway Signal", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/railway_signals.svg"},
@@ -2181,6 +2182,7 @@
{"key": "pump", "value": "electrical_pump", "description": "🄳 ➜ pump=powered"},
{"key": "pump", "value": "no_pump", "description": "🄳 ➜ pump=no"},
{"key": "pump", "value": "power", "description": "🄳 ➜ pump=powered"},
{"key": "railway", "value": "preserved", "description": "🄳 ➜ railway=rail + railway:preserved=yes"},
{"key": "recommended_speed", "description": "🄳 ➜ maxspeed:advisory=*"},
{"key": "recommended_speed:backward", "description": "🄳 ➜ maxspeed:advisory:backward=*"},
{"key": "recommended_speed:forward", "description": "🄳 ➜ maxspeed:advisory:forward=*"},
+4
View File
@@ -8966,6 +8966,10 @@
"name": "Narrow Gauge Track",
"terms": "narrow gauge railway,narrow gauge railroad"
},
"railway/preserved": {
"name": "Heritage Railway Track",
"terms": "historic train,preserved rail,steam train,tourist train"
},
"railway/rail": {
"name": "Train Track",
"terms": "permanent way,rail line,railroad track,railway track,track,train track"