Commit Graph

19 Commits

Author SHA1 Message Date
7860a189b3 make elevation part of Position
this reverses the change made in 64470309 when it hadn't occured to
me that the members of a tuple can have different types
2024-10-31 17:09:59 +00:00
5b827ed6ed handle missing lat/lon/time data 2024-10-31 16:18:40 +00:00
10c7d68f31 extract function for gpxtpx extensions 2024-10-31 13:20:16 +00:00
63f54a9355 read heart rate 2024-10-31 13:00:01 +00:00
ea313b7f6e replace foo >>= return . bar with <&> 2024-10-31 00:38:35 +00:00
e15c42ff4a handle bad data
where by "handle" we mean that Track.parse now returns an Either
instead of making up data points that lie on the equator
2024-10-31 00:35:19 +00:00
a3d48100ae replace case expressions with listToMaybe 2024-10-30 23:32:13 +00:00
aa1f69f3d4 reindent using ormolu 2024-10-30 21:03:11 +00:00
dd49bc50fa parse trkpt timestamp 2024-10-30 17:44:40 +00:00
5ec4e6be9a parse cadence and power 2024-10-30 17:17:48 +00:00
3278c7962c add hlint and apply suggestions 2024-10-30 14:25:54 +00:00
c514c20e68 use real gpx namespace 2024-10-30 13:30:33 +00:00
d81099075a check we handle malformed gpx input
for some very obvious xml parse error
2024-10-29 21:44:49 +00:00
1007404a24 parse gpx elevation 2024-10-29 21:23:22 +00:00
7cfe6b4892 remove comments and debug output 2024-10-29 21:23:22 +00:00
6447030949 remove elevation from Pos
it allows us no way to represent "elevation unknown" which is a
possibility for GPX files
2024-10-29 21:23:22 +00:00
1a1186fbff check lat/lon attrs in test 2024-10-29 19:21:25 +00:00
5ec65cc49b beginning of xml parsing 2024-10-28 23:35:36 +00:00
0ad6eaec2f test calls actual code we wrote 2024-10-27 23:13:39 +00:00