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 09-11-2023, 23:43   #1
Registered User

Join Date: Nov 2023
Posts: 1
Playback / Replay OpenCPN or similar help?

Hello there,
so I have a file with GPX-data from one of my trips with following information:
Date / time
Long / Lat
Course
Speed

And I'm looking for a way to replay my GPX data in a proper way. Do you know Marinetraffic or Vesselfinder? They also have an option replaying tracks of vessels. I'm looking for a software that does provide a similar view. I want that course and speed are also included.

Of course I tried OpenCPN but wasn't happy with the result. It showed my track, yes, but I have no option of "replaying" it. And I know that this is not what OpenCPN is made for.

Do you have any suggestion for me for software or with this in general? I heard there are also plugins for OpenCPN but I doubt they will work the way I want.

Thanks in advance
Oog87 is offline   Reply With Quote
Old 10-11-2023, 13:56   #2
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 433
Re: Playback / Replay OpenCPN or similar help?

Why don't you install VDR plugin?

it records since the moment you say record until you stop it, and you can replay with the same plugin any file with valid NMEA sentences and the ones you have created.

it records all valid NMEA sentences arriving to your computer.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 10-11-2023, 14:41   #3
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,942
Re: Playback / Replay OpenCPN or similar help?

The VDR plugin will not play back a GPX file. You can import it as a track into OpenCPN and see it, but you can't play it back.

I think you can play it back in Google Earth, but would need to convert it to a KML file first.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 11-11-2023, 22:25   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: Playback / Replay OpenCPN or similar help?

I think Shipdriver does read gpx files, but I am not certain....and shows the boat location(s) etc. (It might be worthwhile checking the Shipdriver Manual). Shipdriver also has a mode where you can actually steer and drive the ship around.
rgleason is offline   Reply With Quote
Old 12-11-2023, 02:46   #5
Registered User

Join Date: May 2012
Posts: 1,207
Re: Playback / Replay OpenCPN or similar help?

Quote:
Originally Posted by rgleason View Post
I think Shipdriver does read gpx files, but I am not certain....and shows the boat location(s) etc. (It might be worthwhile checking the Shipdriver Manual). Shipdriver also has a mode where you can actually steer and drive the ship around.
ShipDriver cannot read GPX files. It can read and follow a route that is already in route manager. But the speed is not available in a route and it is set manually.

Oog87 ... could you send/post a sample of a GPX file you would like to replay? Perhaps the facility could be added to ShipDriver in the future.

Mike
Rasbats is offline   Reply With Quote
Old 12-11-2023, 03:56   #6
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 433
Re: Playback / Replay OpenCPN or similar help?

Maybe with a little time investment you could do a formulation in Excel to convert the GPX file into valid NMEA sentence and exporting it to a .txt file.
I guess that should be enough the $ECRMC sentence.

the only I see is how to do a proper calculation of the NMEA sentence checksum, for sure that here will know how to calculate.

after that you can reproduce with VDR plugin
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 12-11-2023, 04:25   #7
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 433
Re: Playback / Replay OpenCPN or similar help?

there is an utility that loads GPX files and could convert to some other formats, maybe you can play and do something like I told in my previous post converting from GPX to coma separate file and after that to NMEA .txt stream as RMC sentence.
GPS Utility - Home
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 12-11-2023, 06:31   #8
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 433
Re: Playback / Replay OpenCPN or similar help?

have you tried this?

https://mygeodata.cloud/converter/gpx-to-nmea
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 12-11-2023, 10:04   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,639
Images: 2
Re: Playback / Replay OpenCPN or similar help?

Thanks Mike, for correcting me. Corsair's suggestions to convert gpx to nmea0183 sentences readable by VDR are good too.
rgleason is offline   Reply With Quote
Old 12-11-2023, 21:57   #10
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 287
How about JavaScript?

How about converting your .gpx file into JSON? There are several converters available on-line.

Having got your data into JSON, you could use the JavaScript plugin to read the file and parse it into a JavaScript object. That is just one line.
Code:
data = JSON.parse(jsonString);
Then you can push out the required NMEA0183 sentences. The plug-in takes care of generating the checksum for you.

It’s very doable this way.

There are examples of working with NMEA0183 data in the plug-in User Guide and in the library of sample scripts.
Antipole is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
Track Playback alley OpenCPN 3 03-09-2021 12:35
playback VDR from recorded file skipperearly OpenCPN 34 13-09-2018 05:18
Possible issue with AIS and VDR playback??? RhythmDoctor OpenCPN 4 24-03-2015 22:01
VHF Replay Useful? Randomandy Marine Electronics 1 21-05-2008 04:28

Advertise Here


All times are GMT -7. The time now is 05:27.


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.