diff --git a/public/resources/templates/chengdumetro/00config.json b/public/resources/templates/chengdumetro/00config.json index 44361518..27b9d3b8 100644 --- a/public/resources/templates/chengdumetro/00config.json +++ b/public/resources/templates/chengdumetro/00config.json @@ -127,7 +127,20 @@ "name": { "en": "Line 19", "zh-Hans": "19号线", - "zh-Hant": "19號線" + "zh-Hant": "19號線", + "ko": "19호선", + "ja": "19号線" + }, + "uploadBy": "Wuyirende" + }, + { + "filename": "cd27", + "name": { + "en": "Line 27", + "zh-Hans": "27号线", + "zh-Hant": "27號線", + "ja": "27号線", + "ko": "27호선" }, "uploadBy": "Wuyirende" } diff --git a/public/resources/templates/chengdumetro/cd19.json b/public/resources/templates/chengdumetro/cd19.json index 34cd6ea7..1887d902 100644 --- a/public/resources/templates/chengdumetro/cd19.json +++ b/public/resources/templates/chengdumetro/cd19.json @@ -1,11 +1,11 @@ { "svgWidth": { - "destination": 1200, - "runin": 1200, + "destination": 1600, + "runin": 1600, "railmap": 1800, - "indoor": 2600 + "indoor": 3000 }, - "svg_height": 400, + "svg_height": 380, "style": "shmetro", "y_pc": 50, "padding": 5, @@ -25,10 +25,6 @@ "current_stn_idx": "3baF8i", "stn_list": { "linestart": { - "name": [ - "LEFT END", - "LEFT END" - ], "num": "00", "services": [ "local" @@ -46,13 +42,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "LEFT END", + "en": "LEFT END" + } }, "Cs7536": { - "name": [ - "黄石", - "Huangshi" - ], "num": "01", "services": [ "local" @@ -72,13 +68,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "黄石", + "en": "Huangshi" + } }, "3baF8i": { - "name": [ - "金星", - "Jinxing" - ], "num": "02", "services": [ "local" @@ -98,13 +94,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "金星", + "en": "Jinxing" + } }, "lineend": { - "name": [ - "RIGHT END", - "RIGHT END" - ], "num": "00", "services": [ "local" @@ -122,13 +118,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "RIGHT END", + "en": "RIGHT END" + } }, "_R8ugY": { - "name": [ - "市五医院", - "Chengdu Fifth People's Hospital" - ], "num": "00", "services": [ "local" @@ -148,13 +144,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "市五医院", + "en": "Chengdu Fifth People's Hospital" + } }, "7VXoTa": { - "name": [ - "凤溪河", - "Fengxihe" - ], "num": "00", "services": [ "local" @@ -189,13 +185,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "凤溪河", + "en": "Fengxihe" + } }, "Oum5M9": { - "name": [ - "温泉大道", - "Wenquan Avenue" - ], "num": "00", "services": [ "local" @@ -215,13 +211,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "温泉大道", + "en": "Wenquan Avenue" + } }, "jSKoFH": { - "name": [ - "明光", - "Mingguang" - ], "num": "00", "services": [ "local" @@ -241,13 +237,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "明光", + "en": "Mingguang" + } }, "t4-BT4": { - "name": [ - "九江北", - "Jiujiang North" - ], "num": "00", "services": [ "local" @@ -282,13 +278,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "九江北", + "en": "Jiujiang North" + } }, "3LQwkR": { - "name": [ - "龙桥路", - "Longqiao Road" - ], "num": "00", "services": [ "local" @@ -323,13 +319,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "龙桥路", + "en": "Longqiao Road" + } }, "ksaf0D": { - "name": [ - "双流机场2航站楼东", - "East of Terminal 2\\of Shuangliu International Airport" - ], "num": "00", "services": [ "local" @@ -364,15 +360,15 @@ "paid_area": true }, "loop_pivot": false, - "one_line": true, - "int_padding": 310, - "facility": "airport" + "one_line": false, + "int_padding": 210, + "facility": "airport", + "localisedName": { + "zh": "双流机场2航站楼东", + "en": "East of Terminal 2\\of Shuangliu International Airport" + } }, "QcjkMS": { - "name": [ - "龙港", - "Longgang" - ], "num": "00", "services": [ "local" @@ -385,20 +381,35 @@ ], "transfer": { "groups": [ - {} + { + "lines": [ + { + "theme": [ + "chengdu", + "cd8", + "#a6c214", + "#fff" + ], + "name": [ + "8号线", + "Line 8" + ] + } + ] + } ], "tick_direc": "r", "paid_area": true }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 210, + "localisedName": { + "zh": "龙港", + "en": "Longgang" + } }, "cNRCWa": { - "name": [ - "温家山", - "Wenjiashan" - ], "num": "00", "services": [ "local" @@ -418,13 +429,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "温家山", + "en": "Wenjiashan" + } }, "GOAITc": { - "name": [ - "牧华路", - "Muhua Road" - ], "num": "00", "services": [ "local" @@ -444,13 +455,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "牧华路", + "en": "Muhua Road" + } }, "cmGP4R": { - "name": [ - "怡心湖", - "Yixin Lake" - ], "num": "00", "services": [ "local" @@ -485,13 +496,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "怡心湖", + "en": "Yixin Lake" + } }, "CPHxSw": { - "name": [ - "正兴湾", - "Zhengxingwan" - ], "num": "00", "services": [ "local" @@ -511,13 +522,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "正兴湾", + "en": "Zhengxingwan" + } }, "LmDJX9": { - "name": [ - "红莲", - "Honglian" - ], "num": "00", "services": [ "local" @@ -537,13 +548,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "红莲", + "en": "Honglian" + } }, "_eSkBI": { - "name": [ - "天府商务区", - "Tianfu Commercial District" - ], "num": "00", "services": [ "local" @@ -578,13 +589,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "天府商务区", + "en": "Tianfu Commercial District" + } }, "W3aOCS": { - "name": [ - "蓝家店", - "Lanjiadian" - ], "num": "00", "services": [ "local" @@ -604,13 +615,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 355 + "int_padding": 355, + "localisedName": { + "zh": "蓝家店", + "en": "Lanjiadian" + } }, "GEvQ8F": { - "name": [ - "天府站", - "Tianfu Station" - ], "num": "00", "services": [ "local" @@ -646,13 +657,13 @@ "loop_pivot": false, "one_line": true, "int_padding": 210, - "facility": "railway" + "facility": "railway", + "localisedName": { + "zh": "天府站", + "en": "Tianfu Station" + } }, "pu3FOK": { - "name": [ - "三岔", - "Sancha" - ], "num": "00", "services": [ "local" @@ -687,13 +698,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "三岔", + "en": "Sancha" + } }, "gr2p-x": { - "name": [ - "福田", - "Futian" - ], "num": "00", "services": [ "local" @@ -719,6 +730,18 @@ "18号线", "Line 18" ] + }, + { + "theme": [ + "chengdu", + "zyl", + "#75787b", + "#fff" + ], + "name": [ + "S3号线", + "Line S3" + ] } ] } @@ -728,13 +751,13 @@ }, "loop_pivot": false, "one_line": true, - "int_padding": 210 + "int_padding": 210, + "localisedName": { + "zh": "福田", + "en": "Futian" + } }, "43rESo": { - "name": [ - "天府机场3号4号航站楼", - "Terminal 3&4 of Tianfu International Airport" - ], "num": "00", "services": [], "parents": [ @@ -751,14 +774,14 @@ "paid_area": true }, "loop_pivot": false, - "one_line": true, - "int_padding": 355 + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "天府机场3号4号航站楼", + "en": "Terminal 3&4 of Tianfu International Airport" + } }, "9T12gN": { - "name": [ - "天府机场1号2号航站楼", - "Terminal 1&2 of Tianfu International Airport" - ], "num": "00", "services": [ "local" @@ -792,15 +815,15 @@ "paid_area": true }, "loop_pivot": false, - "one_line": true, - "int_padding": 372, - "facility": "airport" + "one_line": false, + "int_padding": 220, + "facility": "airport", + "localisedName": { + "zh": "天府机场1号2号航站楼", + "en": "Terminal 1&2 of Tianfu International Airport" + } }, "OVILhD": { - "name": [ - "天府机场北", - "Tianfu International Airport North" - ], "num": "00", "services": [ "local" @@ -834,8 +857,12 @@ "paid_area": true }, "loop_pivot": false, - "one_line": true, - "int_padding": 226 + "one_line": false, + "int_padding": 180, + "localisedName": { + "zh": "天府机场北", + "en": "Tianfu International Airport North" + } } }, "namePosMTR": { diff --git a/public/resources/templates/chengdumetro/cd27.json b/public/resources/templates/chengdumetro/cd27.json new file mode 100644 index 00000000..8af7a782 --- /dev/null +++ b/public/resources/templates/chengdumetro/cd27.json @@ -0,0 +1,764 @@ +{ + "svgWidth": { + "destination": 1400, + "runin": 1400, + "railmap": 1800, + "indoor": 2000 + }, + "svg_height": 360, + "style": "shmetro", + "y_pc": 50, + "padding": 5, + "branchSpacingPct": 33, + "direction": "l", + "platform_num": "", + "theme": [ + "chengdu", + "cd27", + "#00A3E0", + "#fff" + ], + "line_name": [ + "27号线", + "Line 27" + ], + "current_stn_idx": "eaZIAd", + "stn_list": { + "linestart": { + "localisedName": { + "en": "LEFT END" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [], + "children": [ + "19Byid" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "Wn87an": { + "localisedName": { + "zh": "金沙滨河公园", + "en": "Jinsha Binhe Park" + }, + "localisedSecondaryName": {}, + "num": "01", + "services": [ + "local" + ], + "parents": [ + "dApOna" + ], + "children": [ + "eaZIAd" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "eaZIAd": { + "localisedName": { + "zh": "蜀鑫路", + "en": "Shuxin Road" + }, + "localisedSecondaryName": {}, + "num": "02", + "services": [ + "local" + ], + "parents": [ + "Wn87an" + ], + "children": [ + "lineend" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "lineend": { + "localisedName": { + "en": "RIGHT END" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "eaZIAd" + ], + "children": [], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "dApOna": { + "localisedName": { + "zh": "黄忠", + "en": "Huangzhong" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "QaOFtU" + ], + "children": [ + "Wn87an" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "QaOFtU": { + "localisedName": { + "zh": "羊犀立交", + "en": "Yangxi Flyover" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "u8MciC" + ], + "children": [ + "dApOna" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "chengdu", + "cd2", + "#eb5a35", + "#fff" + ], + "name": [ + "2号线", + "Line 2" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 180 + }, + "u8MciC": { + "localisedName": { + "zh": "金牛公园", + "en": "Jinniu Park" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "opbDj_" + ], + "children": [ + "QaOFtU" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "opbDj_": { + "localisedName": { + "zh": "花照壁北", + "en": "Huazhaobi North" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "Lkurvi" + ], + "children": [ + "u8MciC" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "Lkurvi": { + "localisedName": { + "zh": "金府", + "en": "Jinfu" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "qjVx0X" + ], + "children": [ + "opbDj_" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "qjVx0X": { + "localisedName": { + "zh": "新桥", + "en": "Xinqiao" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "1o_V4D" + ], + "children": [ + "Lkurvi" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "1o_V4D": { + "localisedName": { + "zh": "沙河源", + "en": "Shaheyuan" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "Z70w39" + ], + "children": [ + "qjVx0X" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "Z70w39": { + "localisedName": { + "zh": "洞子口", + "en": "Dongzikou" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "jXGfY2" + ], + "children": [ + "1o_V4D" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "chengdu", + "cd5", + "#a23e92", + "#fff" + ], + "name": [ + "5号线", + "Line 5" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 180 + }, + "jXGfY2": { + "localisedName": { + "zh": "王贾桥", + "en": "Wangjiaqiao" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "C2PoI3" + ], + "children": [ + "Z70w39" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "C2PoI3": { + "localisedName": { + "zh": "双水碾", + "en": "Shuangshuinian" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "upTxsW" + ], + "children": [ + "jXGfY2" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "upTxsW": { + "localisedName": { + "zh": "韦家碾", + "en": "Weijianian" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "thoqiG" + ], + "children": [ + "C2PoI3" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "chengdu", + "cd1", + "#222a8c", + "#fff" + ], + "name": [ + "1号线", + "Line 1" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 180 + }, + "thoqiG": { + "localisedName": { + "zh": "赖家店", + "en": "Laijiadian" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "at9hsF" + ], + "children": [ + "upTxsW" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "at9hsF": { + "localisedName": { + "zh": "白仁店", + "en": "Bairendian" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "ZfVGwS" + ], + "children": [ + "thoqiG" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "ZfVGwS": { + "localisedName": { + "zh": "鲤鱼湾", + "en": "Liyuwan" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "BsHGgT" + ], + "children": [ + "at9hsF" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "BsHGgT": { + "localisedName": { + "zh": "范家巷", + "en": "Fanjia Alley" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "fjmhSZ" + ], + "children": [ + "ZfVGwS" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "fjmhSZ": { + "localisedName": { + "zh": "三圣寺", + "en": "Sanshengsi" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "2j38CL" + ], + "children": [ + "BsHGgT" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "2j38CL": { + "localisedName": { + "zh": "石门坎", + "en": "Shimenkan" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "j_ZytY" + ], + "children": [ + "fjmhSZ" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "j_ZytY": { + "localisedName": { + "zh": "旃檀寺", + "en": "Zhantan Temple" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "ejKjFF" + ], + "children": [ + "2j38CL" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "ejKjFF": { + "localisedName": { + "zh": "兴城大道", + "en": "Xingcheng Avenue" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "7PhiT1" + ], + "children": [ + "j_ZytY" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "7PhiT1": { + "localisedName": { + "zh": "慈义", + "en": "Ciyi" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "19Byid" + ], + "children": [ + "ejKjFF" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "19Byid": { + "localisedName": { + "zh": "石佛", + "en": "Shifo" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "linestart" + ], + "children": [ + "7PhiT1" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + } + }, + "namePosMTR": { + "isStagger": true, + "isFlip": true + }, + "customiseMTRDest": { + "isLegacy": false, + "terminal": false + }, + "line_num": "1", + "spanLineNum": true, + "psd_num": "1", + "info_panel_type": "sh2020", + "direction_gz_x": 40, + "direction_gz_y": 70, + "coline": {}, + "loop": false, + "loop_info": { + "bank": true, + "left_and_right_factor": 1, + "bottom_factor": 1 + }, + "version": "5.17.1" +} \ No newline at end of file