Giter Club home page Giter Club logo

android-mock-location-gpx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

fokx dpa99c helius

android-mock-location-gpx's Issues

Add support for decimal fractions of ISO date

I tried to use a GPX file directly from a smart watch and it was failing. I found out that the date format was not being accepted by this app even though https://en.wikipedia.org/wiki/ISO_8601#Times states that decimal fraction of seconds can be added.

Could this be fixed?

I have to change

<time>2020-11-03T06:56:14.000Z</time>

to

<time>2020-11-03T06:56:14Z</time>

for the GPX to work.

Example of my GPX data:

<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="Garmin Connect" version="1.1"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/11.xsd"
  xmlns:ns3="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
  xmlns="http://www.topografix.com/GPX/1/1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
  <metadata>
    <link href="connect.garmin.com">
      <text>Garmin Connect</text>
    </link>
    <time>2020-11-03T06:56:01.000Z</time>
  </metadata>
  <trk>
    <name>Cycling</name>
    <type>cycling</type>
    <trkseg>
      <trkpt lat="51.123456789" lon="16.123456789">
        <ele>400.123456789</ele>
        <time>2020-11-03T06:56:14.000Z</time>
        <extensions>
          <ns3:TrackPointExtension>
            <ns3:atemp>20</ns3:atemp>
            <ns3:hr>100</ns3:hr>
          </ns3:TrackPointExtension>
        </extensions>
      </trkpt>
      <trkpt lat="51.223456789" lon="16.223456789">
        <ele>401.123456789</ele>
        <time>2020-11-03T06:56:15.000Z</time>
        <extensions>
          <ns3:TrackPointExtension>
            <ns3:atemp>20</ns3:atemp>
            <ns3:hr>100</ns3:hr>
          </ns3:TrackPointExtension>
        </extensions>
      </trkpt>
    </trkseg>
  </trk>
</gpx>

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.