Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 18-05-2010, 11: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, 712 views)
__________________

scotte is offline   Reply With Quote
Old 18-05-2010, 12: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, 13: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, 17:04   #4
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 554
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
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Reply

Tags
maxsea

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 23:38
Free Weather Download Script from s/v Jedi s/v Jedi General Sailing Forum 48 02-12-2009 00:18
Phishing & Script errors Jerry Forum Tech Support & Site Help 2 18-10-2006 12:30



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.