Cruisers Forum

Join CruisersForum Today

Thread Tools 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):

$ ./ <input >output.gpx

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

perl <input >output.gpx

(Rename file to 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 (1.4 KB, 725 views)

scotte is offline   Reply With Quote
Old 18-05-2010, 11:11   #2
Senior Cruiser
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
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.

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: Fuji 32 Ketch
Posts: 611
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.

VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote


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
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

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:10.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.