Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-01-2012, 10:10   #136
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

Quote:
Originally Posted by sinbad7 View Post
Robert..

Re my #102
Something strange happened when I set up the last Isla Mujeres pois.
I prepared all the waypoints in the poi but only filled in links in the first one.
To my surprise,all the subsequent poi's have been duplicated with the links in the first one?

Tore
I'm getting this problem too.I have a gpx file with more than one WPT,that covers a certain area.I want to link different pictures to different WPTs ,but all the wpts end up with the same picture.I'will try restarting by moving everything to a different folder and restart the original gpx and see if I can figure this out.I'm pretty sure it didn't happen with earlier versions...??
__________________

__________________
HappySeagull is offline   Reply With Quote
Old 03-01-2012, 10:25   #137
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Software to introduce hypertext links in OpenCPN waypoints

Quote:
In OpenCPN two different WP can have the same name, or even no name at all. For this reason, MarinePoi does not use the WP-name to identify a WP from OpenCPN, but the time stamp of the WP. The reason to do so, is that you cannot create two WP at exactly the same time stamp, there will be at least a 1 second gap.

By an unknown mechanism, you have managed to create a "gpx" file giving all WP exactly the same creation time stamp ! Incredible!

Date :First Decembre 2010, time stamp :00h00mn00sec Zoulou <time>2010-12-01T00:00:00Z</time>

So, as "MarinePoi" identified by its timestamp the first WP to assign the link, it also assigned to all of the remaining WP with the same timestamp the same link.

I am afraid there is no solution to this incredible scenario ... It would be interesting to see how OpenCPN could generate such a "gpx" file....
Have you studied your final .gpx file? Probably ALL the waypoints now have the timestamp of the point of alteration. It either happened at some time editing your file or in MarinePoi. Not sure which.

I had a lot of trouble in the past placing photos where some had the original timestamp and others not. Often they were ALL changed to the latest editing data.

Tore
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 03-01-2012, 10:36   #138
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

Sinbad,yes! all the "blank "wpts except the first and second that I linked,ended up have the same timestamp...After the second opening/edit,All the wpts that DIDN'T have a link now have one,and it's to the first picture I linked...
The other wpt,I linked with different pictures on the first "clean opening survives.

It seems to be the second edit/opening of the file where this happens....Maybe there are too many wpts or something.I'll delete a bunch and see.
__________________
HappySeagull is offline   Reply With Quote
Old 03-01-2012, 10:38   #139
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to introduce hypertext links in OpenCPN waypoints

Quote:
Originally Posted by HappySeagull View Post
I'm getting this problem too.I have a gpx file with more than one WPT,that covers a certain area.I want to link different pictures to different WPTs ,but all the wpts end up with the same picture.I'will try restarting by moving everything to a different folder and restart the original gpx and see if I can figure this out.I'm pretty sure it didn't happen with earlier versions...??
See #116

Sure it happened with all versions from the beginning if timestamp is missing

Can you send this "gpx" file? I will have a look ...
__________________
Robert_1 is offline   Reply With Quote
Old 03-01-2012, 10:53   #140
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

That's it Robert,(the explanation I missed post 116) maybe It's OPCN doing it too to an exported gpx.I will test that to see by loading up some much different wpts...Perhaps also it's because some of mine are converted,too,from OZI nav and Nobletec via GpsBabel-maybe there were no timestamps and O filled them in?... O couldn't do that to single wpts exported,so that's the way to go.No more "mass exports" until I know.
__________________
HappySeagull is offline   Reply With Quote
Old 03-01-2012, 11:04   #141
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

aah.Well,nobody's fault but my own.It's my funky gpx converted from other apps.
OpenCPN exports her own -made wpts just fine with differing timestamps singly or as a group....
so,I'll just have to replace the ones I want to be a POI ...
Going forward,it won't be a problem.
__________________
HappySeagull is offline   Reply With Quote
Old 03-01-2012, 11:30   #142
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Software to introduce hypertext links in OpenCPN waypoints

Happy...

Why don't you just 'Drop mark' your POI's from OCPN? Otherwise you will always have far too many surplus waypoints needing useless space. The POI's will be PERMANENT, the routes/tracks will CHANGE. I feel the two should always be separate.

Instead of cluttering up the maps with too many photo POI's, why not use the FREE Web Picasa to create albums for each general area where each photo can be in sequence,have a name or even waypoint reference.

See example: https://picasaweb.google.com/1117629...ACOASTALCRUISE

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_01 Jan. 03 16.40.jpg
Views:	55
Size:	147.4 KB
ID:	35534  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 03-01-2012, 11:45   #143
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

