From 67e36b16e108f63df860a524ef605c2f62b123f9 Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Wed, 29 Jul 2026 21:32:23 +0900 Subject: [PATCH 1/3] Changed wrong country codes of operator and added XROIS reference support (KR) --- features/operators.yaml | 129 ++++++++++++++++++++-------------------- features/stations.yaml | 5 ++ 2 files changed, 69 insertions(+), 65 deletions(-) diff --git a/features/operators.yaml b/features/operators.yaml index 8b9a19cfb..b853758e0 100644 --- a/features/operators.yaml +++ b/features/operators.yaml @@ -1255,7 +1255,7 @@ operators: # --- JP --- # # JR Companies - - country: LP + - country: JP names: # East Japan Railway Company - '東日本旅客鉄道' @@ -1263,7 +1263,7 @@ operators: - '東日本旅客鉄道 (East Japan Railway)' color: '#007903' - - country: LP + - country: JP names: # JR西日本 West Japan Railway Company - '西日本旅客鉄道' @@ -1271,7 +1271,7 @@ operators: - 'JR西日本' color: 'rgb(0, 101, 177)' - - country: LP + - country: JP names: # Shikoku Railway Company - '四国旅客鉄道' @@ -1279,13 +1279,13 @@ operators: - '四国旅客鉄道株式会社' color: '#1cadca' - - country: LP + - country: JP names: # JR北海道- Hokkaido Railway Company - '北海道旅客鉄道' color: '#45B035' - - country: LP + - country: JP names: # JR東海 Central Japan Railway Company - '東海旅客鉄道' @@ -1293,14 +1293,14 @@ operators: - '東海旅客鉄道株式会社' color: 'rgb(248, 123, 34)' - - country: LP + - country: JP names: # Japan Freight Railway Company - '日本貨物鉄道' - 'JR貨物' color: '#477897' - - country: LP + - country: JP names: # Kyushu Railway Company - '九州旅客鉄道' @@ -1309,82 +1309,82 @@ operators: color: '#DA2728' # Kansai Region - - country: LP + - country: JP names: # Kintetsu railway - '近畿日本鉄道' color: '#0068b3' - - country: LP + - country: JP names: # Osaka Metro - '大阪市高速電気軌道' - '大阪メトロ' color: '#1d2088' - - country: LP + - country: JP names: # HAPI-LINE Fukui railway - 'ハピラインふくい' color: '#e6378d' - - country: LP + - country: JP names: # Kyoto Tango Railway - '京都丹後鉄道' color: '#ec75a2' - - country: LP + - country: JP names: # Nankai Electric railway - '南海電気鉄道' - '南海鉄道' color: '#ff9900' - - country: LP + - country: JP names: # Keihan Electric Railway Co., Ltd. - '京阪電気鉄道' color: '#011961' - - country: LP + - country: JP names: # Hankyu Corporation - '阪急電鉄' color: '#ca0124' - - country: LP + - country: JP names: # Hanshin Electric Railway - '阪神電気鉄道' color: '#007ca5' - - country: LP + - country: JP names: # Sanyo Electric Railway - '山陽電気鉄道' color: '#e42926' - - country: LP + - country: JP names: # Chizu Express Co., Ltd. - '智頭急行' color: '#021499' - - country: LP + - country: JP names: # Ibara Railway - '井原鉄道' color: '#2f62a1' - - country: LP + - country: JP names: # Kita-Osaka Kyuko Railway - '北大阪急行電鉄' - '北大阪急行電鉄株式会社' color: '#9b0040' - - country: LP + - country: JP names: # Hankai Tramway Co., Ltd. - '阪堺電気軌道' @@ -1392,143 +1392,143 @@ operators: color: '#24997c' # Chubu Region - - country: LP + - country: JP names: # Nagoya Railroad Co.,Ltd. - '名古屋鉄道' color: '#c10024' - - country: LP + - country: JP names: # Transportation Bureau City of Nagoya - '名古屋市交通局' - '名古屋市' color: '#1e569b' - - country: LP + - country: JP names: # Echigo Tokimeki Railway Company - 'えちごトキめき鉄道' color: '#ee1528' - - country: LP + - country: JP names: # Toyama Chihou Tetsudo Inc. - '富山地方鉄道' color: '#a71e41' - - country: LP + - country: JP names: # Hokuetsu Express Corporation - '北越急行' color: '#073190' # Hokkaido Region - - country: LP + - country: JP names: # Sapporo City Transportation Bureau - '札幌市交通局' color: '#2b75c0' # Kyushu Region - - country: LP + - country: JP names: # Nishi-Nippon Railroad Co.,Ltd. - '西日本鉄道' color: '#004ea1' - - country: LP + - country: JP names: # Fukuoka City Transportation Bureau - '福岡市交通局' color: '#0074bf' # Shikoku Region - - country: LP + - country: JP names: # Iyo Railway Co.,Ltd. - '伊予鉄道' color: '#eb6100' - - country: LP + - country: JP names: # Tosa Kuroshio Tetsudo Co.,Ltd. - '土佐くろしお鉄道' color: '#00a0e9' - - country: LP + - country: JP names: # Takamatsu-Kotohira Electric Railroad Co.,Ltd. - '高松琴平電気鉄道' color: '#39227c' # Kanto Region (except Tokyo) - - country: LP + - country: JP names: # Aoimori Railway Company - '青い森鉄道' color: '#6fc5e9' - - country: LP + - country: JP names: # Akita Nairiku Jukan Tetsudo Railway Co., Ltd. - '秋田内陸縦貫鉄道' color: '#243d5a' - - country: LP + - country: JP names: # Sanriku Railway Company - '三陸鉄道' color: '#ed6c00' - - country: LP + - country: JP names: # Kominato Railway Company - '小湊鉄道' - '小湊鐵道 (Kominato Railway)' color: '#ff3700' - - country: LP + - country: JP names: # IGR Iwate Galaxy Railway Company - 'アイジーアールいわて銀河鉄道' color: '#264697' - - country: LP + - country: JP names: # Konan Railway Corporation - '弘南鉄道' color: '#e47d49' # Tokyo Metropolitan - - country: LP + - country: JP names: # Keikyu Corporation - '京浜急行電鉄' - '京浜急行電鉄 (Keikyu Corporation)' color: 'rgb(0, 150, 224)' - - country: LP + - country: JP names: # Tokyo Metro Co., Ltd. - '東京地下鉄' color: '#00467e' - - country: LP + - country: JP names: # Bureau of Transportation Tokyo Metropolitan Government - '東京都交通局' - '東京都交通局 (Tokyo Metropolitan Bureau of Transportation)' color: '#1c1d1f' - - country: LP + - country: JP names: # Tobu Railway Co., Ltd. - '東武鉄道' - '東武鉄道 (Tobu Railway)' color: '#005bae' - - country: LP + - country: JP names: # Seibu Railway Co.,Ltd. - '西武鉄道' @@ -1536,90 +1536,90 @@ operators: - '西武鉄道 (Seibu Railway)' color: '#3366cc' - - country: LP + - country: JP names: # Chichibu Railway Co.,Ltd. - '秩父鉄道' color: '#01479d' - - country: LP + - country: JP names: # Tokyu Railways - '東急電鉄' - '東京急行電鉄' color: '#ee0011' - - country: LP + - country: JP names: # Odakyu Electric Railway Co., Ltd. - '小田急電鉄' color: '#1155cc' - - country: LP + - country: JP names: # Keio Corporation - '京王電鉄' - '京王電鉄 (Keio railway)' color: 'rgb(214, 0, 127)' - - country: LP + - country: JP names: # Sagami Railway Co., Ltd. - '相模鉄道' color: '#0c0c34' - - country: LP + - country: JP names: # Hokuso Railway Co., Ltd. - '北総鉄道' color: '#12284d' - - country: LP + - country: JP names: # Keisei Electric Railway Co., Ltd. - '京成電鉄' - '京成電鉄株式会社' color: '#0a3788' - - country: LP + - country: JP names: # Saitama Railway Co., Ltd. - '埼玉高速鉄道' color: '#2351a5' - - country: LP + - country: JP names: # Tokyo Tama Intercity Monorail Co., Ltd. - '多摩都市モノレール' color: '#2351a5' - - country: LP + - country: JP names: # Tokyo Monorail Co., Ltd. - '東京モノレール' - '東京モノレール株式会社' color: '#005075' - - country: LP + - country: JP names: # Transportation Bureau, City of Yokohama - '横浜市交通局' - '横浜市' color: '#006bad' - - country: LP + - country: JP names: # Enoshima Electric Railway Co., Ltd. - '江ノ島電鉄' color: '#388a0a' - - country: LP + - country: JP names: # Tokyo Waterfront Area Rapid Transit Inc. - '東京臨海高速鉄道' color: '#00418e' - - country: LP + - country: JP names: # Metropolitan Intercity Railway Company - '首都圏新都市鉄道' @@ -1644,13 +1644,19 @@ operators: - 'INFRAKOS' color: '#d12614' + # --- KP --- # + + - country: KP + names: + - '조선민주주의인민공화국 철도성' + color: '#ed1c27' + # --- KR --- # - country: KR names: # Korea Railroad Corporation - '한국철도공사' - - 'Korail' color: '#005bac' - country: KR @@ -1661,8 +1667,8 @@ operators: - country: KR names: + # Seoul Metro - '서울교통공사' - - 'Seoul Metro' color: '#293896' - country: KR @@ -1859,13 +1865,6 @@ operators: - 'Caminhos de Ferro de Moçambique (CFM)' color: '#0f6037' - # --- NK --- # - - - country: NK - names: - - '조선민주주의인민공화국 철도성' - color: '#ed1c27' - # --- NL --- # - country: NL diff --git a/features/stations.yaml b/features/stations.yaml index b089dc6ba..a1c6a0974 100644 --- a/features/stations.yaml +++ b/features/stations.yaml @@ -277,3 +277,8 @@ references: - id: parent description: Parent tags: [ 'railway:ref:parent' ] + + - id: xrois + description: XROIS + country: KR + tags: [ 'ref:XROIS' ] From 498d847eeb6848634b0428b3982b8c523ff72c11 Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Wed, 29 Jul 2026 21:32:59 +0900 Subject: [PATCH 2/3] added rubber_tires key support --- api/features.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/features.mjs b/api/features.mjs index b9c8856df..ff18c4edb 100644 --- a/api/features.mjs +++ b/api/features.mjs @@ -130,6 +130,9 @@ const railwayLineFeatures = { highspeed: { name: 'High speed', }, + rubber_tires: { + name: 'Rubber-tyred', + }, preferred_direction: { name: 'Preferred direction', }, @@ -503,7 +506,10 @@ const features = { name: 'Service', }, highspeed: { - name: 'Highspeed', + name: 'High speed', + }, + rubber_tires: { + name: 'Rubber-tyred', }, preferred_direction: { name: 'Preferred direction', From be4532b252158da02035dfb16ce2de86c0cab571 Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Wed, 29 Jul 2026 22:15:00 +0900 Subject: [PATCH 3/3] added Korail ARS reference --- features/stations.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/features/stations.yaml b/features/stations.yaml index a1c6a0974..e34447bb3 100644 --- a/features/stations.yaml +++ b/features/stations.yaml @@ -282,3 +282,8 @@ references: description: XROIS country: KR tags: [ 'ref:XROIS' ] + + - id: korail-ars + description: Korail ARS + country: KR + tags: [ 'ref:ARS' ]