jachetto / alp2gpx Goto Github PK
View Code? Open in Web Editor NEWAlpineQuest to GPX Converter
License: GNU General Public License v3.0
AlpineQuest to GPX Converter
License: GNU General Public License v3.0
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.
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).
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:
Are you aware of theese differencies ?
Best regards,
Y. Despond
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.