Hi,Sinbad!
Yes,I do that.Marks,Tracks,Routes all separate.I may have to re-lay these old (Ozi)Marks in OpenCPN but I hate to lose the original timestamp...not to speak of the original project with MarinePOI-one thing leads to another, but backwards.
The timestamp thing is becoming a nuisance...I have tracked it back to GPSBabel,which did the original screwup. So,I First,get the newest version,second,reconvert the Ozi files,third,see if the timestamps are preserved.Unfortunately my old Ozi doesn't do gpx.It's a cautionary tale (again) Proprietary Formats! aaaarggh!
__________________
HappySeagull is offline   Reply With Quote
Old 03-01-2012, 12:05   #144
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to introduce hypertext links in OpenCPN waypoints

Quote:
Originally Posted by HappySeagull View Post
The timestamp thing is becoming a nuisance...
If you have a "gpx" file with a small number of wp without timestamp, you can add them by hand using any text editor according to the following template:

<wpt lat="xx.xxxxxxx" lon="xx.xxxxxxxx">
<time>2011-12-17T18:37:17Z</ time>

Easy but tedious ....
__________________
Robert_1 is offline   Reply With Quote
Old 03-01-2012, 13:44   #145
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Software to introduce hypertext links in OpenCPN waypoints

This is how I set up and display my old trips imported in .gpx format or direct from the Globalstar SPOT database.

1. The OCPN map showing the quick POI to MarinePoi (globe)

2. The OCPN map showing the 'Additional information' links:
a) The entire route and all waypoints with pop up info window as required shown in SpotWalla (free)

b) The entire listing of the Track details (and more)

Note.. To use the detailed Track listing you have to register (free) and get a password.

I could also add the link to all the AIS targets in the area etc.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_04 Jan. 03 18.28.jpg
Views:	58
Size:	148.9 KB
ID:	35537   Click image for larger version

Name:	Screenshot_02 Jan. 03 18.27.jpg
Views:	59
Size:	247.0 KB
ID:	35538  

Click image for larger version

Name:	Screenshot_03 Jan. 03 18.27.jpg
Views:	64
Size:	344.6 KB
ID:	35539  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 03-01-2012, 17:29   #146
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

Thanks,guys...But there's too many!And tracks too.It's got to be easier,even if finding out how to do it is harder! GPSBabel nearly gets it but puts the real dates as <comments> and writes it's peculiar fake date after the <TIME> tag.My hope is there'll be a way - cmd line? instead of the GUI?...or maybe just strip the peculiar fields out of the Ozi (comma separated +tab!) files...it'll be something like that and...I've some other prospects in my little bags of tools.But I'll need more RainyDays to do it!
__________________
HappySeagull is offline   Reply With Quote
Old 04-01-2012, 02:04   #147
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to introduce hypertext links in OpenCPN waypoints

Seagull, could you attach a "gpx" file coming from GPSBabel ?
__________________
Robert_1 is offline   Reply With Quote
Old 04-01-2012, 06:38   #148
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Software to introduce hypertext links in OpenCPN waypoints

Robert.

If people insist on using old route/track/WP files to create POI's,I think all the OCPN drop marks should first be made and saved with the original file before submitting it to MarinePoi. MarinePoi should then ignore/delete all waypoints without a POI icon in order to preserve space.

The resulting POI.gpx file would then only contain waypoints with POI icons,which would overlap all the relevant waypoints in the route.

Alternatively,the conversion could create the track file including the POI icons without disturbing the original timestamps.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 04-01-2012, 11:16   #149
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Software to introduce hypertext links in OpenCPN waypoints

Happy...

You can use 'GPSPrune' to reduce the number of waypoints without loosing the timestamps. If required change file to waypoints using 'RouteConverter'

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 04-01-2012, 11:31   #150
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Software to introduce hypertext links in OpenCPN waypoints

Quote:
Originally Posted by Robert_1 View Post
Seagull, could you attach a "gpx" file coming from GPSBabel ?
Robert,I will,but I think the REAL problem is a poor workman blaming tools...I find now that the "stripping out"of times from the OZI file was probably not GPSBabels fault,but some other thing.I also had written a date into the comment field of ozi and that explains my confusion a little bit.But I will run an "uncorrupted" oziWPT file through for you in a few minutes here...just needs a coffee!

Also,Just now,I think, I find that MarinePoi is stripping comments out of OpenCPN's little comment field,so it really does make more sense to create new POIs alongside.
I'm running the gamut of my doofunnies..one is G7toWin,which also will convert Ozi to GPX.It ,incidentally ,replaces icons to agree with a handheld gps but not dates ...
Anyways,-coffee!
__________________

__________________
HappySeagull is offline   Reply With Quote
Reply

Tags
opencpn, software

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
Open CPN and Google Earth bgrimwade OpenCPN 19 09-12-2011 16:32
Adding Photos and Sound to OpenCpn Waypoints r.fairman OpenCPN 43 05-10-2011 04:26
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 19:14
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.