Author Topic: breaking up a 'mega-trak'  (Read 3877 times)

mcdavis

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
breaking up a 'mega-trak'
« on: February 18, 2005, 11:53:15 PM »
hey

here's something I need right now.  I was able to use Pieter's quite excellent GarTrax program to convert a huge .mps file into a large .gpx file.  Then i opend this .gpx file in TF and I now have access to the once untouchable .mps file.  This is fantastic.

a couple problems though.  The file is made up of 59 tracks! all taken taken together.  so if i click on any individual track on the map and look at properties, the properties are of the entire 59 tracks not just the particular track of interest.

is there a way you can code up a way to break up a mega-track into it individual components

thanks

jmstacey

  • Full Member
  • ***
  • Posts: 38
    • View Profile
breaking up a 'mega-trak'
« Reply #1 on: February 19, 2005, 12:34:05 AM »
I would also like to see this feature, with the ability to have, edit, add, merge, split, and remove multiple tracks from a single gpx file without having to create a new one whenever a route needed editing, such as splitting tracks or removing a certain segment in the middle of a track.

alizhan

  • Full Member
  • ***
  • Posts: 30
    • View Profile
breaking up a 'mega-trak'
« Reply #2 on: March 14, 2005, 08:53:13 PM »
IIRC, better track editing is one of those things that is always on the wish list, but never at the top. Partly because you can already do all of this, if sometimes in obscure or painful ways.

If the tracks from the .mps file overlap, the way to start is to run the Network Analysis tool on them. After fiddling with the parameters for a bit, you should be able to simplify all the overlapped sections (be aware, though, that this can seriously mess with altitude information if your GPS jumps around).

Once the duplicates are gone, you can start chunking up the network with the cut tool. Simply cut the track at each junction, until you have a set of segments which intersect only at their endpoints.

Now for the magic step: use the profile tool. Eh? The profile tool? Yep. Turns out that the profile tool is also the track merge tool. Shift-select all the chunks needed for a single trail (using the right-click menu as needed to reverse segments). When the trail is complete, right click again and save it out as a new GPX file. Revert the display to just the chunked up trail, and repeat the process for the next track.

It would definitely be nice if this were easier, but it can be done with the program as it stands.

Hope this helps.

  -- Mark