mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 09:19:25 +02:00
Don't offer to add train=yes to features with railway=platform but no other vehicle tags (close #7231)
This commit is contained in:
@@ -908,6 +908,10 @@
|
||||
"old": {"railway": "station"},
|
||||
"replace": {"railway": "station", "public_transport": "station"}
|
||||
},
|
||||
{
|
||||
"old": {"railway": "platform"},
|
||||
"replace": {"railway": "platform", "public_transport": "platform"}
|
||||
},
|
||||
{
|
||||
"old": {"recommended_speed": "*"},
|
||||
"replace": {"maxspeed:advisory": "$1"}
|
||||
|
||||
@@ -983,7 +983,7 @@
|
||||
"public_transport/stop_position_trolleybus": {"icon": "temaki-trolleybus", "fields": ["{public_transport/stop_position}"], "moreFields": ["{public_transport/stop_position}"], "geometry": ["vertex"], "tags": {"public_transport": "stop_position", "trolleybus": "yes"}, "reference": {"key": "public_transport", "value": "stop_position"}, "terms": ["bus", "electric", "public transit", "public transportation", "streetcar", "trackless", "tram", "trolley", "transit", "transportation"], "name": "Trolleybus Stopping Location"},
|
||||
"public_transport/stop_position": {"icon": "maki-bus", "fields": ["name", "ref_stop_position", "network", "operator"], "moreFields": ["level"], "geometry": ["vertex"], "tags": {"public_transport": "stop_position"}, "terms": ["public transit", "public transportation", "transit", "transportation"], "name": "Transit Stopping Location", "matchScore": 0.2},
|
||||
"railway/halt": {"icon": "maki-rail", "geometry": ["point", "vertex"], "tags": {"railway": "halt"}, "name": "Train Station (Halt / Request)", "searchable": false},
|
||||
"railway/platform": {"icon": "temaki-pedestrian", "fields": ["name", "ref_platform", "surface", "lit", "shelter"], "geometry": ["line", "area"], "tags": {"railway": "platform"}, "name": "Train Platform", "searchable": false, "replacement": "public_transport/platform/train"},
|
||||
"railway/platform": {"icon": "temaki-sign_and_pedestrian", "fields": ["{public_transport/platform}"], "moreFields": ["{public_transport/platform}"], "geometry": ["line", "area"], "tags": {"railway": "platform"}, "name": "Train Platform", "searchable": false},
|
||||
"railway/station": {"icon": "maki-rail", "fields": ["{public_transport/station}"], "moreFields": ["{public_transport/station}"], "geometry": ["point", "vertex", "area"], "tags": {"railway": "station"}, "matchScore": 0.95, "name": "Train Station", "searchable": false},
|
||||
"railway/tram_stop": {"icon": "temaki-tram", "fields": ["name", "network", "operator"], "geometry": ["vertex"], "tags": {"railway": "tram_stop"}, "name": "Tram Stopping Position", "searchable": false},
|
||||
"railway/abandoned": {"icon": "iD-railway-abandoned", "fields": ["name", "structure", "service_rail", "usage_rail"], "moreFields": ["covered"], "geometry": ["line"], "tags": {"railway": "abandoned"}, "terms": [], "matchScore": 0.85, "name": "Abandoned Railway"},
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"icon": "temaki-pedestrian",
|
||||
"icon": "temaki-sign_and_pedestrian",
|
||||
"fields": [
|
||||
"name",
|
||||
"ref_platform",
|
||||
"surface",
|
||||
"lit",
|
||||
"shelter"
|
||||
"{public_transport/platform}"
|
||||
],
|
||||
"moreFields": [
|
||||
"{public_transport/platform}"
|
||||
],
|
||||
"geometry": [
|
||||
"line",
|
||||
@@ -15,6 +14,5 @@
|
||||
"railway": "platform"
|
||||
},
|
||||
"name": "Train Platform",
|
||||
"searchable": false,
|
||||
"replacement": "public_transport/platform/train"
|
||||
"searchable": false
|
||||
}
|
||||
|
||||
@@ -928,7 +928,7 @@
|
||||
{"key": "public_transport", "value": "station", "description": "🄿 Transit Station", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/rail-15.svg"},
|
||||
{"key": "public_transport", "value": "stop_area", "description": "🄿 Transit Stop Area", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "public_transport", "value": "stop_position", "description": "🄿 Transit Stopping Location", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/bus-15.svg"},
|
||||
{"key": "railway", "value": "platform", "description": "🄿 Train Platform (unsearchable)", "object_types": ["way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/pedestrian.svg"},
|
||||
{"key": "railway", "value": "platform", "description": "🄿 Train Platform (unsearchable), 🄳 ➜ railway=platform + public_transport=platform", "object_types": ["way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/sign_and_pedestrian.svg"},
|
||||
{"key": "railway", "value": "station", "description": "🄿 Train Station (unsearchable), 🄳 ➜ railway=station + public_transport=station", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/rail-15.svg"},
|
||||
{"key": "railway", "value": "tram_stop", "description": "🄿 Tram Stopping Position (unsearchable)", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/tram.svg"},
|
||||
{"key": "railway", "value": "abandoned", "description": "🄿 Abandoned Railway", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/railway-abandoned.svg"},
|
||||
|
||||
Reference in New Issue
Block a user