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 21-12-2011, 14:02   #46
Registered User

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

Quote:
Originally Posted by yoruk View Post
It was Robert who created MarinePoi, I develop applications only
Michel
I have to thank "Ptitzef" and "Yoruk" who kindly tested early versions of MarinePoi.
Robert_1 is offline   Reply With Quote
Old 21-12-2011, 15:25   #47
Registered User
 
HappySeagull's Avatar

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

I have to thank you all three! I have only good things to say

:I like that it can open other apps,(example: wxtide as a test, but I think many others would work...)
:I like that it can be used almost directly with OpenCPN + GE Plugin running.I start these first and then MarinePOI.Marine POI seems quite happy to share GE with OPCN.
HappySeagull is offline   Reply With Quote
Old 22-12-2011, 04:58   #48
Registered User
 
sinbad7's Avatar

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

Robert.

You mentioned that MarinePoi could also be used for other navigation programs.
I tried using one of the poi.gpx files in another popular,commercial nav. prog.
Fugawi Marine ENC but all I acheived was a series of waypoints without the underlaying information. Fugawi has a special entry point for .GPX files but seems
to treat them as purely waypoints.

See the attached stages of Fugawi's use of the poi file. Any suggestions?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 22-12-2011, 05:11   #49
Registered User
 
sinbad7's Avatar

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

Robert..

Here are the screenshots I mentioned above for Fugawi.
Clicking on the waypoints, i.e. Lillesand,Oslo etc. moves the map to the location
but none of the underlying info is shown or accessable.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_05 Dec. 22 11.02.jpg
Views:	203
Size:	428.8 KB
ID:	35039   Click image for larger version

Name:	Screenshot_04 Dec. 22 11.01.jpg
Views:	152
Size:	90.0 KB
ID:	35040  

Click image for larger version

Name:	Screenshot_03 Dec. 22 11.01.jpg
Views:	147
Size:	88.9 KB
ID:	35041   Click image for larger version

Name:	Screenshot_02 Dec. 22 11.00.jpg
Views:	120
Size:	70.9 KB
ID:	35042  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 22-12-2011, 05:55   #50
Registered User

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

Quote:
Originally Posted by sinbad7 View Post
Here are the screenshots I mentioned above for Fugawi.
Clicking on the waypoints, i.e. Lillesand,Oslo etc. moves the map to the location
but none of the underlying info is shown or accessable.
Tore
Sinbad,
"gpx" is a standard syntax, but it does not force the software to exploit all the informations included in the "gpx" file. In your case, the Fugawi software used only the positions of the wp.

There are dozens of different types of information that can be incorporated in a "gpx" file. None of them is mandatory, but all can be used according to the purpose of the software. See for exemple : GPX 1.1 Schema Documentation
Robert_1 is offline   Reply With Quote
Old 22-12-2011, 08:19   #51
Registered User
 
HappySeagull's Avatar

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

Robert,I'm enjoying this quite alot!I wrote a "langueEN.txt" file that exploits the "hover for help" feature...(which I think is an excellent way to go!)You'll see that I have changed yours a bit but your english is excellent!.......for instance,instead of "Verify", I have it as "Make the Change!" because verify is "to test a truth" ,not to apply it.Of course,it works well whichever but smoothing these little language quirks can help a new user,I think.Some changes and additions to the "hover help" I made do not appear.I don't know why....I was very careful with spaces and such.

langueEN.zip.doc

I hope others here will try this version (save the original of course) and see if MarinePoi is a little more intuitive in usage with it.

By the way...as I was working at this,MarinePoi told me "There is no internet connection.Continue?"when there was a perfectly good one.I only mention this because it's behaviour you might be unaware of.. not a complaint!I hadn't moved in GE for awhile...It's no problem to get through that and continue,but MarinePOI will ask at every change to a poi,until I move around in Google Earth-until I refresh it's connection,so to speak.
HappySeagull is offline   Reply With Quote
Old 22-12-2011, 09:14   #52
Registered User

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

Seagull,

thank you. I will add your nice file "languageEN.txt" in the software as soon as I understand why some texts are not displayed.

About the warning "There is no internet connection.Continue?" : This is a generic "bypass" warning that I have introduced in the software to report any anomaly with Google Earth or with the network itself. So I can not say precisely what is happening. May be due to Google Earth or some other reason. The most important is that the "bypass" allows MarinePoi not to crash.
Robert_1 is offline   Reply With Quote
Old 22-12-2011, 12:40   #53
Registered User
 
HappySeagull's Avatar

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

Robert,thanks per the above... a solution that works!Really,i should just jiggle GE to wake it up.Also,it's pretty unusual to have GE running but not used....I bet the GE server is pinging me all the time and I could be blocking it at my computer.(In fact the theory here is,my computer Won't respond to pings! )

Now,I know you said on your webpage " Store all files linked to all POI’s in a « gpx » file in the same folder as the « gpx » file" and this works perfectly.Keeping everything in with the gpx is an excellent workhabit.....but of course,I can only follow directions for a little while
Sooo, it's interesting that I can break that rule IF I never open the gpx in MarinePOI again!
example:
When just made and tested and saved,
<link href="file:///D:/Backup/Beermaking 2.jpg"> works just fine in MarinePOI , and also works well in OpenCPN.

