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 18-05-2010, 10:59   #1
Registered User
 
scotte's Avatar

Join Date: Apr 2007
Location: SF Bay Area, CA, USA
Boat: Privilege 39
Posts: 664
Script to Convert MaxSea Routes to GPX

I had some old MaxSea routes I wanted to import to OpenCPN, so I created the attached perl script - which I thought may be useful to others.

These routes are from an old version of MaxSea, I think version 10, so the script may or may not work with other versions, or may require some tweaking. This will work only for routes pasted into a text file from the route center. I don't remember the exact export steps as this is from a vague memory, but there's a "Route Center" that brings up a spreadsheet-type view of all waypoints for a route. Make sure all columns are visible from the menu, then click in the top-left corner of the table to select all rows. There should now be a menu option to copy it to the clipboard, then finally paste it into a text file.

Then, run the enclosed script (*nix):

$ ./max2open.pl <input >output.gpx

Or in windows, with perl in the path (I tried it with ActivePerl), something like this should work:

perl max2open.pl <input >output.gpx

(Rename file to max2open.pl. Sorry about having to masquerade as some other random extension, and .txt had a limit of 1000 bytes. Alternatively, you can fetch it from here.

This was a quick hack written to solve a specific problem. It is completely unsupported, use at your own risk, and probably has serious bugs, etc
Attached Files
File Type: kml max2open.pl.kml (1.4 KB, 925 views)
scotte is offline   Reply With Quote
Old 18-05-2010, 11:11   #2
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Thanks very much Scotty. By the way there's lots of proven maxsea tracks on this yahoo group
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 10-01-2012, 12:24   #3
Registered User

Join Date: Jan 2010
Location: Cape Canaveral, FL
Boat: Ovni 345
Posts: 30
Re: Script to Convert MaxSea Routes to GPX

Can the Script convert routes GPX to Maxsea ?

Because I use a routing software that only export in GPX.

http://wiki.virtual-loup-de-mer.org/index.php/QtVlm

Thanks
fblc is offline   Reply With Quote
Old 10-01-2012, 16:04   #4
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Formerly Fuji 32 Ketch
Posts: 1,017
Re: Script to Convert MaxSea Routes to GPX

The most versatile conversion program I've found is GPS Utility.

GPS Utility - Download

PM me for more information.

Terry
yachtvalhalla is offline   Reply With Quote
Old 05-01-2019, 15:01   #5
Registered User

Join Date: Nov 2014
Location: Puerto Montt
Boat: Perry 47 Ketch 1981
Posts: 448
Send a message via Skype™ to surazo
Re: Script to Convert MaxSea Routes to GPX

Quote:
Originally Posted by yachtvalhalla View Post
The most versatile conversion program I've found is GPS Utility.

GPS Utility - Download

PM me for more information.

Terry
Hi , I'm try to find how to convert the charts in format .dbv coming from maxsea to opencpn or .ENC
Any suggestion .
Thanks and happy saling year
surazo is offline   Reply With Quote
Old 06-01-2019, 00:59   #6
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Script to Convert MaxSea Routes to GPX

Quote:
Any suggestion .
In short - abandon your idea.
All the formats you mentioned are encrypted. One reason for this is to prevent users from doing what you suggest.

Thomas
cagney is offline   Reply With Quote
Old 06-01-2019, 15:49   #7
Registered User

Join Date: Nov 2014
Location: Puerto Montt
Boat: Perry 47 Ketch 1981
Posts: 448
Send a message via Skype™ to surazo
Re: Script to Convert MaxSea Routes to GPX

Quote:
Originally Posted by cagney View Post
In short - abandon your idea.
All the formats you mentioned are encrypted. One reason for this is to prevent users from doing what you suggest.

Thomas
I appreciate your answer .I'm avoid waste time .Thanks
Hernan
surazo is offline   Reply With Quote
Old 31-01-2019, 16:09   #8
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Davao, Philippines
Posts: 1,776
Send a message via Skype™ to phiggins
Re: Script to Convert MaxSea Routes to GPX

surazo said:
Quote:
I'm try to find how to convert the charts in format .dbv coming from maxsea to opencpn or .ENC
Any suggestion .
I'd like to take a crack at that. Be a nice enhancement to GE2KAP. Can you send me a Maxsea chart in .dbv format. PM if you can and I will send you my email address.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 12-03-2020, 05:49   #9
Registered User
 
Capt.Tony's Avatar

Join Date: Mar 2009
Location: St.Kitts
Boat: Ocean Yachts, 48ss - 15 meters
Posts: 8
Re: Script to Convert MaxSea Routes to GPX

Quote:
Originally Posted by yachtvalhalla View Post
The most versatile conversion program I've found is GPS Utility.

GPS Utility - Download

PM me for more information.

Terry
Hi, Am looking for an Excel converter to convert .route files from Sperry Marine ECDIS to .GPX and vice versa. much easier to do route planning on computer with OpenCPN then convert and transfer via USB drive.

Thanks
__________________
Capt.Tony Powell
Capt.Tony is offline   Reply With Quote
Reply

Tags
maxsea


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
Converting MaxSea .wpt Routes to GPX jimbim OpenCPN 2 08-02-2010 22:38
Free Weather Download Script from s/v Jedi s/v Jedi General Sailing Forum 48 01-12-2009 23:18
Phishing & Script errors Jerry Forum Tech Support & Site Help 2 18-10-2006 11:30

Advertise Here


All times are GMT -7. The time now is 18:37.


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.