Originally Posted by myocean
One day last year my OpenCPN
(v3.2.0 on Mac OS 10.8.2) has lost
all track data from more than 1 year of sailing. A new track has been started, don't know why.
However, I have a time machine backup of the old navobj.xml (from the Preferences folder)
We have continued sailing since the old track had disappeared and a new track has "grown".
Now I would like to merge the old one and the current
one, so that I have a complete track.
How can I do this?
There are several ways but Try this as simplest for me to explain assuming I understand what exactly you have there...
the ".xml" is a ".gpx" or rather, a .gpx is a navigational .xml format
make a copy of the backup navobj.xml (always fiddle with copies, not originals)
rename it as backup.gpx or 2014.gpx or whatever makes sense.
it into Opencpn with the route
you should see your old stuff and your new together...
The next thing would be to choose and select the stuff you do want to keep (using Opencpn's routemanager (ie export visible tracks, wpts and routes) and export them as backups.
However, if your tracks include 10million wpts while you stopped and got fuel
or tied up to a dock
, or drifted, it'd be a good idea to edit them before saving them .... You can do this in several ways just one
of which is using o
's "split" function, then hiding the useless bit before exporting.
Again, I suggest the logbook/photoalbum analogy...by the day,by the month,bythe year. Keep the gold, overboard
with the blurred pictures of armpits....as in "the night we left the laptop
on at the dock" can be replaced with a mark exported with the track. not to say you delete it but edit and highlight the stuff to keep and put the original on an old hardrive (labelled) in the back of somebody's closet ashore.
grump: I don't know why people "Track" an endless
stream of consciousness and are suprised when even a machine's
memory loses interest
trying to load a 100mb xml file
You can also get down'ndirty by using a good text editor
and/or a good gpx editor