But if I open the gpx again in MarinePOI the above is changed automatically,without any interaction with me to:

<link href="file://D:\MAPS\GPX\OpenCPNLINKS\Beermaking 2.jpg">
where the gpx also is..the gpx's" home directory" I guess it could be called?... and of course, it no longer works as a link!

So,I'm here advertising what I think is a trick to link something outside the gpx's folder -like a program...or anything too cumbersome for the Gpx's folder.
HappySeagull is offline   Reply With Quote
Old 22-12-2011, 13:15   #54
Registered User

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

Why do I store the linked files in the same directory as the "gpx" file ?

This is the prerequisite for creating databases of POIs that can be shared with other users. Users exchanging POIs databases will not have the same directory structure in their PC, therefore breaking the links to files. The only way to overcome this problem is to put the linked files in the same directory as the "gpx" file.

MarinePoi manages this question and "translates" automatically the file links into the new path in the new hosting PC receiving the POIs database.

For exemple:

In your PC's everything (gpx and all other files) is in the folder "d:/my_folder/" and a link to the file "my_file.jpg" will be "d:/my_folder/my_file.jpg"

In the new host PC's receiving your database, everything is unzipped in the folder "d:/his_folder/" and a link to a file "my_file.jpg" will be "d:/his_folder/my_file.jpg"

MarinePoi manages automatically the translation of the link path to the new hosting PC.
Robert_1 is offline   Reply With Quote
Old 23-12-2011, 03:59   #55
Registered User
 
sinbad7's Avatar

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

Robert..

Could you make an option to also save the poi files, i.e. BRAZIL-POIS.gpx in the 'layers' directory of OCPN. As the file structure of OCPN .ini file varies from system to system,the path should be set by the user. OCPN automatically imports all the .gpx files in the 'layers' directory upon startup so it would be convenient and save us having to manually copy the .gpx files from the MarinePoi directory.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 23-12-2011, 04:23   #56
Registered User

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

Quote:
Originally Posted by sinbad7 View Post
Could you make an option to also save the poi files, i.e. BRAZIL-POIS.gpx in the 'layers' directory of OCPN.
Tore
Conversely, when you load or create a "gpx" file with MarinePoi (a click on ">>>") you can choose the directory of the layers of OpenCPN and your "gpx" file will be in the directory you wish.

It does not seem necessary to create an option to do this ?
Robert_1 is offline   Reply With Quote
Old 23-12-2011, 04:50   #57
Registered User
 
sinbad7's Avatar

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

Robert..

I must have misunderstood.. I thought all the .gpx files created HAD to be located in the MarinePoi directory. When you SAVE there is no option,so I presumed it always saved to the MarinePoi directory.

So you are saying I can keep ALL my .gpx files now in the 'layers' directory of OCPN?

Thanks

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 23-12-2011, 05:12   #58
Registered User

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

Quote:
Originally Posted by sinbad7 View Post
I thought all the .gpx files created HAD to be located in the MarinePoi directory. When you SAVE there is no option,so I presumed it always saved to the MarinePoi directory.
The "gpx" files can be located anywhere in your PC, but if you link files (images or so ...) to your Pois, these files should be in the same directory as the "gpx" file itself. Otherwise if the directory structure of your PC changes, the links to files are brocken.

Quote:
Originally Posted by sinbad7 View Post
So you are saying I can keep ALL my .gpx files now in the 'layers' directory of OCPN?
Yes, you can, ..!
Robert_1 is offline   Reply With Quote
Old 23-12-2011, 05:54   #59
Registered User
 
sinbad7's Avatar

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

Robert..
Another interesting feature is that you can convert the poi.gpx to a poi.kmz file.
Clicking the poi.kmz file shows all your poi's in Google Earth in the right positions,with s small 'i'.
However,clicking the 'i' only links to the first item in the list of pois. Any way to make GE show them all?

If not,see my example at 'Hummelsund' near Bergen. This link opens a menu which can have as many items as you need.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_02 Dec. 23 11.44.jpg
Views:	214
Size:	292.2 KB
ID:	35068   Click image for larger version

Name:	Screenshot_03 Dec. 23 11.45.jpg
Views:	219
Size:	73.3 KB
ID:	35069  

Attached Files
File Type: kmz NORWEGIAN POIS.kmz (1.6 KB, 55 views)
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 23-12-2011, 06:16   #60
Registered User

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

"kmz" is a zipped "kml" file, which is particular "xml" file owned by Google. The content of a "xml" file designed for OpenCPN is different from those designed for Google.

MarinePoi shows also all Pois of a gpx file when the file is loaded.
Attached Thumbnails
Click image for larger version

Name:	Sans titre 2.jpg
Views:	124
Size:	93.0 KB
ID:	35070  
Robert_1 is offline   Reply With Quote
Reply

Tags
opencpn, software


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

Advertise Here


All times are GMT -7. The time now is 13:52.


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.