Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-01-2016, 17:28   #736
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,156
Re: Ocpn-Draw and Boundary

Jongough,

it seem to me that EBL = Estimated bearing line. If I undestand that I read on opencpn.org, you said that EBL is "Electronic bearing line".

Is it ? B.R. Gilletarom.
__________________

__________________
Gilletarom is offline   Reply With Quote
Old 12-01-2016, 17:48   #737
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Gilletarom,
EBL = Electronic Bearing Line
VRM = Variable Range Marker

These are in one tool as it seemed to make sense. The bearing line always starts at the boat when drawn but can be moved away if needed by 'editing' it, i.e. right click 'Move start point', etc.

Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 00:11   #738
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Hi,
I have just put up patch 610 which includes scalable icons in the toolbar. On git you will also find two windows install files, one for OCPN 1301 and one for the 610 OD.
https://github.com/jongough/ocpn_dra...leases/tag/610
The OCPN includes the latest API changes and a couple that make the toolbars and chart objects scalable on all (I hope) devices using the 'Options/User Interface' scale sliders. The pulls are up on OCPN for this just waiting to be incorporated. I have included this here so that it can be trialled by windows users.

For me the installs work. I do know that some have had missing files and we are trying to track down these. Give these a go and let me know what happens.

Regards
Jon
__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 01:45   #739
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,684
Re: Ocpn-Draw and Boundary

Jon
My builds still not worked so I did some tests.
I've downloaded your binaries.

- Neither your binary nor my build of OD_610 is working in my OCPN fetched and built today.
- Both your binary and my build of OD_610 is working in your OCPN. Although with strange OD-icons, see pict. (I use Journeyman toolbar)

Somethings differs here!
I deleted my OpenCPN\build\ directory and rebuilt it.
Now both yours and mine OD_610 is working in my OCPN!

So - a lesson: Rebuild your ...\OpenCPN\build\ after major source changes. Still a question - why? But I don't have the patience to investigate now.

Using either of yours or mine binaries the Journeyman icons are strange. See picture 1.

Thanks
Håkan
Attached Thumbnails
Click image for larger version

Name:	OD_icons.PNG
Views:	41
Size:	15.0 KB
ID:	116633   Click image for larger version

Name:	OD_icon_Trad.PNG
Views:	44
Size:	12.5 KB
ID:	116635  

__________________
Hakan is offline   Reply With Quote
Old 13-01-2016, 02:55   #740
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Håkan,
I find that each time I update my OCPN the only safe way to run it is to re-run the cmake .. from the build directory. Linux is a little more tolerant than windows so I get away with it sometimes. But my windows builds I have to run cmake .. then clean and build of the project. I was having issues with 'Release' builds running from VS2013, it kept complaining that it could not find bits, then it found two of them... So I was creating the package and installing that.

I am glad it has worked, at least with traditional icons for you now. I have not done any testing with other icon sets, Dave and myself have only just got SVG scaling working for plugins. It is still a bit of a work in progress so will need to accept that it may not always work in all occasions, but we are getting there. Another day or so.

Have you tried the traditional icon set and scaled them? Have you tried it on a high res system?

Jon
__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 03:13   #741
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,278
Re: Ocpn-Draw and Boundary

Jon,

tool bar icons scale nicely on my hi-res screen
Attached Thumbnails
Click image for larger version

Name:	2016-01-13 11_16_38-OpenCPN 4.1.1301-OD610.jpg
Views:	58
Size:	304.8 KB
ID:	116636  
__________________
bcn is online now   Reply With Quote
Old 13-01-2016, 03:36   #742
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,156
Re: Ocpn-Draw and Boundary

Hello Jongough,

What happens to you if you leave plugin preferences by clicking the red cross in the top right of the window? ---> Save changes? ---> No saving changes?
It would be better if the red cross was made inactive. This could prevent mistakes from distracted users.

B.R. Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 13-01-2016, 04:05   #743
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,278
Re: Ocpn-Draw and Boundary

Preferences/property window (OD610.W8.1, Dell XPS13 hi-res)

- version is not updated in PI Preferences
- Property window will stay always on top, even when the focus is on another program
- Icon drop down menu: mismatch of font size and menu size
Attached Thumbnails
Click image for larger version

Name:	2016-01-13 11_59_19-OD610-Properties.png
Views:	46
Size:	28.8 KB
ID:	116637  
__________________
bcn is online now   Reply With Quote
Old 13-01-2016, 09:59   #744
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,372
Re: Ocpn-Draw and Boundary

Quote:
Originally Posted by Aart K. View Post
What did I do wrong?

On my Linux machine (Mint Rosa since this morning) I installed OD and Watchdog while OpenCPN 4.1.1301 was closed. I opened OpenCPN 4.1.1301 and found Watchdog 1.4002 in my list at "Tools/Options/Plugins" but OD did not show up there.

What's next to do?

Aart
Aart, it may be paths. check your logfile (you will need root priveleges to find and get into /.opencpn folder) -certainly I am struggling with these! Things seem to install to wrong places and O can't find em...

