The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

[done] GPX Editing

Any question about the app? Ask it here
Post Reply
MarCNeT

[done] GPX Editing

Post by MarCNeT »

Here is the scenario:

I was out on my bike and used AlpineQuest to record my journey. Half way through, my phone crashed (wouldn't turn on) and I had to take the battery out to restart it.

When the phone restarted I went back into Alpine quest and recorded a second GPX file as the remainder of my journey (at the time I didn't realise the 'append' option existed).

When I got back after my bike ride I wanted to merge the two GPX files into one. I had a look around the GPX browser in AlpineQuest and noticed that you can drill down from GPX->Track->Segment->waypoints.

Now, what would be nice would be the ability to cut/copy these GPX items. Once cut/copied go into the relevant layer of the destination GPX file and paste.

If this is not possible, or it too tricky, then adding the ability to easilly select multiple way-points at the way-point level would be ok - as long as the ability to copy/paste them into a different GPX existed!

So in my example above, I would simply go into the second GPX file, go to the track and long-press on it -then select the cut/copy option from the menu. I would then go to the first GPX file to the track level and select paste from some menu (long press again - maybe). AlpineQuest would then add a second track to the first GPX file.

The ability to change the track order as well as merge tracks would be nice as well.
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: GPX Editing

Post by Psyberia-Support »

Hi and thanks for your feedback,
Technically there is nothing difficult in adding feature to copy/past routes or tracks just like it's done now for waypoints.
Why it hasn't been done (I already thought about it) is because of the low memory of phones. The copy/past feature needs to keep both files loaded in memory, and depending of the file sizes, this can lead to out-of-memory crashes (for the waypoint copy/past, I just make a memory copy of the waypoint). On newer phones, this should not happen often, but AlpineQuest also supports phones with Android 1.5 which are very limited in memory.
I'll think about a good solution to do that, but I don't really like to add border line features that can easily lead to crashes. Maybe I could add a warning or something like that. I'll let you know.

Concerning your current problem, you can open your files with a simple text editor, and merge your tracks "by hands" (I don't know your computer knowledge). GPX tracks are surrounded by the "<trk>" and "</trk>" tags.
Hope it helps.

Regards
Do you like AlpineQuest ? Leave a small comment on Google Play !
MarCNeT

Re: GPX Editing

Post by MarCNeT »

Thanks for the reply - I have already done as you suggested. I just though this would be a nice addition to an already fine app :)

Anyway, in regards to the memory situation - if the GPX file was too big for memory - couldn't a temporary file on the SD card be used?
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: GPX Editing

Post by Psyberia-Support »

Yes it could...
I'll look at it and search for something like that... Thanks
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply