Add High-Speed Rail preset

This commit is contained in:
Quincy Morgan
2019-03-17 12:31:42 -04:00
parent 374cae5a7d
commit c15b9da34c
7 changed files with 37 additions and 5 deletions
+6 -1
View File
@@ -761,7 +761,7 @@ en:
label: Height (Meters)
highspeed:
# highspeed=*
label: Highspeed
label: High-Speed
highway:
# highway=*
label: Type
@@ -5959,6 +5959,11 @@ en:
# railway=rail
name: Rail
terms: '<translate with synonyms or related terms for ''Rail'', separated by commas>'
railway/rail/highspeed:
# 'railway=rail, highspeed=yes'
name: High-Speed Rail
# 'terms: bullet train,fast rail,high speed rail,highspeed rail,HSR'
terms: '<translate with synonyms or related terms for ''High-Speed Rail'', separated by commas>'
railway/signal:
# railway=signal
name: Railway Signal
+1 -1
View File
@@ -143,7 +143,7 @@
"healthcare": {"key": "healthcare", "type": "typeCombo", "label": "Type"},
"healthcare/speciality": {"key": "healthcare:speciality", "type": "semiCombo", "reference": {"key": "healthcare"}, "label": "Specialties"},
"height": {"key": "height", "minValue": 0, "type": "number", "label": "Height (Meters)"},
"highspeed": {"key": "highspeed", "type": "check", "label": "Highspeed"},
"highspeed": {"key": "highspeed", "type": "check", "label": "High-Speed"},
"highway": {"key": "highway", "type": "typeCombo", "label": "Type"},
"historic": {"key": "historic", "type": "typeCombo", "label": "Type"},
"historic/civilization": {"key": "historic:civilization", "type": "combo", "label": "Historic Civilization"},
+1 -1
View File
@@ -1,5 +1,5 @@
{
"key": "highspeed",
"type": "check",
"label": "Highspeed"
"label": "High-Speed"
}
+1
View File
@@ -844,6 +844,7 @@
"railway/monorail": {"icon": "temaki-monorail", "fields": ["name", "operator", "structure", "electrified", "service_rail", "usage_rail"], "moreFields": ["covered", "frequency_electrified", "maxspeed", "voltage_electrified"], "geometry": ["line"], "tags": {"railway": "monorail"}, "terms": [], "name": "Monorail"},
"railway/narrow_gauge": {"icon": "iD-railway-rail", "fields": ["{railway/rail}"], "moreFields": ["covered", "frequency_electrified", "maxspeed", "voltage_electrified"], "geometry": ["line"], "tags": {"railway": "narrow_gauge"}, "terms": ["narrow gauge railway", "narrow gauge railroad"], "name": "Narrow Gauge Rail"},
"railway/rail": {"icon": "iD-railway-rail", "fields": ["name", "operator", "structure", "gauge", "electrified", "service_rail", "usage_rail"], "moreFields": ["covered", "frequency_electrified", "highspeed", "maxspeed", "voltage_electrified"], "geometry": ["line"], "tags": {"railway": "rail"}, "terms": [], "name": "Rail"},
"railway/rail/highspeed": {"icon": "iD-railway-rail", "geometry": ["line"], "tags": {"railway": "rail", "highspeed": "yes"}, "reference": {"key": "highspeed"}, "terms": ["bullet train", "fast rail", "high speed rail", "highspeed rail", "HSR"], "name": "High-Speed Rail"},
"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"},
"railway/subway_entrance": {"icon": "maki-entrance", "geometry": ["point", "vertex"], "fields": ["name"], "tags": {"railway": "subway_entrance"}, "terms": ["metro", "transit"], "name": "Subway Entrance"},
"railway/subway": {"icon": "temaki-subway", "fields": ["{railway/rail}"], "moreFields": ["frequency_electrified", "maxspeed", "voltage_electrified"], "geometry": ["line"], "tags": {"railway": "subway"}, "terms": ["metro", "transit"], "name": "Subway"},
@@ -0,0 +1,21 @@
{
"icon": "iD-railway-rail",
"geometry": [
"line"
],
"tags": {
"railway": "rail",
"highspeed": "yes"
},
"reference": {
"key": "highspeed"
},
"terms": [
"bullet train",
"fast rail",
"high speed rail",
"highspeed rail",
"HSR"
],
"name": "High-Speed Rail"
}
+2 -1
View File
@@ -791,6 +791,7 @@
{"key": "railway", "value": "monorail", "description": "🄿 Monorail", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/monorail.svg?sanitize=true"},
{"key": "railway", "value": "narrow_gauge", "description": "🄿 Narrow Gauge Rail", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/railway-rail.svg?sanitize=true"},
{"key": "railway", "value": "rail", "description": "🄿 Rail", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/railway-rail.svg?sanitize=true"},
{"key": "highspeed", "value": "yes", "description": "🄿 High-Speed Rail", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/railway-rail.svg?sanitize=true"},
{"key": "railway", "value": "signal", "description": "🄿 Railway Signal", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/railway_signals.svg?sanitize=true"},
{"key": "railway", "value": "subway_entrance", "description": "🄿 Subway Entrance", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/entrance-15.svg?sanitize=true"},
{"key": "railway", "value": "subway", "description": "🄿 Subway", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/subway.svg?sanitize=true"},
@@ -1281,7 +1282,7 @@
{"key": "hashtags", "description": "🄵 Suggested Hashtags"},
{"key": "healthcare:speciality", "description": "🄵 Specialties"},
{"key": "height", "description": "🄵 Height (Meters)"},
{"key": "highspeed", "description": "🄵 Highspeed"},
{"key": "highspeed", "description": "🄵 High-Speed"},
{"key": "historic:civilization", "description": "🄵 Historic Civilization"},
{"key": "wreck:date_sunk", "description": "🄵 Date Sunk"},
{"key": "wreck:visible_at_high_tide", "description": "🄵 Visible At High Tide"},