Skip to content

Commit

Permalink
#1531 Resources: New templates of Shanghai Metro
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay20081229 authored and github-actions[bot] committed Dec 27, 2024
1 parent 3da9a91 commit c5e5c67
Show file tree
Hide file tree
Showing 2 changed files with 376 additions and 0 deletions.
10 changes: 10 additions & 0 deletions public/resources/templates/shmetro/00config.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,15 @@
"ko": "자기부상선"
},
"uploadBy": "polygon827"
},
{
"filename": "all",
"name": {
"en": "Airport Link Line",
"zh-Hans": "机场联络线",
"zh-Hant": "機場聯絡線",
"ko": "공항 연락선"
},
"uploadBy": "Jay20081229"
}
]
366 changes: 366 additions & 0 deletions public/resources/templates/shmetro/all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,366 @@
{
"svgWidth": {
"destination": 1300,
"runin": 1850,
"railmap": 1350,
"indoor": 1500
},
"svg_height": 400,
"style": "shmetro",
"y_pc": 50,
"padding": 19,
"branchSpacingPct": 33,
"direction": "l",
"platform_num": "",
"theme": [
"shanghai",
"airport",
"#236890",
"#fff"
],
"line_name": [
"机场联络线",
"Airport Link Line"
],
"current_stn_idx": "FR7PZM",
"stn_list": {
"linestart": {
"localisedName": {
"en": "LEFT END"
},
"localisedSecondaryName": {},
"num": "00",
"services": [
"local"
],
"parents": [],
"children": [
"44w7EI"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"44w7EI": {
"localisedName": {
"zh": "虹桥2号航站楼",
"en": "Hongqiao Airport Terminal 2"
},
"num": "01",
"services": [
"local"
],
"parents": [
"linestart"
],
"children": [
"FR7PZM"
],
"transfer": {
"groups": [
{
"lines": [
{
"theme": [
"shanghai",
"sh2",
"#82BF25",
"#000"
],
"name": [
"2号线",
"Line 2"
]
},
{
"theme": [
"shanghai",
"sh10",
"#C6AFD4",
"#000"
],
"name": [
"10号线",
"Line 10"
]
}
]
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {},
"facility": "airport"
},
"5eCm7w": {
"localisedName": {
"zh": "浦东1号2号航站楼",
"en": "Pudong Airport Terminal 1&2"
},
"num": "07",
"services": [
"local"
],
"parents": [
"733swp"
],
"children": [
"lineend"
],
"transfer": {
"groups": [
{
"lines": [
{
"theme": [
"shanghai",
"sh2",
"#82BF25",
"#000"
],
"name": [
"2号线",
"Line 2"
]
}
]
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {},
"facility": "airport"
},
"lineend": {
"localisedName": {
"en": "RIGHT END"
},
"localisedSecondaryName": {},
"num": "00",
"services": [
"local"
],
"parents": [
"5eCm7w"
],
"children": [],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"FR7PZM": {
"localisedName": {
"zh": "中春路",
"en": "Zhongchun Road"
},
"num": "02",
"services": [
"local"
],
"parents": [
"44w7EI"
],
"children": [
"sFe3w5"
],
"transfer": {
"groups": [
{
"lines": [
{
"theme": [
"shanghai",
"sh9",
"#87CAED",
"#000"
],
"name": [
"9号线",
"Line 9"
]
}
]
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"sFe3w5": {
"localisedName": {
"zh": "景洪路",
"en": "Jinghong Rd."
},
"num": "03",
"services": [
"local"
],
"parents": [
"FR7PZM"
],
"children": [
"ceM61V"
],
"transfer": {
"groups": [
{
"lines": []
},
{
"lines": [
{
"theme": [
"shanghai",
"sh15",
"#BCA886",
"#000"
],
"name": [
"15号线",
"Line 15"
]
}
]
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"ceM61V": {
"localisedName": {
"zh": "三林南",
"en": "South Sanlin"
},
"num": "04",
"services": [
"local"
],
"parents": [
"sFe3w5"
],
"children": [
"kVHTH4"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"kVHTH4": {
"localisedName": {
"zh": "康桥东",
"en": "East Kangqiao"
},
"num": "05",
"services": [
"local"
],
"parents": [
"ceM61V"
],
"children": [
"733swp"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {}
},
"733swp": {
"localisedName": {
"zh": "上海国际旅游度假区",
"en": "Shanghai International Resort"
},
"num": "06",
"services": [
"local"
],
"parents": [
"kVHTH4"
],
"children": [
"5eCm7w"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 300,
"branch": {},
"facility": "disney"
}
},
"namePosMTR": {
"isStagger": true,
"isFlip": true
},
"customiseMTRDest": {
"isLegacy": false,
"terminal": false
},
"line_num": "1",
"spanLineNum": true,
"psd_num": "1",
"info_panel_type": "gz1",
"direction_gz_x": 40,
"direction_gz_y": 70,
"coline": {},
"loop": false,
"loop_info": {
"bank": true,
"left_and_right_factor": 1,
"bottom_factor": 1
}
}

0 comments on commit c5e5c67

Please sign in to comment.