Skip to content

Commit a92549e

Browse files
committed
test(fixtures): ✅ add Korea-to-Japan sample GPX, KML, and JSON fixtures
- GPX: 37-point Seoul→Tokyo route (Apr 2025) - KML: 38-point gx:Track format (May 2025) - JSON: 40-point Google Location History format (Jun 2025)
1 parent 7e077de commit a92549e

3 files changed

Lines changed: 254 additions & 0 deletions

File tree

e2e/fixtures/korea-japan.gpx

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="travelback-test">
3+
<trk>
4+
<name>Korea to Japan</name>
5+
<trkseg>
6+
<!-- Seoul - Departure -->
7+
<trkpt lat="37.5665" lon="126.9780"><ele>38</ele><time>2025-04-10T08:00:00Z</time></trkpt>
8+
<trkpt lat="37.5560" lon="126.9724"><ele>35</ele><time>2025-04-10T08:15:00Z</time></trkpt>
9+
<!-- Seoul Station area -->
10+
<trkpt lat="37.5547" lon="126.9707"><ele>30</ele><time>2025-04-10T08:30:00Z</time></trkpt>
11+
<!-- Heading south toward Suwon -->
12+
<trkpt lat="37.4138" lon="127.0000"><ele>42</ele><time>2025-04-10T09:00:00Z</time></trkpt>
13+
<!-- Suwon -->
14+
<trkpt lat="37.2636" lon="127.0286"><ele>38</ele><time>2025-04-10T09:30:00Z</time></trkpt>
15+
<!-- Cheonan -->
16+
<trkpt lat="36.8151" lon="127.1139"><ele>25</ele><time>2025-04-10T10:15:00Z</time></trkpt>
17+
<!-- Daejeon -->
18+
<trkpt lat="36.3504" lon="127.3845"><ele>55</ele><time>2025-04-10T11:00:00Z</time></trkpt>
19+
<!-- Gimcheon -->
20+
<trkpt lat="36.1198" lon="128.1136"><ele>90</ele><time>2025-04-10T11:45:00Z</time></trkpt>
21+
<!-- Daegu -->
22+
<trkpt lat="35.8714" lon="128.6014"><ele>48</ele><time>2025-04-10T12:15:00Z</time></trkpt>
23+
<!-- Gyeongju area -->
24+
<trkpt lat="35.8562" lon="129.2249"><ele>60</ele><time>2025-04-10T12:45:00Z</time></trkpt>
25+
<!-- Ulsan -->
26+
<trkpt lat="35.5384" lon="129.3114"><ele>15</ele><time>2025-04-10T13:15:00Z</time></trkpt>
27+
<!-- Busan - Gimhae area -->
28+
<trkpt lat="35.1796" lon="128.9382"><ele>5</ele><time>2025-04-10T14:00:00Z</time></trkpt>
29+
<!-- Busan Port -->
30+
<trkpt lat="35.1028" lon="129.0403"><ele>3</ele><time>2025-04-10T14:30:00Z</time></trkpt>
31+
<!-- Korea Strait - open water -->
32+
<trkpt lat="34.8500" lon="129.2000"><ele>0</ele><time>2025-04-10T15:30:00Z</time></trkpt>
33+
<trkpt lat="34.5000" lon="129.5000"><ele>0</ele><time>2025-04-10T16:30:00Z</time></trkpt>
34+
<trkpt lat="34.2000" lon="129.8000"><ele>0</ele><time>2025-04-10T17:30:00Z</time></trkpt>
35+
<!-- Tsushima Island -->
36+
<trkpt lat="34.2050" lon="129.2874"><ele>5</ele><time>2025-04-10T18:00:00Z</time></trkpt>
37+
<!-- Open water between Tsushima and Kyushu -->
38+
<trkpt lat="33.9500" lon="129.5000"><ele>0</ele><time>2025-04-10T18:45:00Z</time></trkpt>
39+
<trkpt lat="33.7500" lon="130.0000"><ele>0</ele><time>2025-04-10T19:30:00Z</time></trkpt>
40+
<!-- Approaching Fukuoka -->
41+
<trkpt lat="33.6500" lon="130.2500"><ele>2</ele><time>2025-04-10T20:00:00Z</time></trkpt>
42+
<!-- Fukuoka / Hakata -->
43+
<trkpt lat="33.5904" lon="130.4017"><ele>5</ele><time>2025-04-10T20:30:00Z</time></trkpt>
44+
<!-- Kitakyushu -->
45+
<trkpt lat="33.8834" lon="130.8752"><ele>10</ele><time>2025-04-10T21:15:00Z</time></trkpt>
46+
<!-- Shimonoseki -->
47+
<trkpt lat="33.9580" lon="130.9413"><ele>8</ele><time>2025-04-10T21:30:00Z</time></trkpt>
48+
<!-- Hiroshima -->
49+
<trkpt lat="34.3853" lon="132.4553"><ele>6</ele><time>2025-04-11T08:00:00Z</time></trkpt>
50+
<!-- Okayama -->
51+
<trkpt lat="34.6551" lon="133.9195"><ele>3</ele><time>2025-04-11T09:00:00Z</time></trkpt>
52+
<!-- Kobe -->
53+
<trkpt lat="34.6901" lon="135.1956"><ele>15</ele><time>2025-04-11T09:45:00Z</time></trkpt>
54+
<!-- Osaka -->
55+
<trkpt lat="34.6937" lon="135.5023"><ele>10</ele><time>2025-04-11T10:15:00Z</time></trkpt>
56+
<!-- Kyoto -->
57+
<trkpt lat="35.0116" lon="135.7681"><ele>45</ele><time>2025-04-11T11:00:00Z</time></trkpt>
58+
<!-- Nagoya -->
59+
<trkpt lat="35.1815" lon="136.9066"><ele>12</ele><time>2025-04-11T12:30:00Z</time></trkpt>
60+
<!-- Shizuoka -->
61+
<trkpt lat="34.9756" lon="138.3828"><ele>8</ele><time>2025-04-11T13:30:00Z</time></trkpt>
62+
<!-- Mt. Fuji area -->
63+
<trkpt lat="35.3606" lon="138.7274"><ele>800</ele><time>2025-04-11T14:00:00Z</time></trkpt>
64+
<!-- Yokohama -->
65+
<trkpt lat="35.4437" lon="139.6380"><ele>20</ele><time>2025-04-11T14:45:00Z</time></trkpt>
66+
<!-- Tokyo - Shinagawa -->
67+
<trkpt lat="35.6284" lon="139.7387"><ele>8</ele><time>2025-04-11T15:15:00Z</time></trkpt>
68+
<!-- Tokyo Station -->
69+
<trkpt lat="35.6812" lon="139.7671"><ele>5</ele><time>2025-04-11T15:30:00Z</time></trkpt>
70+
<!-- Tokyo Tower area -->
71+
<trkpt lat="35.6586" lon="139.7454"><ele>15</ele><time>2025-04-11T15:45:00Z</time></trkpt>
72+
<!-- Shibuya -->
73+
<trkpt lat="35.6580" lon="139.7016"><ele>30</ele><time>2025-04-11T16:00:00Z</time></trkpt>
74+
<!-- Shinjuku -->
75+
<trkpt lat="35.6896" lon="139.6922"><ele>35</ele><time>2025-04-11T16:15:00Z</time></trkpt>
76+
</trkseg>
77+
</trk>
78+
</gpx>
79+