from my logfile in case it helps...
08:51:30 PST: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
08:51:30 PST: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libocpn_draw_pi.so
08:51:30 PST: ocpn_draw_pi data location: /usr/local/share/opencpn/plugins/ocpn_draw_pi/data/
__________________
HappySeagull is offline   Reply With Quote
Old 13-01-2016, 11:36   #745
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,156
Re: Ocpn-Draw and Boundary

Jongough,

Boundary. With 2 points only. here copy screen;
First point (001) is up, right.
End point, second point (002) is below, left.
But, you can see that it is write "Leg : From 002 to 001.

Is it normal ?
Attached Thumbnails
Click image for larger version

Name:	Boundary_Ligne_de_contrainte_1.jpg
Views:	43
Size:	13.2 KB
ID:	116651  
__________________
Gilletarom is offline   Reply With Quote
Old 13-01-2016, 12:39   #746
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Gilletarom,
The 'Close Window' icon in the preferences is the same as pressing cancel, so no changes will be saved. As far as I know, and please correct me, this is standard behaviour for windows & Linux and I think Mac. The only time changes are saved is if 'OK' or 'Apply' is clicked.

Jon

Quote:
Originally Posted by Gilletarom View Post
Hello Jongough,

What happens to you if you leave plugin preferences by clicking the red cross in the top right of the window? ---> Save changes? ---> No saving changes?
It would be better if the red cross was made inactive. This could prevent mistakes from distracted users.

B.R. Gilletarom.
__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 13:07   #747
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Aart,
If this is the first time you have tried the plugin you need to go to 'options/PlugIns' and select OD and enable it. If you have used it before it still may be worth checking that it is enabled. If it is enabled but does not show up then there is an issue.

At the moment OCPN and OD are changing quite a bit under the covers to provide things like SVG scalable icons. OCPN only has new version numbers at 'major' points, but the code is still changing. At the moment it is quite likely that the version of OCPN and OD you are using is incompatible, but you can confirm this by looking in the log file which you can find the location of by clicking on the 'Help' button (the one that looks like a book or a question mark) and on the first page, the 'About' page it will give you its location. If you go to the end of the log and then work back until you find where OD is loaded (look for 'libocpn_draw_pi.so') you will see any errors that occurred whilst trying to load it. If there appear to be items missing then you probably have a non-compatible version of OCPN for your version of OD.

I have put up a compatible Ubuntu set here:
https://github.com/jongough/ocpn_dra...leases/tag/610

Jon

Quote:
Originally Posted by Aart K. View Post
What did I do wrong?

On my Linux machine (Mint Rosa since this morning) I installed OD and Watchdog while OpenCPN 4.1.1301 was closed. I opened OpenCPN 4.1.1301 and found Watchdog 1.4002 in my list at "Tools/Options/Plugins" but OD did not show up there.

What's next to do?

Aart
__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 14:23   #748
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Can you check the about tab in the OD preferences, it should say patch 610, this always reflects the patch level you are running.

Patch 611 fixes the issue of properties panels staying on top of others.

Patch 612 is another attempt to get windows to play nicely with drop down lists.

Jon

Quote:
Originally Posted by bcn View Post
Preferences/property window (OD610.W8.1, Dell XPS13 hi-res)

- version is not updated in PI Preferences
- Property window will stay always on top, even when the focus is on another program
- Icon drop down menu: mismatch of font size and menu size
__________________
jongough is offline   Reply With Quote
Old 13-01-2016, 14:37   #749
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,684
Re: Ocpn-Draw and Boundary

Jon
re: "Have you tried the traditional icon set and scaled them? Have you tried it on a high res system?"
I've tried with the Traditional menu bar and changed the scale. From 0 to +5 icons growth, but no changes between -5 and 0 and they really need to be smaller than 0 size.
My screen resolution is; 1366 x 768 (Win10)

BTW, the right mouse click tools bar menu is gone in Traditional style. I mean the menu to choose OCPN icons in the bar. I'll mention it also in thread 4.1.1301.
(In Journeyman the right click menu is functional.)
Håkan
__________________
Hakan is offline   Reply With Quote
Old 13-01-2016, 14:52   #750
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 843
Re: Ocpn-Draw and Boundary

Gilletarom,
You have come across a 'feature'. Remember, a boundary is a closed path, so the drawn line starts at point 1, goes to point 2 then back to point 1. This make more sense when you have 3 points as it then forms a triangle and it all makes sense. I will have a look and see if I can get the search process to find the first line, i.e. 1 to 2, and return that.

Jon

Quote:
Originally Posted by Gilletarom View Post
Jongough,

Boundary. With 2 points only. here copy screen;
First point (001) is up, right.
End point, second point (002) is below, left.
But, you can see that it is write "Leg : From 002 to 001.

Is it normal ?
__________________

__________________
jongough is offline   Reply With Quote
Reply

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
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 23:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 07:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 16:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 10:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 18:00


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:01.


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.