-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_sanitization.gpx
57 lines (55 loc) · 4.5 KB
/
test_sanitization.gpx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx>
<metadata>
<name><![CDATA[GPXconv sanitization test data]]></name>
<link href="https://github.com/DDvO/GPXConv">
<text>GPXconv sanitization test data</text>
</link>
<time>2024-07-11T23:30:00Z</time><bounds maxlat="" maxlon="" minlat="0.0" minlon="0.0"/>
</metadata>
<trk>
<trkseg>
<trkpt lat="0.0" lon="1.0"> <ele>0</ele><time>1969-12-31T23:30:00Z</time><cmt>recorded speed is negative; at track start</cmt><extensions><gpxtpx:TrackPointExtension><gpxtpx:speed>-0.01</gpxtpx:speed></gpxtpx:TrackPointExtension></extensions></trkpt>
<trkpt lat="0.0" lon="1.0"> <ele>0</ele><time>1969-12-31T23:45:00Z</time><cmt>recorded speed 360 is higher than 200</cmt><extensions><gpxtpx:TrackPointExtension><gpxtpx:speed>100</gpxtpx:speed></gpxtpx:TrackPointExtension></extensions></trkpt>
<trkpt lat="0.0" lon="1.0"> <ele>0</ele><time>1970-01-01T00:00:00Z</time></trkpt>
<trkpt lat="0.0" lon="1.00101"><ele>0</ele><time>1970-01-01T00:00:02Z</time><cmt>speed 202 is higher than 200</cmt></trkpt>
<trkpt lat="0.0" lon="1"><ele>-450.01</ele><time>1970-01-01T00:15:02Z</time><cmt>altitude is less than -450</cmt></trkpt>
<trkpt lat="0.0" lon="1.0"> <ele>0</ele><time>1970-01-01T00:30:00Z</time><cmt>segment moving time 0 sec</cmt></trkpt>
</trkseg>
<trkseg>
<trkpt lat="0.00016" lon="1.00048"><ele>1</ele><time>1970-01-01T00:40:00Z</time><cmt>segment moving time 58 sec</cmt><</trkpt>
<trkpt lat="0.00016" lon="1.00048"><ele>1</ele><time>1970-01-01T00:40:02Z</time></trkpt>
<trkpt lat="0.00000" lon="1.00000"><ele>2</ele><time>1970-01-01T00:40:03Z</time><cmt>direction change = +171°</cmt></trkpt>
<trkpt lat="0.00036" lon="1.00072"><ele>3</ele><time>1970-01-01T00:40:04Z</time><cmt>acceleration = 8.7 m/s/s</cmt></trkpt>
<trkpt lat="0.00016" lon="1.00801"><ele>1</ele><time>1970-01-01T00:41:00Z</time></trkpt>
<trkpt lat="0.00016" lon="1.00802"><ele>1</ele><time>1970-01-01T00:41:01Z</time><cmt>deceleration = 13.3 m/s/s</cmt></trkpt>
<trkpt lat="0.00016" lon="1.00803"><ele>1</ele><time>1970-01-01T00:41:01.5Z</time><cmt>time difference = 1.5 sec</cmt></trkpt>
</trkseg>
<trkseg>
<trkpt lat="0.0000" lon="1"><ele>45</ele><time>1970-01-01T00:45:00Z</time><cmt>test for correct recalculation by remove_trkpt; segment moving time 10 sec</cmt></trkpt>
<trkpt lat="0.0001" lon="1"><ele>30</ele><time>1970-01-01T00:45:02Z</time><cmt>descent rate = -27000 m/h (< -20000)</cmt></trkpt>
<trkpt lat="0.0003" lon="1"><ele>20</ele><time>1970-01-01T00:45:04Z</time><cmt>descent rate = -22500 m/h (< -20000)</cmt></trkpt>
<trkpt lat="0.0004" lon="1"><ele>15</ele><time>1970-01-01T00:45:06Z</time><cmt>max descent rate = -18000 at 32 km/h</cmt></trkpt>
<trkpt lat="0.0007" lon="1"><ele>15</ele><time>1970-01-01T00:45:08Z</time><cmt>max speed = 60 km/h</cmt></trkpt>
<trkpt lat="0.0007" lon="0.9997"><ele>15</ele><time>1970-01-01T00:45:10Z</time><cmt>max speed = 60 km/h</cmt></trkpt>
</trkseg>
<trkseg>
<trkpt lat="0" lon="1"><ele>90</ele><time>1970-01-01T00:48:00Z</time><cmt>altitude correction after gap; segment moving time 22 sec</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>30</ele><time>1970-01-01T00:48:20Z</time><cmt>exit of tunnel</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>10</ele><time>1970-01-01T00:48:22Z</time><cmt>descent rate = -36000 m/h before correction</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>00</ele><time>1970-01-01T00:48:24Z</time><cmt>descent rate = -18000 m/h ok</cmt></trkpt>
</trkseg>
<trkseg>
<trkpt lat="0" lon="1"><ele>00</ele><time>1970-01-01T00:49:00Z</time><cmt>altitude correction after gap; segment moving time 22 sec</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>50</ele><time>1970-01-01T00:49:20Z</time><cmt>exit of tunnel</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>70</ele><time>1970-01-01T00:49:22Z</time><cmt> ascent rate = +36000 m/h before correction</cmt></trkpt>
<trkpt lat="0" lon="1"><ele>81</ele><time>1970-01-01T00:49:24Z</time><cmt> ascent rate = +19800 m/h ok</cmt></trkpt>
</trkseg>
<trkseg>
<trkpt lat="0.0" lon="1.0"><ele>12</ele><time>1970-01-01T01:00:00Z</time><cmt>segment moving time 0 sec</cmt></trkpt>
<trkpt lat="0.0" lon="1.0"><ele>00</ele><time>1970-01-01T01:00:02Z</time><cmt>descent rate = -21600 m/h</cmt></trkpt>
<trkpt lat="0.0" lon="1.0"><ele>36</ele><time>1970-01-01T01:00:04Z</time><cmt> ascent rate = +21600 m/h; at track end</cmt></trkpt>
<trkpt_ lat="0.0" lon="1.0"><ele>12</ele><time>1970-01-01T01:00:06Z</time><cmt>may be inserted to test with point at track end not being ignored</cmt></trkpt_>
</trkseg>
</trk>
</gpx>