Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-09-2014, 14:48   #31
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: All Waypoints and Tracks Gone in Open CPN.

No reason it should not work. Remember it needs Microsoft .NET Framework 2.0 installed.
It would really be easier if you share the logfile somewhere - Not even I have seen the extractor in the past 3 years and it really was just a tool hacked together in a couple of minutes which never worked very well...

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 07-09-2014, 15:44   #32
Registered User

Join Date: Aug 2013
Posts: 8
Re: All Waypoints and Tracks Gone in Open CPN.

Thanks Pavel. Been trying to upload the logfile but it is log.log, and invalid. the Navobj is xml.1 suffix which is also invalid. I'm a dinosaur, and so sorry not to know how to get these uploaded.
Will try dropbox...
__________________

__________________
Sandpiper1972 is offline   Reply With Quote
Old 07-09-2014, 15:48   #33
Registered User

Join Date: Aug 2013
Posts: 8
Re: All Waypoints and Tracks Gone in Open CPN.

an you see this dropbox link?
Navobj:
https://www.dropbox.com/s/id7n20dwuq...obj.xml.5?dl=0
Log File:
https://www.dropbox.com/s/a0eye7yzn5...n.log.log?dl=0
Thanks,
Rupert
__________________
Sandpiper1972 is offline   Reply With Quote
Old 07-09-2014, 20:07   #34
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: All Waypoints and Tracks Gone in Open CPN.

Rupert...
Yep, got both the files, but won't get to looking closely at them until tomorrow or maybe Tuesday...

Pavel
__________________
nohal is offline   Reply With Quote
Old 08-09-2014, 17:41   #35
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: All Waypoints and Tracks Gone in Open CPN.

Rupert...
The log contains just entries between June 20th and July 2nd. Exactly the same (and much more) is recorded in the navobj.xml.5 you posted, so no new data...

If someone is interested in how the logbook entries were extracted from OpenCPN's log and converted into a GPX track, here is the script I wrote for it:
Code:
#!/bin/bash

if [ $# -ne 1 ]; then
  echo "Usage: $0 <logfile>"
  exit 1
fi
echo '<?xml version="1.0"?>'
echo '<gpx version="1.1" creator="OpenCPN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" xmlns:opencpn="http://www.opencpn.org">'
echo '<trk>'
echo '<extensions>'
echo "<opencpn:guid>`uuid`</opencpn:guid>"
echo '<opencpn:viz>1</opencpn:viz>'
echo '</extensions>'
echo '<trkseg>'
grep LOGBOOK $1 | tr -s ' ' | awk '{gsub(/\r/,"",$11); print "<trkpt lat=\""$9"\" lon=\""$11"\"><time>"$4"T"$5"Z</time></trkpt>";}'
echo '</trkseg>'
echo '</trk>'
echo '</gpx>'
Attached Files
File Type: gpx track.gpx (19.3 KB, 28 views)
__________________
nohal is offline   Reply With Quote
Old 12-09-2014, 02:54   #36
Registered User

Join Date: Jul 2007
Location: Bonaire
Boat: Shin Fa 458 Custom Cutter but looks like a Liberty 458
Posts: 346
Re: All Waypoints and Tracks Gone in Open CPN.

I just booted up OpenCPN and got the message that all my track were being sent to a file again. No "would you like", just gone. Is there anyway to say "NO! Leave them alone"? I'd like them right in front of me when I start the program.
__________________
mestrezat is offline   Reply With Quote
Old 12-09-2014, 15:31   #37
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: All Waypoints and Tracks Gone in Open CPN.

mestrezat...
Are you sure that the dialog you've been presented was not talking about the logfile? That is normal and has nothing to do with tracks. I'm really not aware of anything that would "send tracks to a file again" automatically, whatever it means.

Pavel
__________________
nohal is offline   Reply With Quote
Old 29-05-2016, 06:00   #38
Registered User

Join Date: Oct 2004
Location: Hamble area UK
Posts: 9
Re: All Waypoints and Tracks Gone in Open CPN.

Hi.

Thanks for all your time responding to previous posts. My problem:

Wiin 8.1, up to date. Anyway, I have the old data in navobj.xml.X (6.9 Mb). I rename it to navobj.xml.1 and then restart, but opencpn creates a new nevobj.xml.1 at 1kb. So:
1. How can I restore the old data?
2. Can I merge my current data file from the last couple of legs into the restored datafile?

BTW have taken advice now about regular exports.

Thanks
Phil
__________________
Rgds
Phil
philmarks is offline   Reply With Quote
Old 29-05-2016, 06:03   #39
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: All Waypoints and Tracks Gone in Open CPN.

Phil...
navobj.xml.1 is also a backup (newest one), you have to rename the file to navobj.xml (without any number appended)

Pavel
__________________
nohal is offline   Reply With Quote
Old 29-05-2016, 11:44   #40
Registered User

Join Date: Oct 2004
Location: Hamble area UK
Posts: 9
Re: All Waypoints and Tracks Gone in Open CPN.

Thanks Pavel. I am such a dork! I got the latest stuff in through gpx import as well.

Best regards and thanks for all your hard work.

Phil
__________________

__________________
Rgds
Phil
philmarks is offline   Reply With Quote
Reply

Tags
open cpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync Waypoints, Routes and Tracks with Dropbox timohara OpenCPN 2 21-10-2013 18:55
Open CPN Works Initially But Then Will Not Open GrahamW OpenCPN 4 25-01-2012 05:57
Open cpn Installs but Does Not Open with Vista 64 bit felipe OpenCPN 3 03-06-2011 13:23
Transferring waypoints, courses and tracks to from Raymarine C/E series displays haydude OpenCPN 5 18-03-2011 05:28
Vanishing waypoints in Open CPN Trail272 OpenCPN 2 04-03-2011 11:11



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:59.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.