diff --git a/public/resources/templates/bjsubway/00config.json b/public/resources/templates/bjsubway/00config.json index 771d0da3..05fec9cf 100644 --- a/public/resources/templates/bjsubway/00config.json +++ b/public/resources/templates/bjsubway/00config.json @@ -238,5 +238,23 @@ "zh-Hant": "大興機場線" }, "uploadBy": "52PD" + }, + { + "filename": "bj3", + "name": { + "en": "Line 3", + "zh-Hans": "3号线", + "zh-Hant": "3号綫" + }, + "uploadBy": "alexsio33-chn" + }, + { + "filename": "bj12", + "name": { + "en": "Line 12", + "zh-Hans": "12号线", + "zh-Hant": "12号綫" + }, + "uploadBy": "alexsio33-chn" } ] \ No newline at end of file diff --git a/public/resources/templates/bjsubway/bj12.json b/public/resources/templates/bjsubway/bj12.json new file mode 100644 index 00000000..79a6bba5 --- /dev/null +++ b/public/resources/templates/bjsubway/bj12.json @@ -0,0 +1,809 @@ +{ + "svgWidth": { + "destination": 1500, + "runin": 1500, + "railmap": 1500, + "indoor": 1500 + }, + "svg_height": 400, + "style": "shmetro", + "y_pc": 50, + "padding": 10, + "branchSpacingPct": 33, + "direction": "r", + "platform_num": "1", + "theme": [ + "other", + "other", + "#A52A2A", + "#fff" + ], + "line_name": [ + "12号线", + "Line 12" + ], + "current_stn_idx": "stn_5ikdzr1nQS", + "stn_list": { + "linestart": { + "name": [ + "LEFT END", + "LEFT END" + ], + "num": "00", + "services": [ + "local" + ], + "parents": [], + "children": [ + "stn_5ikdzr1nQS" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "lineend": { + "name": [ + "RIGHT END", + "RIGHT END" + ], + "num": "00", + "services": [ + "local" + ], + "parents": [ + "stn_4VNAxGkh16" + ], + "children": [], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355, + "branch": {} + }, + "stn_4VNAxGkh16": { + "name": [ + "四季青桥", + "Sijiqing Qiao" + ], + "num": "20", + "services": [ + "local" + ], + "parents": [ + "stn_ZPZzkyxa3K" + ], + "children": [ + "lineend" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_ZPZzkyxa3K": { + "name": [ + "蓝靛厂", + "Landianchang" + ], + "num": "19", + "services": [ + "local" + ], + "parents": [ + "stn_mYP6AUaiN1" + ], + "children": [ + "stn_4VNAxGkh16" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_mYP6AUaiN1": { + "name": [ + "长春桥", + "Changchun Qiao" + ], + "num": "18", + "services": [ + "local" + ], + "parents": [ + "stn_sFX-Cdcj08" + ], + "children": [ + "stn_ZPZzkyxa3K" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj10", + "#009bc0", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_sFX-Cdcj08": { + "name": [ + "苏州桥", + "Suzhou Qiao" + ], + "num": "17", + "services": [ + "local" + ], + "parents": [ + "stn_jMi6D7shjE" + ], + "children": [ + "stn_mYP6AUaiN1" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj16", + "#76a22d", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_jMi6D7shjE": { + "name": [ + "人民大学", + "Renmin Univ." + ], + "num": "16", + "services": [ + "local" + ], + "parents": [ + "stn_tQTQxG5uWI" + ], + "children": [ + "stn_sFX-Cdcj08" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj4", + "#008e9c", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_tQTQxG5uWI": { + "name": [ + "大钟寺", + "Dazhong Si" + ], + "num": "15", + "services": [ + "local" + ], + "parents": [ + "stn_466Tn9Grk4" + ], + "children": [ + "stn_jMi6D7shjE" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj13", + "#f6e613", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_466Tn9Grk4": { + "name": [ + "蓟门桥", + "Jimenqiao" + ], + "num": "14", + "services": [ + "local" + ], + "parents": [ + "stn_NfiZCxN6aM" + ], + "children": [ + "stn_tQTQxG5uWI" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj27cp", + "#dd82b3", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_NfiZCxN6aM": { + "name": [ + "北太平庄", + "Beitaipingzhuang" + ], + "num": "13", + "services": [ + "local" + ], + "parents": [ + "stn_tN-_jD0lbb" + ], + "children": [ + "stn_466Tn9Grk4" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj19", + "#D6ABC1", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_tN-_jD0lbb": { + "name": [ + "马甸桥", + "Madian Qiao" + ], + "num": "12", + "services": [ + "local" + ], + "parents": [ + "stn_4_LS1Of64p" + ], + "children": [ + "stn_NfiZCxN6aM" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_4_LS1Of64p": { + "name": [ + "安华桥", + "Anhua Qiao" + ], + "num": "11", + "services": [ + "local" + ], + "parents": [ + "stn_rwCKAo7PPu" + ], + "children": [ + "stn_tN-_jD0lbb" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj8", + "#009b6b", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_rwCKAo7PPu": { + "name": [ + "安贞桥", + "Anzhen Qiao" + ], + "num": "10", + "services": [ + "local" + ], + "parents": [ + "stn_bkoS4vYlId" + ], + "children": [ + "stn_4_LS1Of64p" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_bkoS4vYlId": { + "name": [ + "和平西桥", + "Heping Xiqiao" + ], + "num": "9", + "services": [ + "local" + ], + "parents": [ + "stn_oQUTiK0Qfv" + ], + "children": [ + "stn_rwCKAo7PPu" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj5", + "#a61c80", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_oQUTiK0Qfv": { + "name": [ + "光熙门", + "Guangxi Men" + ], + "num": "8", + "services": [ + "local" + ], + "parents": [ + "stn_Ld178T9Va_" + ], + "children": [ + "stn_bkoS4vYlId" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj13", + "#f6e613", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_Ld178T9Va_": { + "name": [ + "西坝河", + "Xibahe" + ], + "num": "7", + "services": [ + "local" + ], + "parents": [ + "stn_KofH_YmXFS" + ], + "children": [ + "stn_oQUTiK0Qfv" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj17", + "#00A9A9", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_KofH_YmXFS": { + "name": [ + "三元桥", + "Sanyuanqiao" + ], + "num": "6", + "services": [ + "local" + ], + "parents": [ + "stn_jDLpQCzziI" + ], + "children": [ + "stn_Ld178T9Va_" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj10", + "#009bc0", + "#fff" + ], + "name": [ + "", + "" + ] + }, + { + "theme": [ + "beijing", + "bj34sj", + "#a39bbb", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_jDLpQCzziI": { + "name": [ + "将台西", + "Jiangtaixi" + ], + "num": "5", + "services": [ + "local" + ], + "parents": [ + "stn_sYnkutyKmM" + ], + "children": [ + "stn_KofH_YmXFS" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_sYnkutyKmM": { + "name": [ + "高家园", + "Gaojia Yuan" + ], + "num": "4", + "services": [ + "local" + ], + "parents": [ + "stn_ymUnHFVqrJ" + ], + "children": [ + "stn_jDLpQCzziI" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_ymUnHFVqrJ": { + "name": [ + "驼房营", + "Tuofangying" + ], + "num": "3", + "services": [ + "local" + ], + "parents": [ + "stn_e5p_JAyB0I" + ], + "children": [ + "stn_sYnkutyKmM" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_e5p_JAyB0I": { + "name": [ + "东坝西", + "Dongbaxi" + ], + "num": "2", + "services": [ + "local" + ], + "parents": [ + "stn_5ikdzr1nQS" + ], + "children": [ + "stn_ymUnHFVqrJ" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_5ikdzr1nQS": { + "name": [ + "东坝北", + "Dongbabei" + ], + "num": "1", + "services": [ + "local" + ], + "parents": [ + "linestart" + ], + "children": [ + "stn_e5p_JAyB0I" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "other", + "other", + "#fe007f", + "#fff" + ], + "name": [ + "三号线", + "Line 3" + ] + } + ] + } + ], + "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": "bj12", + "psd_num": "1", + "info_panel_type": "sh", + "direction_gz_x": 40, + "direction_gz_y": 70, + "coline": {}, + "loop": false, + "loop_info": { + "bank": true, + "left_and_right_factor": 0, + "bottom_factor": 1 + } +} \ No newline at end of file diff --git a/public/resources/templates/bjsubway/bj3.json b/public/resources/templates/bjsubway/bj3.json new file mode 100644 index 00000000..3ccf2904 --- /dev/null +++ b/public/resources/templates/bjsubway/bj3.json @@ -0,0 +1,432 @@ +{ + "svgWidth": { + "destination": 1500, + "runin": 1500, + "railmap": 1500, + "indoor": 1500 + }, + "svg_height": 400, + "style": "shmetro", + "y_pc": 50, + "padding": 10, + "branchSpacingPct": 33, + "direction": "r", + "platform_num": "1", + "theme": [ + "other", + "other", + "#fe007f", + "#fff" + ], + "line_name": [ + "三号线", + "Line 3" + ], + "current_stn_idx": "stn_5ikdzr1nQS", + "stn_list": { + "linestart": { + "name": [ + "LEFT END", + "LEFT END" + ], + "num": "00", + "services": [ + "local" + ], + "parents": [], + "children": [ + "stn_5ikdzr1nQS" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "lineend": { + "name": [ + "RIGHT END", + "RIGHT END" + ], + "num": "00", + "services": [ + "local" + ], + "parents": [ + "stn_7_Z8amz9XL" + ], + "children": [], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355, + "branch": {} + }, + "stn_7_Z8amz9XL": { + "name": [ + "东四十条", + "Dongsi Shitiao" + ], + "num": "10", + "services": [ + "local" + ], + "parents": [ + "stn_KVxHUg5Pf-" + ], + "children": [ + "lineend" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj2", + "#146097", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_KVxHUg5Pf-": { + "name": [ + "工人体育场", + "Gonrentiyuchang\\(Workers' Stadium)" + ], + "num": "9", + "services": [ + "local" + ], + "parents": [ + "stn_Vv-ktkzUKw" + ], + "children": [ + "stn_7_Z8amz9XL" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj17", + "#00A9A9", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_Vv-ktkzUKw": { + "name": [ + "团结湖", + "Tuanjiehu" + ], + "num": "8", + "services": [ + "local" + ], + "parents": [ + "stn_uwdE4JYaL8" + ], + "children": [ + "stn_KVxHUg5Pf-" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj10", + "#009bc0", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_uwdE4JYaL8": { + "name": [ + "朝阳公园", + "Chaoyang Park" + ], + "num": "7", + "services": [ + "local" + ], + "parents": [ + "stn_2_yy3trCDA" + ], + "children": [ + "stn_Vv-ktkzUKw" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "beijing", + "bj14", + "#d5a7a1", + "#000" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_2_yy3trCDA": { + "name": [ + "石佛营", + "Shifoying" + ], + "num": "6", + "services": [ + "local" + ], + "parents": [ + "stn_cyUHYnro43" + ], + "children": [ + "stn_uwdE4JYaL8" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_cyUHYnro43": { + "name": [ + "朝阳站", + "Chaoyang Railway station" + ], + "num": "5", + "services": [ + "local" + ], + "parents": [ + "stn_rwMN5OsGmX" + ], + "children": [ + "stn_2_yy3trCDA" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_rwMN5OsGmX": { + "name": [ + "姚家园", + "Yaojiayuan" + ], + "num": "4", + "services": [ + "local" + ], + "parents": [ + "stn_vhUqmNA18f" + ], + "children": [ + "stn_cyUHYnro43" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_vhUqmNA18f": { + "name": [ + "东坝南", + "Dongbanan" + ], + "num": "3", + "services": [ + "local" + ], + "parents": [ + "stn_EPJGrOl5tK" + ], + "children": [ + "stn_rwMN5OsGmX" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_EPJGrOl5tK": { + "name": [ + "东坝", + "Dongba" + ], + "num": "2", + "services": [ + "local" + ], + "parents": [ + "stn_5ikdzr1nQS" + ], + "children": [ + "stn_vhUqmNA18f" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + }, + "stn_5ikdzr1nQS": { + "name": [ + "东坝北", + "Dongbabei" + ], + "num": "1", + "services": [ + "local" + ], + "parents": [ + "linestart" + ], + "children": [ + "stn_EPJGrOl5tK" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "other", + "other", + "#A52A2A", + "#fff" + ], + "name": [ + "", + "" + ] + } + ] + } + ], + "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": "bj3", + "psd_num": "1", + "info_panel_type": "sh", + "direction_gz_x": 40, + "direction_gz_y": 70, + "coline": {}, + "loop": false, + "loop_info": { + "bank": true, + "left_and_right_factor": 0, + "bottom_factor": 1 + } +} \ No newline at end of file