Skip to content

Instantly share code, notes, and snippets.

@fumieval
Forked from karno/haru_station_info.py
Last active August 29, 2015 14:07
Show Gist options
  • Save fumieval/898ecb90443f3b994426 to your computer and use it in GitHub Desktop.
Save fumieval/898ecb90443f3b994426 to your computer and use it in GitHub Desktop.
# "路線コード": {
# "駅コード": (X, Y, Z, "駅名"), ...
# }, ...
stationInfoTable = {
# harutrak A
"HA": {
"HH": (-285, 59, 346, "役場前"),
"NV": (-369, 70, 115, "中村"), # 298 blocks
"MM": (-370, 69, -56, "メガネケエスタワー前"), # 161 blocks
"KS": (-531, 69, -58, "北砂漠"), # 170 blocks
"NU": (-711, 69, -58, "中海町"), # 180 blocks
"EE": (803, 67, -30, "エターナルフォースブリザード城前"), # 117 blocks
},
# harutrak B
"HB": {
"HH": (-285, 59, 346, "役場前"),
"SB": (-328, 69, 508, "新橋"), # 199 blocks
"JI": (-328, 69, 713, "辞林"), # 205 blocks
"NM": (-393, 69, 739, "練馬"), # 92 blocks
"YY": (-612, 69, 739, "雪見町"), # 219 blocks
},
# harutrak C
"HC": {
"NK": (0, 0, 0, "中野"),
"JJ": (0, 0, 0, "城南"),
"KN": (0, 0, 0, "空港北"),
"JT": (0, 0, 0, "城東"),
"TJ": (0, 0, 0, "藤冶湖"),
"TI": (0, 0, 0, "津入口"),
"TT": (0, 0, 0, "津港")
},
# harutrak D
"HD": {
"MM": (0, 0, 0, "メガネケエスタワー前"),
"MH": (0, 0, 0, "明北"),
"YA": (0, 0, 0, "宿木"),
"YT": (0, 0, 0, "宿津平原"),
"TT": (0, 0, 0, "津港"),
},
# harutrak E
"HE": {
"YA": (0, 0, 0, "宿木"),
"YB": (0, 0, 0, "北宿木"),
"GJ": (0, 0, 0, "善通寺"),
"FT": (0, 0, 0, "古谷"),
"KD": (0, 0, 0, "楓"),
"OM": (0, 0, 0, "大室"),
},
# harutrak F
"HF": {
"JI": (-328, 69, 71, "辞林"),
"NJ": (-183, 71, 734, "中辞林"), # 165 blocks
"NT": (44, 71, 655, "新津"), # 306 blocks
"CC": (353, 65, 655, "長府"), # 309 blocks
"TK": (552, 67, 655, "筑波"), # 199 blocks
"TU": (764, 67, 655, "土浦"), # 212 blocks
"SK": (866, 67, 743, "下北沢"), # 187 blocks
"HK": (1025, 67, 808, "東北沢"), # 225 blocks
"SS": (1043, 57, 91, "下関"), # 124 blocks
},
# harutrak G
"HG": {
"GJ": (0, 0, 0, "善通寺"),
"MG": (0, 0, 0, "南善通寺"),
"YB": (0, 0, 0, "北宿木"),
"YC": (0, 0, 0, "旧宿木"),
"YD": (0, 0, 0, "西宿木"),
"KG": (0, 0, 0, "春日野道"),
"EE": (-809, 67, -31, "エターナルフォースブリザード城前"),
"YZ": (0, 0, 0, "夜築町"),
"KU": (0, 0, 0, "久野山"),
},
# harutrak H
"HH": {
"KD": (0, 0, 0, "楓"),
"AK": (0, 0, 0, "青木ヶ原"),
"SV": (0, 0, 0, "鮭の子村"),
"SP": (0, 0, 0, "鮭の子港"),
},
# harutrak I
"HI": {
"TI": (0, 0, 0, "楓"),
"KB": (0, 0, 0, "北香住"),
},
# harutrak 空港連絡線
"HZ": {
"KN": (0, 0, 0, "空港北"),
"AA": (9, 63, 279, "はる空港"),
},
# はるレール 南北快速線
"RN": {
"GJ": (0, 0, 0, "善通寺"),
"KM": (0, 0, 0, "北森"),
"HH": (-277, 59, 346, "役場前"),
},
# はるレール 城南線
"RJ": {
"EE": (-824, 57, -84, "EFB城"),
"NA": (0, 0, 0, "中津"),
"NK": (0, 0, 0, "中野"),
"JJ": (0, 0, 0, "城南"),
"KH": (0, 0, 0, "刑務所東"),
"HH": (-261, 59, 346, "役場前"),
},
# はるレール 新津線
"RT": {
"HH": (-261, 59, 346, "役場前"),
"GZ": (0, 0, 0, "五条"),
"MN": (0, 0, 0, "北三原"),
"NT": (0, 0, 0, "新津"),
"CC": (0, 0, 0, "長府"),
"TH": (0, 0, 0, "筑波高原"),
"TK": (0, 0, 0, "筑波"),
},
# はるレール 城津線(西城線)
"RS": {
"EE": (-824, 64, -69, "EFB城"),
"SA": (0, 0, 0, "西原"),
"HH": (-285, 43, 337, "役場前"),
"GZ": (0, 0, 0, "五条"),
"SB": (0, 0, 0, "新橋"),
"MR": (0, 0, 0, "三原"),
"NJ": (0, 0, 0, "中辞林"),
"MS": (0, 0, 0, "森下"),
"MZ": (0, 0, 0, "水原"),
"KY": (0, 0, 0, "京ヶ瀬"),
"NT": (0, 0, 0, "新津"),
"CC": (0, 0, 0, "長府"),
},
# はる急行鉄道 月沢本線
"ET": {
"NV": (0, 0, 0, "中村本町"),
"IJ": (0, 0, 0, "一条"),
"SA": (0, 0, 0, "西原"),
"TY": (0, 0, 0, "月屋根沢"),
"SM": (0, 0, 0, "スノーマン前"),
"IB": (0, 0, 0, "伊吹山"),
"YY": (-596, 69, 747, "雪見町"),
"YO": (0, 0, 0, "雪見温泉"),
"KI": (0, 0, 0, "上砂"),
"AO": (0, 0, 0, "青宮"),
"TR": (0, 0, 0, "天竜峡"),
"NF": (0, 0, 0, "南海埠頭"),
},
# はる急行鉄道 月沢急行線
"EX": {
"HH": (-277, 59, 346, "役場前"),
"TY": (0, 0, 0, "月屋根沢"),
"YY": (-598, 74, 747, "雪見町"),
"KI": (0, 0, 0, "上砂"),
"NF": (0, 0, 0, "南海埠頭"),
},
# はる急行鉄道 南海急行線
"EN": {
"EE": (-824, 64, -69, "EFB城"),
"YZ": (0, 0, 0, "夜築町"),
"KI": (0, 0, 0, "上砂"),
"TO": (0, 0, 0, "鳥取"),
"CT": (0, 0, 0, "千歳"),
"SN": (0, 0, 0, "作並"),
},
# はる急行鉄道 北見線
"EK": {
"TY": (0, 0, 0, "月屋根沢"),
"KT": (0, 0, 0, "こむぎこタワー"),
"SA": (0, 0, 0, "西原"),
"HB": (0, 0, 0, "雲雀坂"),
"EE": (-829, 49, -24, "EFB城前"),
"YZ": (0, 0, 0, "夜築町"),
},
# はる急行鉄道 参宮線
"ES": {
"TY": (0, 0, 0, "月屋根沢"),
"TS": (0, 0, 0, "月山神社"),
"SB": (0, 0, 0, "新橋"),
},
# はる高速旅客鉄道 中央新幹線
"SC": {
"EE": (-837, 69, -53, "EFB城"),
"HH": (-287, 54, 377, "新役場"), # 798 blocks
"AA": (44, 54, 275, "はる空港"), # 375 blocks
"SC": (319, 64, 566, "新長府"), # 431 blocks
"SS": (1026, 65, 901, "下関"), # 852 blocks
"NG": (1678, 76, 1443, "名古屋"), # 892 blocks
},
# はる高速旅客鉄道 南北新幹線
"SN": {
"TT": (158, 71, -346, "津港"),
"JJ": (-66, 54, 78, "城南"), # 526 blocks
"HH": (-270, 39, 388, "新役場"), # 396 blocks
"YY": (-602, 60, 755, "雪見町"), # 517 blocks
},
# ムメイ高速鉄道 ムメイ高速鉄道本線
"MM": {
"JJ": (0, 0, 0, "城南"),
"NK": (-266, 70, 84, "中野"),
"HH": (-258, 67, 295, "役場前(東梅田)"),
"SG": (-163, 67, 312, "湘南海岸"),
"AA": (38, 68, 312, "はる空港"),
"TF": (361, 68, 312, "調布"),
"KA": (1203, 68, 312, "香住"),
},
# ムメイ高速鉄道 香住線
"MK": {
"KA": (0, 0, 0, "香住"),
"KB": (0, 0, 0, "北香住"),
},
# はる近郊鉄道 内環線
"NI": {
"JI": (0, 0, 0, "辞林"),
"SI": (0, 0, 0, "ささみ温泉"),
"TS": (0, 0, 0, "月山神社"),
"KT": (0, 0, 0, "こむぎこタワー"),
"TA": (0, 0, 0, "絶海池"),
"NA": (0, 0, 0, "中津"),
"NV": (0, 0, 0, "中村"),
"NK": (0, 0, 0, "中野"),
"KH": (0, 0, 0, "刑務所東"),
"SG": (0, 0, 0, "湘南海岸"),
"FU": (0, 0, 0, "藤が丘"),
"SJ": (0, 0, 0, "しきみ城"),
"MN": (0, 0, 0, "北三原"),
"MR": (0, 0, 0, "三原"),
"NR": (0, 0, 0, "中森"),
},
# はる近郊鉄道 空港線
"NA": {
"KH": (0, 0, 0, "刑務所東"),
"JJ": (0, 0, 0, "城南"),
"KN": (0, 0, 0, "空港北"),
},
# こむぎ娘レールウェイ 千歳線
"KC": {
"YY": (0, 0, 0, "雪見町"),
"TE": (0, 0, 0, "高瀬"),
"DS": (0, 0, 0, "大山"),
"TO": (0, 0, 0, "鳥取"),
"HI": (0, 0, 0, "光が丘"),
"CT": (0, 0, 0, "千歳"),
"MC": (0, 0, 0, "南千歳"),
"SN": (0, 0, 0, "作並"),
},
# こむぎ娘レールウェイ 海岸線
"KK": {
"CT": (0, 0, 0, "千歳"),
"CK": (0, 0, 0, "千歳海岸"),
},
# こむぎ娘レールウェイ 作長線
"KS": {
"SN": (0, 0, 0, "作並"),
"XG": (0, 0, 0, "蘇我"),
"FK": (0, 0, 0, "船越"),
"OT": (0, 0, 0, "大月"),
"MI": (0, 0, 0, "水無瀬"),
"OD": (0, 0, 0, "小田原"),
"CC": (0, 0, 0, "長府"),
},
# こむぎ娘レールウェイ 東海線
"KT": {
"OT": (0, 0, 0, "大月"),
"QM": (0, 0, 0, "国見"),
"SS": (1085, 50, 930, "下関"),
"KA": (0, 0, 0, "香住"),
},
# 東部環状鉄道 東部環状線
"LT": {
"HH": (-269, 59, 346, "役場前"),
"TA": (0, 0, 0, "絶海池"),
"NA": (0, 0, 0, "中津"),
"KM": (0, 0, 0, "北森"),
"YA": (0, 0, 0, "宿木"),
"TT": (0, 0, 0, "津港"),
"JT": (0, 0, 0, "城東"),
"TF": (0, 0, 0, "調布"),
"SC": (370, 56, 591, "新長府"),
"CC": (0, 0, 0, "長府"),
"NT": (0, 0, 0, "新津"),
"MR": (0, 0, 0, "三原"),
"SB": (0, 0, 0, "新橋"),
"GZ": (0, 0, 0, "五条"),
},
# 筑波臨海高速鉄道 りんかい線
"TR": {
"CC": (0, 0, 0, "長府"),
"SC": (362, 64, 576, "新長府"),
"SH": (0, 0, 0, "新都心"),
"TD": (0, 0, 0, "筑波大学"),
"TK": (0, 0, 0, "筑波"),
"ST": (0, 0, 0, "桜土浦"),
"TU": (0, 0, 0, "土浦"),
"OA": (0, 0, 0, "大洗"),
"HS": (0, 0, 0, "浜坂"),
"KA": (0, 0, 0, "香住"),
"SK": (0, 0, 0, "下北沢"),
"SO": (0, 0, 0, "東雲"),
"SS": (1039, 63, 916, "下関"),
},
# 竜ヶ崎臨海鉄道 竜ヶ崎線
"GR": {
"TK": (535, 64, 637, "筑波"),
"RS": (529, 65, 895, "竜ヶ崎"),
"KZ": (619, 65, 985, "神津島"),
"SS": (1044, 63, 916, "下関"),
},
# ささみ鉄道 ちくわエクスプレス線
"JC": {
"HH": (-261, 59, 346, "役場前"),
"DM": (0, 0, 0, "大明神前"),
"SI": (0, 0, 0, "ささみ温泉"),
"NM": (0, 0, 0, "練馬"),
"YY": (0, 0, 0, "雪見町"),
},
# はる航空 はる空港-津ヘリポート線
"AT": {
"AA": (34, 64, 272, "はる空港"),
"TT": (0, 0, 0, "津ヘリポート")
},
# はる航空 はる空港-しきみ島線
"AS": {
"AA": (38, 64, 272, "はる空港"),
"SL": (0, 0, 0, "しきみ島空港"),
},
# はる航空 はる空港-大室線
"AO": {
"AA": (30, 64, 272, "はる空港"),
"OM": (0, 0, 0, "大室飛行場"),
},
# ふりかけ鉄道 Capital Line
"ZC": {
"FU": (0, 0, 0, "藤が丘"),
"SJ": (0, 0, 0, "しきみ城"),
"MR": (0, 0, 0, "三原"),
},
# SRH 外環線
"ZG": {
"TK": (0, 0, 0, "筑波"),
"NS": (0, 0, 0, "西砂丘村"),
},
# かき地下鉄 姫子線
"ZH": {
"YT": (0, 0, 0, "宿津平原"),
"HM": (0, 0, 0, "姫子市"),
},
# はる地下鉄 調布市地下鉄線
"ZT": {
"TF": (0, 0, 0, "調布"),
"HT": (0, 0, 0, "東調布"),
"NS": (0, 0, 0, "西砂丘村"),
},
# その他(なし)
"ZZ": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment