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 15-03-2010, 10:51   #16
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
I'm on Windows XP and Martin's gpx-file seems fine to me in both Ozi and Opencpn.
For myself.... I'm still trying to figure out how I can use that Ruby-script you made Thomas. I downloaded and installed Ruby but it still puzzles me a bit. Is there some way to make that script in a batchfile or something? (Yes, I'm from the MSDOS-era).

Regards,
Roel
Roel Smidt is offline   Reply With Quote
Old 15-03-2010, 11:05   #17
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by Roel Smidt View Post
I'm on Windows XP and Martin's gpx-file seems fine to me in both Ozi and Opencpn.
For myself.... I'm still trying to figure out how I can use that Ruby-script you made Thomas. I downloaded and installed Ruby but it still puzzles me a bit. Is there some way to make that script in a batchfile or something? (Yes, I'm from the MSDOS-era).

Regards,
Roel
Just open a "dos" command prompt: Start -> run -> cmd
Then write C:\ full path to the script\ name of the script gpx-file-to-convert.

When you install Ruby on Win you get 2 interpreters.
Use the CUI version not the GUI version for this kind of script.

Thomas
cagney is offline   Reply With Quote
Old 15-03-2010, 11:13   #18
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Hmmm,

I did'nt put my question clearly enough. My fault. The problem I am encountering is that I do not know how I can save your script as a ruby script to be used whenever I want to use it (I haven't had time yet to dive very deep into Ruby). I can copy your script from this site, but then I dont know what to do next with it...

Roel
Roel Smidt is offline   Reply With Quote
Old 15-03-2010, 11:34   #19
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Navigate to the folder where you want to save the script.
Right click -> new, select "Ruby Program" or if this alternative is not present "Text Document", the main thing is that the new file ends with .rb (change if necessary) Right click on the new file choose "Edit". Then just copy from the web and paste into the editor. Save ! Follow earlier instructions to run the script.
Hope this helps.

Thomas
cagney is offline   Reply With Quote
Old 15-03-2010, 11:54   #20
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Thanks Thomas!!

I'll try that one of these days. Now I really have to close down this computer and finish the washing-up (it's 19:50 here in the Netherlands) or my wife will run her own Ruby-script!

Roel
Roel Smidt is offline   Reply With Quote
Old 15-03-2010, 12:41   #21
Registered User

Join Date: Mar 2010
Posts: 10
OZI gfx to Opencpn gfx

I tried to do this with Excel 2000. I wrote a little VBA application...for Windows users. I don't know if it works with Excel 2003 or 2007...
Attached Files
File Type: xls ozi_to_opencpn.xls (42.5 KB, 109 views)
martin.gale is offline   Reply With Quote
Old 15-03-2010, 12:57   #22
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Thumbs up


Thank you Martin, it works fine in Excel 2007! Just one thing: your Excel-application saves the file as an gfx-file and OpenCPN wants gpx. So I just renamed the gfx into gpx and then everything was fine. Thanks again!

Roel
Roel Smidt is offline   Reply With Quote
Old 16-03-2010, 01:13   #23
Registered User

Join Date: Mar 2010
Posts: 10
Thanks Roel for show me the bug I changed it and some other things in the application for the followers
Attached Files
File Type: xls ozi_to_opencpn2.xls (43.5 KB, 89 views)
martin.gale is offline   Reply With Quote
Old 16-03-2010, 01:24   #24
Registered User

Join Date: Mar 2010
Posts: 10
ozi gpx to opencpn gpx

Slurppp!! bug at opening the worksheet
Attached Files
File Type: xls ozi_to_opencpn2.xls (46.5 KB, 117 views)
martin.gale is offline   Reply With Quote
Old 16-03-2010, 01:51   #25
Registered User

Join Date: Mar 2010
Posts: 10
No all waypoints visible

The waypoints i could see were only the manually created
I solved the problem deleting all the waypoints from Opencpn and importing again my gpx file !
martin.gale is offline   Reply With Quote
Old 16-03-2010, 19:58   #26
Registered User

Join Date: Mar 2010
Posts: 4
Waypoint problems

I've been playing with OPCN, but have run into the same waypoint problem. My original wp's came from my Garmin gpsmap76csx. I've tried using GPS util and a few other programs to convert them to gpx and show in OPCN. None work. The Excel spreadsheet worked. ( The last file uploaded with fixes does not work, so I used the first) It worked.

I like OPCN, and would like to use it, but this is a deal killer for me. I've tried several other programs, and have been able to easily open a gpx file. Is there something that can be done to address this bug?
SailorJed is offline   Reply With Quote
Old 16-03-2010, 23:43   #27
Registered User

Join Date: Mar 2010
Posts: 10
Hi, sailorjed Sorry for the new bug, i send the correction I don't understand your exact problem Has the gpxfile created the same structure as in my martingale.gpx exemple? if no, have you tried the program GPSBABEL? if yes,have you tried to delete all the waypoints in OPCPN (right-click on a visible waypoint and delete all) ?
Attached Files
File Type: xls ozi_to_opencpn3.xls (61.5 KB, 108 views)
martin.gale is offline   Reply With Quote
Old 17-03-2010, 01:21   #28
Registered User

Join Date: Feb 2010
Posts: 619
Quote:
Originally Posted by SailorJed View Post
I like OPCN, and would like to use it, but this is a deal killer for me. I've tried several other programs, and have been able to easily open a gpx file. Is there something that can be done to address this bug?
Yes, I fixed this in a patch available Forums - Post 405895">here. I think it needs more testing before going into the release version.
Also, I believe that the waypoint visibility changed somewhere between v. 1.3.4 and 1.3.6. Certainly smooth import of GPX files from other systems is very important.
PjotrC is offline   Reply With Quote
Old 18-03-2010, 19:05   #29
Registered User

Join Date: Mar 2010
Posts: 4
windows

Thanks for the link to the patch. However as I stated, I'm using windows XP, not linux. Is there a patch that will directly apply to XP?
SailorJed is offline   Reply With Quote
Old 19-03-2010, 01:41   #30
Registered User

Join Date: Feb 2010
Posts: 619
The patch is applicable to the source as distributed in sourceforge file opencpn-1.3.6.tar.bz2. It is not "direct" in the sense that one needs to recompile the modified source. For Win32 I can only offer to email the opencpn.exe for direct replacement.
I am aware of 3 successful builds on Vista, no feedback on Linux published.
With some patience, it is better to apply all previous patches in sequence, as in this Forums - Post 414957">patch-IRJDSUNE9932123321222xxeww-summary.
PjotrC is offline   Reply With Quote
Reply


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
Looking for GPX Files for Testing Netsurfer OpenCPN 3 10-02-2010 03:18
Converting MaxSea .wpt Routes to GPX jimbim OpenCPN 2 08-02-2010 22:38
Why Waypoints? rigormortis Navigation 26 13-01-2009 23:45
Images/photos not visible undrsol Forum Tech Support & Site Help 3 31-08-2007 11:38
Exumas Waypoints GordMay Atlantic & the Caribbean 3 22-11-2006 02:40

Advertise Here


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


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.