Python Forum
[GPX] Read all trkpt, and merge into single track?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[GPX] Read all trkpt, and merge into single track?
#1
Hello,

I need to merge multiple tracks in multiple GPX files that all go in the same direction but aren't in the right order.

Before I figure out how to do it, I was wondering if someone has working code to…
  1. Read multiple GPX files, each containing one or more tracks (<trk>),
  2. Read all the track points they contain (<trkpt>),
  3. Order them, and
  4. Save the whole thing into a single track in a single GPX
?

Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read a single event (keypress) from asyncio cygnus_X1 3 4,347 May-26-2021, 07:43 PM
Last Post: deanhystad
  Python script to only keep waypoints within x km from track? Winfried 0 1,539 Sep-18-2020, 08:47 AM
Last Post: Winfried
  Program to keep track of reading time test 3 2,463 Apr-08-2020, 08:38 AM
Last Post: snippsat
  How to read multiple csv files and merge data rajeshE 0 1,958 Mar-28-2020, 04:01 PM
Last Post: rajeshE
  how to merge a list of *.jpg and *.docx into one single PDF file ? smallabc 0 2,379 Feb-23-2020, 05:16 PM
Last Post: smallabc
  [Idea Required] How can i track any change on a webpage? Prince_Bhatia 1 2,111 Apr-24-2019, 11:21 AM
Last Post: metulburr
  Select next file in directory and keep track of what's already been selected loganpmgoa 2 2,903 Feb-27-2019, 11:54 PM
Last Post: loganpmgoa
  How to merge different columns of date into a single column sujai_banerji 1 3,253 Sep-26-2017, 07:13 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020