[Bug] Geotagging module does not read GPX file

When I try to apply a gpx file from runkeeper, darktable gives this error ‘failed to parse gpx file’.

But this is a rather standard gpx file. I have several programs that I can open this file in, but darktable fails. Is this a know issues?

This is the file in question: 2026-07-24 - Hoge Veluwe.gpx.zip (18.4 KB)

Different applications can apply different levels of strictness when interpreting an XML file like a GPX file. Your file has:

<trk>
  <name><![CDATA[Walking 7/24/26 11:51 am]]></name>
  <time>2026-07-24T09:51:49Z</time>

Looking at the XSD (https://www.topografix.com/GPX/1/1/gpx.xsd) it looks to me like the trk tag does not have a time field. Some apps may choose to ignore this, but darktable rejects it saying

18.2253 broken GPX file, element 'time' found outside of trkpt
18.2254 dt_gpx_new: failed to parse GPX file

Edited: you can simply manually delete the offending line to get darktable to load the file.

1 Like

You can try gpsbabel to convert it to a valid gpx file.

1 Like