Code Monkey home page Code Monkey logo

Comments (5)

taob avatar taob commented on May 22, 2024 1

Confirmed that the fix works! Tried four files on the public interface, 3 of 4 files reported failures.

20200930-132121

Tried same four files on the new build: no errors, and all the routes loaded!

from derive.

erik avatar erik commented on May 22, 2024

Thanks for the heads up @taob!

Would you be able to share an an example GPX file that has this issue?

from derive.

erik avatar erik commented on May 22, 2024

Also - I have a quick guess at a fix, could you see if your issue persists when using this build?

https://deploy-preview-47--quizzical-ride-bfb8af.netlify.app/

from derive.

taob avatar taob commented on May 22, 2024

For reference, the problematic GPX files all start like this. Track points up to the empty <trkseg> block are parsed, but nothing after it. In this example, there are no points before the empty block, so nothing shows up on the map.

<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="Urban Biker - with barometer" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v2 http://www.garmin.com/xmlschemas/TrackPointExtensionv2.xsd" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v2" xmlns:gpxpx="http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<metadata>
<link href="http://www.urban-bike-computer.com/">
<text>Urban Biker</text>
</link>
<time>2018-11-10T19:10:57.470Z</time>
</metadata>

<trk>
<name>Urban Biker – Giant Roam 2 – Nov 10, 2018 14:10</name>
<trkseg>
</trkseg>
<trkseg>
<trkpt ...

from derive.

erik avatar erik commented on May 22, 2024

Thanks @taob!

from derive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.