Author Topic: Splitting file into separate tracks  (Read 2438 times)

Joe Jord

  • Newbie
  • *
  • Posts: 3
    • View Profile
Splitting file into separate tracks
« on: November 09, 2018, 09:02:46 AM »
Hi thank you for allowing me to join the forum.

I have just been playing with Topofusion, mainly for joining, and editing tracks. Is there a quick way of importing one long track (file I think it is called in Topofusion) and then splitting it and saving them as seperate GPX tracks? I have managed to split and save as one file with multiple tracks in and have also noticed with the merge tool I can save the tracks individually. But it would be handy if it was less of a work around.

Transfusion looks a very good package. I'm currently a Garmin Basecamp user, but basecamp seems less stable and feature rich and I'm looking for an alternative.

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Splitting file into separate tracks
« Reply #1 on: November 09, 2018, 03:22:41 PM »
Hi,

Welcome.  Let's see if I can help.

So the goal is to open one file, cut it in different places and then export each individual track into separate files?

The first part is easy with the scissors tool.  To save each out individually pretty much requires the merge tool.  Click on each then 'save as...'.

It wouldn't be too hard to write code to save out each track as an increasing numbered sequence (1.gpx, 2.gpx, etc).  But I'd like to understand the background for what you're doing, if you care to share.

Cheers

Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

Joe Jord

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Splitting file into separate tracks
« Reply #2 on: November 10, 2018, 05:16:43 AM »
Hi Scott,

You have summed up what I am trying to do perfectly. I think my problem is I have used Basecamp for years and it is getting used to a new way of doing things. As you're no doubt aware in Basecamp as soon as you cut the file it splits into two files. It is just the way I have been used to these things for a few years, maybe thinking about it in 9 out of 10 cases the way Topofusion works is neater and more efficient!

I found the merge tool save as very useful. And the code idea sounds a very good one also.

My 'problem' at the moment is I have a 850 mile cycle ride and I wish to split this into first six days as separate files and then split each day into legs. But thinking about it splinting the legs may be as easy left in the same file.

And the last question. I can't seem to see a way of plotting a route to follow roads?

Excellent package by the way  :)

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Splitting file into separate tracks
« Reply #3 on: November 11, 2018, 10:24:00 AM »

Thanks, glad you like it.  It sometimes takes more than one tool to get a (more) complex job done.

There's no road or vector mapping in TF, so that is one thing it lacks. 

It does sound like maybe keeping all your legs in one file but as separate tracks may be the way to go.  You can still profile them and do a bunch of other operations based on each track.

Let me know if you have any other questions.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

Joe Jord

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Splitting file into separate tracks
« Reply #4 on: November 11, 2018, 10:59:09 AM »
Thank you Scott.