e2e/fixtures/korea-japan.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[
2+
{ "latitude": 37.5665, "longitude": 126.9780, "altitude": 38, "timestamp": "2025-06-20T08:00:00Z" },
3+
{ "latitude": 37.5560, "longitude": 126.9724, "altitude": 35, "timestamp": "2025-06-20T08:20:00Z" },
4+
{ "latitude": 37.5547, "longitude": 126.9707, "altitude": 30, "timestamp": "2025-06-20T08:35:00Z" },
5+
{ "latitude": 37.4138, "longitude": 127.0000, "altitude": 42, "timestamp": "2025-06-20T09:10:00Z" },
6+
{ "latitude": 37.2636, "longitude": 127.0286, "altitude": 38, "timestamp": "2025-06-20T09:40:00Z" },
7+
{ "latitude": 36.8151, "longitude": 127.1139, "altitude": 25, "timestamp": "2025-06-20T10:30:00Z" },
8+
{ "latitude": 36.3504, "longitude": 127.3845, "altitude": 55, "timestamp": "2025-06-20T11:15:00Z" },
9+
{ "latitude": 36.1198, "longitude": 128.1136, "altitude": 90, "timestamp": "2025-06-20T12:00:00Z" },
10+
{ "latitude": 35.8714, "longitude": 128.6014, "altitude": 48, "timestamp": "2025-06-20T12:30:00Z" },
11+
{ "latitude": 35.5384, "longitude": 129.3114, "altitude": 15, "timestamp": "2025-06-20T13:15:00Z" },
12+
{ "latitude": 35.1796, "longitude": 128.9382, "altitude": 5, "timestamp": "2025-06-20T14:00:00Z" },
13+
{ "latitude": 35.1150, "longitude": 129.0403, "altitude": 5, "timestamp": "2025-06-20T14:20:00Z" },
14+
{ "latitude": 35.0968, "longitude": 129.0560, "altitude": 3, "timestamp": "2025-06-20T14:45:00Z" },
15+
{ "latitude": 34.7500, "longitude": 129.3000, "altitude": 0, "timestamp": "2025-06-20T15:45:00Z" },
16+
{ "latitude": 34.4000, "longitude": 129.5500, "altitude": 0, "timestamp": "2025-06-20T16:45:00Z" },
17+
{ "latitude": 34.1000, "longitude": 129.8000, "altitude": 0, "timestamp": "2025-06-20T17:45:00Z" },
18+
{ "latitude": 34.2500, "longitude": 129.4800, "altitude": 3, "timestamp": "2025-06-20T18:15:00Z" },
19+
{ "latitude": 33.9000, "longitude": 129.8500, "altitude": 0, "timestamp": "2025-06-20T19:00:00Z" },
20+
{ "latitude": 33.7000, "longitude": 130.1500, "altitude": 0, "timestamp": "2025-06-20T19:45:00Z" },
21+
{ "latitude": 33.6200, "longitude": 130.3500, "altitude": 2, "timestamp": "2025-06-20T20:15:00Z" },
22+
{ "latitude": 33.5904, "longitude": 130.4017, "altitude": 5, "timestamp": "2025-06-20T20:45:00Z" },
23+
{ "latitude": 33.5897, "longitude": 130.3990, "altitude": 8, "timestamp": "2025-06-20T21:15:00Z" },
24+
{ "latitude": 33.8834, "longitude": 130.8752, "altitude": 10, "timestamp": "2025-06-21T08:00:00Z" },
25+
{ "latitude": 34.3853, "longitude": 132.4553, "altitude": 6, "timestamp": "2025-06-21T09:00:00Z" },
26+
{ "latitude": 34.6551, "longitude": 133.9195, "altitude": 3, "timestamp": "2025-06-21T10:00:00Z" },
27+
{ "latitude": 34.6901, "longitude": 135.1956, "altitude": 15, "timestamp": "2025-06-21T10:45:00Z" },
28+
{ "latitude": 34.6937, "longitude": 135.5023, "altitude": 10, "timestamp": "2025-06-21T11:15:00Z" },
29+
{ "latitude": 34.6687, "longitude": 135.5022, "altitude": 5, "timestamp": "2025-06-21T11:45:00Z" },
30+
{ "latitude": 35.0116, "longitude": 135.7681, "altitude": 45, "timestamp": "2025-06-21T12:30:00Z" },
31+
{ "latitude": 35.1815, "longitude": 136.9066, "altitude": 12, "timestamp": "2025-06-21T14:00:00Z" },
32+
{ "latitude": 34.7108, "longitude": 137.7350, "altitude": 5, "timestamp": "2025-06-21T14:45:00Z" },
33+
{ "latitude": 34.9756, "longitude": 138.3828, "altitude": 8, "timestamp": "2025-06-21T15:15:00Z" },
34+
{ "latitude": 35.1614, "longitude": 138.6700, "altitude": 100, "timestamp": "2025-06-21T15:40:00Z" },
35+
{ "latitude": 35.2564, "longitude": 139.1530, "altitude": 15, "timestamp": "2025-06-21T16:00:00Z" },
36+
{ "latitude": 35.4437, "longitude": 139.6380, "altitude": 20, "timestamp": "2025-06-21T16:30:00Z" },
37+
{ "latitude": 35.6284, "longitude": 139.7387, "altitude": 8, "timestamp": "2025-06-21T16:50:00Z" },
38+
{ "latitude": 35.6812, "longitude": 139.7671, "altitude": 5, "timestamp": "2025-06-21T17:00:00Z" },
39+
{ "latitude": 35.6580, "longitude": 139.7016, "altitude": 30, "timestamp": "2025-06-21T17:20:00Z" },
40+
{ "latitude": 35.6896, "longitude": 139.6922, "altitude": 35, "timestamp": "2025-06-21T17:40:00Z" },
41+
{ "latitude": 35.7148, "longitude": 139.7966, "altitude": 5, "timestamp": "2025-06-21T18:00:00Z" }
42+
]
43+

