It is not possible to read existing GPX files with invalid points; e.g. latitude or longitude values are not in the valid range.
<trkpt lat="-37050536.000000000" lon="0.000475423">
<ele>0.000000</ele>
<time>2025-12-17T05:10:27Z</time>
<speed>56528.671875</speed>
<name>TP000003</name>
</trkpt>
With a lenient mode it should be possible to read such files, removing the invalid points.
It is not possible to read existing GPX files with invalid points; e.g. latitude or longitude values are not in the valid range.
With a lenient mode it should be possible to read such files, removing the invalid points.