Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-09-2014, 13:48   #31
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 14: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, 14: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, 19:07   #34
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 16:41   #35
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 61 views)
nohal is offline   Reply With Quote
Old 12-09-2014, 01:54   #36
Registered User

Join Date: Jul 2007
Location: Mexico
Boat: Shin Fa 458 Custom Cutter but looks like a Liberty 458
Posts: 370
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, 14:31   #37
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 05:00   #38
Registered User

Join Date: Oct 2004
Location: Aboard currently New Zealand at last free from lockdown
Boat: Custom steel schooner 15m oa
Posts: 43
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, 05:03   #39
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
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, 10:44   #40
Registered User

Join Date: Oct 2004
Location: Aboard currently New Zealand at last free from lockdown
Boat: Custom steel schooner 15m oa
Posts: 43
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


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 17:55
Open CPN Works Initially But Then Will Not Open GrahamW OpenCPN 4 25-01-2012 04:57
Open cpn Installs but Does Not Open with Vista 64 bit felipe OpenCPN 3 03-06-2011 12:23
Transferring waypoints, courses and tracks to from Raymarine C/E series displays haydude OpenCPN 5 18-03-2011 04:28
Vanishing waypoints in Open CPN Trail272 OpenCPN 2 04-03-2011 10:11

Advertise Here


All times are GMT -7. The time now is 09:13.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.