GithubHelp home page GithubHelp logo

Version 1.1 and <link> about gpxpy HOT 3 CLOSED

tkrajina avatar tkrajina commented on June 4, 2024
Version 1.1 and

from gpxpy.

Comments (3)

tkrajina avatar tkrajina commented on June 4, 2024

I'm not 100% sure if I understand the problem. Can you provide a GPX file and the code to reproduce the problem?

from gpxpy.

wrohdewald avatar wrohdewald commented on June 4, 2024

download a track from mapmytracks.com - but I think this happens with any input, i also tried one from a different source. As long as the input version is 1.1 as in

<gpx xmlns="http://www.topografix.com/GPX/1/1"

then use this filter:

cat input.gpx | ./lf.py

and every trackpoint gets

lf.py is:

import sys
import gpxpy
gpx = gpxpy.parse(sys.stdin.read())
sys.stdout.write(gpx.to_xml())
sys.stdout.write('\n')

from gpxpy.

tkrajina avatar tkrajina commented on June 4, 2024

Unfortunately at the moment this would need a bigger refactory (the way the XML file is created. It should probably use a DOM builder, not string concatenation). I'll leave this issue open, but I don't have the time to fix it now.

from gpxpy.

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.