Skip to content

Commit

Permalink
#1541 Resources: New templates of Pyongyang Metro
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-unk authored and github-actions[bot] committed Dec 28, 2024
1 parent 3da9a91 commit 2351eb9
Show file tree
Hide file tree
Showing 4 changed files with 759 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/resources/other-company-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@
"ko": "난퉁 지하철"
}
},
{
"id": "pymetro",
"name": {
"en": "Pyongyang Metro",
"zh-Hans": "平壤地铁",
"zh-Hant": "平壤地鐵"
}
},
{
"id": "qdmetro",
"name": {
Expand Down
24 changes: 24 additions & 0 deletions public/resources/templates/pymetro/00config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"filename": "py1",
"name": {
"en": "Chollima Line",
"zh-Hans": "千里马线",
"zh-Hant": "千里馬線",
"ja": "千里馬線",
"ko": "천리마선"
},
"uploadBy": "mike-unk"
},
{
"filename": "py2",
"name": {
"en": "Hyoksin Line",
"zh-Hans": "革新线",
"zh-Hant": "革新線",
"ja": "革新線",
"ko": "혁신선"
},
"uploadBy": "mike-unk"
}
]
354 changes: 354 additions & 0 deletions public/resources/templates/pymetro/py1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,354 @@
{
"svgWidth": {
"destination": 1000,
"runin": 1200,
"railmap": 1000,
"indoor": 1200
},
"svg_height": 300,
"style": "mtr",
"y_pc": 48,
"padding": 8,
"branchSpacingPct": 33,
"direction": "l",
"platform_num": "1",
"theme": [
"pyongyang",
"chollima",
"#ff0000",
"#fff"
],
"line_name": [
"千里馬線",
"Chollima Line"
],
"current_stn_idx": "SfdaNi",
"stn_list": {
"linestart": {
"localisedName": {
"en": "LEFT END"
},
"localisedSecondaryName": {},
"num": "00",
"services": [
"local"
],
"parents": [],
"children": [
"9_bqay"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355
},
"9_bqay": {
"localisedName": {
"zh": "紅星",
"en": "Pulgunbyol"
},
"num": "01",
"services": [
"local"
],
"parents": [
"linestart"
],
"children": [
"VlHNX7"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355
},
"VlHNX7": {
"localisedName": {
"zh": "戰友",
"en": "Jonu"
},
"num": "02",
"services": [
"local"
],
"parents": [
"9_bqay"
],
"children": [
"PyEh4K"
],
"transfer": {
"groups": [
{
"lines": []
},
{
"lines": [
{
"theme": [
"pyongyang",
"hyeoksin",
"#00ff00",
"#fff"
],
"name": [
"革新線",
"Hyoksin Line"
]
}
],
"name": [
"戰勝",
"Jonsung"
]
}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"lineend": {
"localisedName": {
"en": "RIGHT END"
},
"localisedSecondaryName": {},
"num": "00",
"services": [
"local"
],
"parents": [
"SfdaNi"
],
"children": [],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"PyEh4K": {
"localisedName": {
"zh": "凱旋",
"en": "Kaeson"
},
"num": "03",
"services": [
"local"
],
"parents": [
"VlHNX7"
],
"children": [
"pXQHFD"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"AEOM0z": {
"localisedName": {
"zh": "勝利",
"en": "Sungni"
},
"num": "05",
"services": [
"local"
],
"parents": [
"pXQHFD"
],
"children": [
"XFZs14"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"pXQHFD": {
"localisedName": {
"zh": "牡丹峰",
"en": "Moranbong"
},
"num": "04",
"services": [
"local"
],
"parents": [
"PyEh4K"
],
"children": [
"AEOM0z"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355
},
"XFZs14": {
"localisedName": {
"zh": "烽火",
"en": "Ponghwa"
},
"num": "06",
"services": [
"local"
],
"parents": [
"AEOM0z"
],
"children": [
"OyevP1"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"SfdaNi": {
"localisedName": {
"zh": "復興",
"en": "Puhung"
},
"num": "08",
"services": [
"local"
],
"parents": [
"OyevP1"
],
"children": [
"lineend"
],
"transfer": {
"groups": [
{}
],
"tick_direc": "r",
"paid_area": true
},
"loop_pivot": false,
"one_line": true,
"int_padding": 355,
"branch": {}
},
"OyevP1": {
"localisedName": {
"zh": "榮光",
"en": "Yonggwang"
},
"num": "07",
"services": [
"local"
],
"parents": [
"XFZs14"
],
"children": [
"SfdaNi"
],
"transfer": {
"groups": [
{},
{
"lines": [
{
"theme": [
"pyongyang",
"",
"#AAAAAA",
"#fff"
],
"name": [
"鐵路",
"Railway"
],
"facility": "hsr"
}
],
"name": [
"平壤站",
"Pyongyang Station"
]
}
],
"tick_direc": "r",
"paid_area": false
},
"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": "gz1",
"direction_gz_x": 40,
"direction_gz_y": 70,
"coline": {},
"loop": false,
"loop_info": {
"bank": true,
"left_and_right_factor": 1,
"bottom_factor": 1
}
}
Loading

0 comments on commit 2351eb9

Please sign in to comment.