e2e/fixtures/korea-japan.kml

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<kml xmlns="http://www.opengis.net/kml/2.2"
3+
xmlns:gx="http://www.google.com/kml/ext/2.2">
4+
<Document>
5+
<name>Korea to Japan via Ferry</name>
6+
<description>Seoul → Busan → Fukuoka → Osaka → Tokyo ferry and rail journey</description>
7+
<Style id="trackStyle">
8+
<LineStyle>
9+
<color>ff0088ff</color>
10+
<width>3</width>
11+
</LineStyle>
12+
</Style>
13+
<Placemark>
14+
<name>Seoul to Tokyo Route</name>
15+
<styleUrl>#trackStyle</styleUrl>
16+
<gx:Track>
17+
<!-- Seoul - Gwanghwamun -->
18+
<when>2025-05-15T07:00:00Z</when>
19+
<gx:coord>126.9769 37.5759 40</gx:coord>
20+
<!-- Seoul - Yongsan -->
21+
<when>2025-05-15T07:20:00Z</when>
22+
<gx:coord>126.9648 37.5298 25</gx:coord>
23+
<!-- Seoul Station -->
24+
<when>2025-05-15T07:40:00Z</when>
25+
<gx:coord>126.9707 37.5547 30</gx:coord>
26+
<!-- Osan -->
27+
<when>2025-05-15T08:20:00Z</when>
28+
<gx:coord>127.0770 37.1498 50</gx:coord>
29+
<!-- Cheonan-Asan -->
30+
<when>2025-05-15T08:50:00Z</when>
31+
<gx:coord>127.0074 36.7946 20</gx:coord>
32+
<!-- Daejeon -->
33+
<when>2025-05-15T09:30:00Z</when>
34+
<gx:coord>127.3845 36.3504 55</gx:coord>
35+
<!-- Gumi -->
36+
<when>2025-05-15T10:10:00Z</when>
37+
<gx:coord>128.3440 36.1195 80</gx:coord>
38+
<!-- Daegu -->
39+
<when>2025-05-15T10:40:00Z</when>
40+
<gx:coord>128.6014 35.8714 48</gx:coord>
41+
<!-- Miryang -->
42+
<when>2025-05-15T11:10:00Z</when>
43+
<gx:coord>128.7486 35.4937 30</gx:coord>
44+
<!-- Busan Station -->
45+
<when>2025-05-15T11:45:00Z</when>
46+
<gx:coord>129.0403 35.1150 5</gx:coord>
47+
<!-- Busan International Ferry Terminal -->
48+
<when>2025-05-15T12:30:00Z</when>
49+
<gx:coord>129.0560 35.0968 3</gx:coord>
50+
<!-- Korea Strait -->
51+
<when>2025-05-15T13:30:00Z</when>
52+
<gx:coord>129.3000 34.7500 0</gx:coord>
53+
<when>2025-05-15T14:30:00Z</when>
54+
<gx:coord>129.5500 34.4000 0</gx:coord>
55+
<when>2025-05-15T15:30:00Z</when>
56+
<gx:coord>129.8000 34.1000 0</gx:coord>
57+
<!-- Approaching Tsushima -->
58+
<when>2025-05-15T16:00:00Z</when>
59+
<gx:coord>129.4800 34.2500 3</gx:coord>
60+
<!-- Open water -->
61+
<when>2025-05-15T17:00:00Z</when>
62+
<gx:coord>129.8500 33.9000 0</gx:coord>
63+
<when>2025-05-15T18:00:00Z</when>
64+
<gx:coord>130.1500 33.7000 0</gx:coord>
65+
<!-- Hakata Bay -->
66+
<when>2025-05-15T18:45:00Z</when>
67+
<gx:coord>130.3500 33.6200 2</gx:coord>
68+
<!-- Fukuoka / Hakata Port -->
69+
<when>2025-05-15T19:15:00Z</when>
70+
<gx:coord>130.4017 33.5904 5</gx:coord>
71+
<!-- Fukuoka - Tenjin -->
72+
<when>2025-05-15T19:45:00Z</when>
73+
<gx:coord>130.3990 33.5897 8</gx:coord>
74+
<!-- Hakata Station -->
75+
<when>2025-05-15T20:00:00Z</when>
76+
<gx:coord>130.4207 33.5898 10</gx:coord>
77+
<!-- Kokura (Kitakyushu) -->
78+
<when>2025-05-16T08:00:00Z</when>
79+
<gx:coord>130.8752 33.8834 10</gx:coord>
80+
<!-- Hiroshima -->
81+
<when>2025-05-16T09:00:00Z</when>
82+
<gx:coord>132.4553 34.3853 6</gx:coord>
83+
<!-- Shin-Kobe -->
84+
<when>2025-05-16T10:30:00Z</when>
85+
<gx:coord>135.1956 34.6901 50</gx:coord>
86+
<!-- Shin-Osaka -->
87+
<when>2025-05-16T10:50:00Z</when>
88+
<gx:coord>135.5023 34.7337 10</gx:coord>
89+
<!-- Osaka - Dotonbori -->
90+
<when>2025-05-16T11:30:00Z</when>
91+
<gx:coord>135.5022 34.6687 5</gx:coord>
92+
<!-- Kyoto Station -->
93+
<when>2025-05-16T12:30:00Z</when>
94+
<gx:coord>135.7581 34.9858 30</gx:coord>
95+
<!-- Nagoya -->
96+
<when>2025-05-16T14:00:00Z</when>
97+
<gx:coord>136.9066 35.1815 12</gx:coord>
98+
<!-- Hamamatsu -->
99+
<when>2025-05-16T14:45:00Z</when>
100+
<gx:coord>137.7350 34.7108 5</gx:coord>
101+
<!-- Shizuoka -->
102+
<when>2025-05-16T15:15:00Z</when>
103+
<gx:coord>138.3828 34.9756 8</gx:coord>
104+
<!-- Shin-Fuji (Mt. Fuji view) -->
105+
<when>2025-05-16T15:40:00Z</when>
106+
<gx:coord>138.6700 35.1614 100</gx:coord>
107+
<!-- Odawara -->
108+
<when>2025-05-16T16:00:00Z</when>
109+
<gx:coord>139.1530 35.2564 15</gx:coord>
110+
<!-- Shin-Yokohama -->
111+
<when>2025-05-16T16:20:00Z</when>
112+
<gx:coord>139.6173 35.5076 20</gx:coord>
113+
<!-- Shinagawa -->
114+
<when>2025-05-16T16:35:00Z</when>
115+
<gx:coord>139.7387 35.6284 8</gx:coord>
116+
<!-- Tokyo Station -->
117+
<when>2025-05-16T16:45:00Z</when>
118+
<gx:coord>139.7671 35.6812 5</gx:coord>
119+
<!-- Akihabara -->
120+
<when>2025-05-16T17:15:00Z</when>
121+
<gx:coord>139.7745 35.6984 10</gx:coord>
122+
<!-- Asakusa / Senso-ji -->
123+
<when>2025-05-16T17:45:00Z</when>
124+
<gx:coord>139.7966 35.7148 5</gx:coord>
125+
<!-- Tokyo Skytree -->
126+
<when>2025-05-16T18:15:00Z</when>
127+
<gx:coord>139.8107 35.7101 8</gx:coord>
128+
</gx:Track>
129+
</Placemark>
130+
</Document>
131+
</kml>
132+

0 commit comments

Comments
 (0)