Git Product home page Git Product logo

alp2gpx's People

Contributors

dhicks avatar jachetto avatar phkehl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dhicks maphew

alp2gpx's Issues

Freezing with recent trk files

I'm trying to convert some trk files that were recorded recently. The files aren't notably large (example), but the script appears to claim a lot of processor resources and freezes (I let it run for 5 minutes and it hadn't finished).

I don't know which version of AlpineQuest was used to record these, but currently I have AlpineQuest 2.2.8c.

TypeError: can only concatenate str (not "bytes") to str

Hi, I'm brand new to this project. Below is the traceback I get when trying to naively* run alp2gpx on my exported AQ data of last couple of months, about 1.6mb. I have a bit of python skill and will attempt to diagnose and solve the problem myself if I can, i.e. this isn't a call of "heeeeelllp!", unless of course you know the answer already. ;-) I'll treat this opening post as wiki and edit/refine as I learn my through this new landscape.

*I haven't looked at the code at all yet. I'm travelling for next 3 days and might not get back to this until after._

» python alp2gpx.py data\matt-in.ldk
Traceback (most recent call last):
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 599, in <module>
    q = alp2gpx(args.input, args.output)
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 44, in __init__
    self.parse_ldk()
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 582, in parse_ldk
    root_node = self._get_node(position_of_the_root_node)
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 309, in _get_node
    child = self._get_node(entry['offset'], path, entry['uuid']);
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 313, in _get_node
    data = self._get_node_data(entry)
  File "C:\Users\Matt\code\alp2gpx\alp2gpx.py", line 245, in _get_node_data
    data += self._get_raw(size)
TypeError: can only concatenate str (not "bytes") to str

Relevant environment info:

     active environment : alp2gpx
    active env location : C:\Users\Matt\.conda\envs\alp2gpx
            shell level : 1
          conda version : 4.12.0
         python version : 3.9.5.final.0
       base environment : C:\ProgramData\scoop\apps\miniconda3\current  (read only)
               platform : win-64
             user-agent : conda/4.12.0 requests/2.25.1 CPython/3.9.5 Windows/10 Windows/10.0.19044

Alpine Quest 2.3.2c on Android 12 (Pixel Pro).

Differences betwween GPX files created by alp2gpx and GPX files exported by AlpineQuest

Hello,

I am trying to use your script to replace GPX export inside AlpineQuest.
I am surpised that the result is not the same for elevation and timestamp:

  • Elevation: For tracks recorded in Switzerland, Elevation is approximatively 48m higher in the GPX created by alp2gpx. For one track recorded in Bolivia, the difference is 30m.
  • Timestamp: For tracks recorded in Switzerland in winter, timestamp is 1 hour higher in the GPX created by alp2gpx. For tracks recorded in Switzerland in summer, timestamp is 2 hours higher in the GPX created by alp2gpx.

Are you aware of theese differencies ?

Best regards,
Y. Despond

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.