Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-01-2012, 03:56   #181
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by nohal View Post
Robert...
There's actually not such a limit - if there's more than 6 links, they simply don't fit to the assigned window area. Expect a fix in the next 2.6 beta

Pavel
Well, if this is the case in OpenCON, I will remove the limitation to 6 links in MarinePoi too ...

However, remember there is a bug in OpenCPN if the internet link includes "&" and may be also some other special characters.
Robert_1 is offline   Reply With Quote
Old 17-01-2012, 04:10   #182
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,198
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Robert...
I somehow missed it, could you explain me what the bug is? Or is it in flyspray?

Pavel
nohal is offline   Reply With Quote
Old 17-01-2012, 04:18   #183
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by nohal View Post
Robert...
I somehow missed it, could you explain me what the bug is? Or is it in flyspray?

Pavel
The bug is in Flyspray : FS#667 : Waypoint with "&" or "&" in "additional informations" links

You can try this version of MarinePoi, with 50 links limit (unzip and replace in "program files/marinepoi folder": http://upload.plaisance-pratique.com...-MarinePoi.zip
Robert_1 is offline   Reply With Quote
Old 17-01-2012, 08:56   #184
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by boraxtr View Post
Thank you Pavel and Robert,
With the hope, Robert, you may take into account for the skippers like me in the next phase of your works This is why I told these all so long
Hasan
May be this could help : Pratiques et Techniques de la Plaisance

Remember, if the mouse flies over buttons, a help comment appears.

I understand your position ... but I can't promise a major userfriendly improvement within a short time lapse.

Anyway, I fixed the question about the 6 links in the latest version today.

Regards.
Robert_1 is offline   Reply With Quote
Old 18-01-2012, 02:09   #185
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Thank you Robert,

It works well. I can open exPOIs and can create the new ones. However, one of the problems persists: I can open web links but not the files in my pc.

Here is the eror message at OCPN log file:

11:55:50 AM: Error: Failed to open URL "file://C:\Users\Borax\Desktop\santorini.jpg" in default browser. (error -2147467259: belirtilmemis hata)
11:55:50 AM: Warning: Could not launch the default browser with url 'file://C:\Users\Borax\Desktop\santorini.jpg' !

My default browser is google crom.
I can open files dragging on GECrom icon without any problem.

Regards,
boraxtr is offline   Reply With Quote
Old 18-01-2012, 02:27   #186
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by boraxtr View Post
Here is the eror message at OCPN log file:

11:55:50 AM: Error: Failed to open URL "file://C:\Users\Borax\Desktop\santorini.jpg" in default browser. (error -2147467259: belirtilmemis hata)
11:55:50 AM: Warning: Could not launch the default browser with url 'file://C:\Users\Borax\Desktop\santorini.jpg' !

My default browser is google crom.
I can open files dragging on GECrom icon without any problem.
This probably relates to OpenCPN.

1° Can you open the image links with using MarinePoi? Remember, for MarinePoi your image file must be in the same directory (folder) as the "gpx file (i.e. as the cyclade.gpx)

2° Are you shure "santorini.jpg" is in the folder "C:\Users\Borax\Desktop\" when OpenCPN calls the image ?
Robert_1 is offline   Reply With Quote
Old 18-01-2012, 02:50   #187
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Hi Robert,

This file (santorini) created with the new version of MPOI on desctop.

Quote:
1° Can you open the image links with using MarinePoi? Remember, for MarinePoi your image file must be in the same directory (folder) as the "gpx file (i.e. as the cyclade.gpx)
- No,

Quote:
2° Are you shure "santorini.jpg" is in the folder "C:\Users\Borax\Desktop\" when OpenCPN calls the image ?
- Yes
boraxtr is offline   Reply With Quote
Old 18-01-2012, 02:58   #188
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by boraxtr View Post
Hi Robert,
Can you send the "gpx" file and at least one of the images called by the link ?
Robert_1 is offline   Reply With Quote
Old 18-01-2012, 03:15   #189
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Here are the files Robert,
Attached Thumbnails
Click image for larger version

Name:	santorini.jpg
Views:	128
Size:	282.0 KB
ID:	36164  
Attached Files
File Type: gpx santorini.gpx (987 Bytes, 46 views)
boraxtr is offline   Reply With Quote
Old 18-01-2012, 03:31   #190
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by boraxtr View Post
Here are the files Robert,
It work fine ... either with MarinePoi or with OpenCPN

You probably did not define which is the default software to display jpg images.

(right click on a jpg image, select "always open with" ... and choose the software you like)
Robert_1 is offline   Reply With Quote
Old 18-01-2012, 03:48   #191
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

I simply fixed the default software to open image files
Then, all work excellent .
Thank you Robert for the time you saved to my posts.
boraxtr is offline   Reply With Quote
Old 18-01-2012, 06:05   #192
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,198
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

A preview of the new mark info dialog implementation... As I've already touched this part of the code, feel free to post any other feature request regarding this functionality until I forget how it works again

Pavel
Attached Thumbnails
Click image for larger version

Name:	markinfo.png
Views:	146
Size:	27.0 KB
ID:	36171  
nohal is offline   Reply With Quote
Old 18-01-2012, 06:22   #193
Registered User

Join Date: Jan 2010
Posts: 75
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Quote:
Originally Posted by nohal View Post
As I've already touched this part of the code, feel free to post any other feature request regarding this functionality until I forget how it works again Pavel
A better processing for "amperstamp", specially for "&" without the suffix "amp;" because billions of them are in use on the web ...
Robert_1 is offline   Reply With Quote
Old 18-01-2012, 06:32   #194
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,198
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

Robert...
As I wrote in flyspray: a GPX file containing & not encoded as & is broken, not valid XML and should be refused as such. Try to open such a file in for example Firefox or any validating XML editor. If it will be acceptable performance-wise, I will try to detect such errors and correct them before parsing the contents, but can't promise anything.

Pavel
nohal is offline   Reply With Quote
Old 18-01-2012, 08:57   #195
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,198
Re: Software to Introduce Hypertext Links in OpenCPN Waypoints

OK, for those interested, https://github.com/nohal/OpenCPN/com...cbfd095737d75d is what I came with to try to fix the malformed GPX files before they are loaded by the XML parser. If you want to try if it solves the problems with the files you have, the windows exe is at http://opencpn.xtr.cz/opencpn.exe - just replace the one installed with 2.6.1310
If it does not work for you, please post the GPX file involved.
Bear on mind, that this is a snapshot of development code and received very close to no testing, so backup your data if you want it to survive...

Pavel
nohal is offline   Reply With Quote
Reply

Tags
opencpn, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 22:01.


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.