Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-11-2015, 01:37   #466
bcn
Registered User

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

Quote:
Originally Posted by jongough View Post
Hubert,
I cannot do anything with the fonts at the moment, but I made some changes to the dialog boxes to try and get them to size correctly. Are you saying that the dialog boxes still have the issue of only half displaying various objects?

Jon
Sorry,

yes, all the same
Attached Thumbnails
Click image for larger version

Name:	2015-11-26 10_34_22-569.png
Views:	43
Size:	17.2 KB
ID:	113848   Click image for larger version

Name:	2015-11-26 10_35_09-569-2.png
Views:	45
Size:	21.4 KB
ID:	113849  

__________________

__________________
bcn is online now   Reply With Quote
Old 26-11-2015, 06:34   #467
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

Jon,
Progress on the blinking objects, its much better selecting the objects that are being worked on only.

There are some additional improvements needed however, the text points, boundary points, and other points all seem to blink whenever any object is selected. I think that is correct how I described it. They stop blinking after the object is not select anymore.

I haven't seen any improvement on the outlines in this lastest one... I am sorry. I've tried to check all settings yet again... but perhaps I am not doing something correctly.

I've attached a couple of screenshots of settings.

One other problem I had was when entering a Boundary, after entering 3 pts (actually) I hit escape and Opencpn froze. And then tried to load Opencpn again it the timer just spins.
Attached Thumbnails
Click image for larger version

Name:	Ocpn_draw-Boundary-Properties.jpg
Views:	43
Size:	335.2 KB
ID:	113859   Click image for larger version

Name:	Ocpn_Draw-Preferences-General-Tab.png
Views:	35
Size:	136.6 KB
ID:	113860  

Click image for larger version

Name:	Ocpn_Draw-Preferences-Boundary-Tab.png
Views:	39
Size:	130.6 KB
ID:	113861   Click image for larger version

Name:	Boundary-3-pt-Escape-Problem.png
Views:	42
Size:	80.0 KB
ID:	113863  

__________________

__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 06:46   #468
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

As a result of the

Boundary-3-pt-Escape-Problem.png

I had to disable the plugin because O would not load.
When I then enabled the plugin O failed again.
There is nothing under the ocpn_draw plugin directory.

I am going to simply reinstall ocpn_draw and see if that helps.
Could the database be corrupted?

Reinstall ocpn_draw_pi-0.4.569-ov4.1.1108-win32

That does not seem to help either. Options is not responding.

I've attached my objects file with a .doc extension, if that will help.
Attached Files
File Type: doc Ocpn_Draw_Test_Objects.gpx.doc (44.8 KB, 6 views)
__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 08:18   #469
bcn
Registered User

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

Rick,

the latest entry in the file is from 2015-11-24, so nothing from today.
Out of curiosity: anything in the xml.changes file?

And if you start with a complete new file? Deleting ODnavobj.xml and ODnavobj.xml.changes from the data directory?

Hubert
__________________
bcn is online now   Reply With Quote
Old 26-11-2015, 08:33   #470
bcn
Registered User

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

Here we can open the file and indeed the objects in question do show up without borders as well.
How are they wrong? Shall see, but anyhow: creating stuff with former versions will always have the risk to break something...
Attached Thumbnails
Click image for larger version

Name:	2015-11-26 17_29_18-OD-Ricks-objects.png
Views:	40
Size:	90.8 KB
ID:	113878  
__________________
bcn is online now   Reply With Quote
Old 26-11-2015, 09:03   #471
bcn
Registered User

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

The borderline issue:

Comparing the object with no border
Code:
 <name>Boundary Inclusion Red</name>
    <opencpn:guid>5e92ffff-6e0e-418a-80f4-70ce00490000</opencpn:guid>
    <opencpn:viz>1</opencpn:viz>
    <opencpn:active>1</opencpn:active>
    <opencpn:style active_colour="rgba(0, 0, 0, 0.000)" active_fillcolour="rgb(255, 0, 0)" inactive_colour="rgba(0, 0, 0, 0.000)" inactive_fillcolour="rgba(0, 0, 0, 0.000)" width="10" style="102" fill_transparency="255" inclusion_boundary_size="27" /
with one with a visible border we have
Code:
  <opencpn:path>
    <opencpn:type>Boundary</opencpn:type>
    <opencpn:guid>7f3fffff-817d-43dd-99a1-c76b20bc0000</opencpn:guid>
    <opencpn:viz>1</opencpn:viz>
    <opencpn:active>1</opencpn:active>
    <opencpn:style active_colour="rgb(0, 255, 0)" active_fillcolour="rgb(0, 255, 0)" inactive_colour="rgba(0, 0, 0, 0.000)" inactive_fillcolour="rgba(0, 0, 0, 0.000)" width="2" style="100" fill_transparency="169" inclusion_boundary_size="15" />
It looks as if the color for the border is "none".
How did this happen? - dunno...

Hubert
__________________
bcn is online now   Reply With Quote
Old 26-11-2015, 10:24   #472
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

Hurbert
After the glitch created by starting to enter a boundary, (two to three points) then hit escape.... it froze. I eventuallly found
C:\ProgramData\opencpn\plugins\ocpn_draw_pi\data (to other empty one was bogus)

and I deleted the first two ocpn_drawnavobj.xml
and tried loading Opencpn and starting ocpn_draw and everything worked ok. There were no old objects in the Manager, so I loaded the ones I had just saved out.

Of course they have no outline.... I will have to go in and fix these objects.
Thanks Bcn!
Wonder how they got that way.


PS: I deleted the changes file, too. But I can retrieve it and look.

--Seems to be empy.
__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 10:39   #473
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

Hurbert & Jon,

I changed one by hand in the xml, then was able to change the other outline by just going into properties and reasserting the color, then the outlines showed up.


For some reason, whenever I am entering a Boundary Inclusive the Outline does not show, even though under properties it shows and indicates as "Black" color.... even then the outline does not show as black.... So I just go into "Boundary Properties" and click on the "Black Line" to reassert the proper RGB settings.

I think there is some default RGB setup that is not initialized properly for Lines. I can't understand why it would show as black under properties, when it does not show at all when the boundary is draw...
__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 10:55   #474
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

This is working much better now. I just wonder about the initialization of Line Color. Still have to enter Boundry Inclusive and then Boundary Properties and pick Line and reset to proper initial values. Then it works. This is for even new Boundary Inclusive.
__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 10:57   #475
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

In addition to Boundary Point Line Color setting it would be nice to have
Boundary Point Line Width
Boundary Point Line Type (short dash, long dash, dot, etc)
__________________
rgleason is online now   Reply With Quote
Old 26-11-2015, 14:26   #476
Registered User

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

Hi,
Good catch Hubert with the xml. I found that the initialisation of the inactive colours used an invalid colour name and this lead to the rgba(0,0,0,0.000), i.e. transparent black. I have now fixed this initialisation.

Rick, to fix your issue, either, go into the opencpn.ini file and remove all references to colours with rgba(0,0,0,0.000) or go into the main preferences and reset the inactive colours. As for your objects, if you look in the current ODnavobj.xml file and see any colours that have a 0.000 transparency you can change these by changing the colours from the individual items properties. This should avoid you having to redraw them.

I have put up patch 570 which should fix the issue.

Jon
__________________
jongough is offline   Reply With Quote
Old 26-11-2015, 14:29   #477
Registered User

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

Rick,
I assume that you are talking about the width and type of the boundary/range rings?

Jon

Quote:
Originally Posted by rgleason View Post
In addition to Boundary Point Line Color setting it would be nice to have
Boundary Point Line Width
Boundary Point Line Type (short dash, long dash, dot, etc)
__________________
jongough is offline   Reply With Quote
Old 26-11-2015, 21:21   #478
Registered User

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

Rick,
Patch 570 contains the range ring width and style.

The next patch will require a recompile of OCPN as I am going to use two new API calls to see if I can set the font size correctly for high resolution screens. This will require commit bd28b2c of OpenCPN as a minimum. There is no new version number to go with this commit.

Jon
__________________
jongough is offline   Reply With Quote
Old 26-11-2015, 23:19   #479
Registered User

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

Hi,
Patch 571 contains the new code for scaled fonts. This may help with the issue on high res screens. Hubert can you please test and see if it is any better?

Remember you will need to get the latest version of OCPN from git, build it, then copy the resulting 'lib' file to OD and rebuild it. The code works on my machine, but it is not high res. So I don't think I have made it worse.

Jon
__________________
jongough is offline   Reply With Quote
Old 27-11-2015, 13:41   #480
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Ocpn-Draw and Boundary

Jon,

Newly compiled Ocpn4.1.1108 + Ocpn_Draw_pi (used new opencpn.lib from main program) Usingnewly compiled ocpn_draw_pi #571.

Attached are corrected .GPX file for the objects so that the outline does draw. These are working now from the start of drawing a Boundary object, due to I went back to Preferences and reset the colors, so they are no longer hidden black.

Note: The linetypes for Boundary Points must be working but they look like solid lines. Is there any way to improve the drawing of say dashed Boundary Point outlines ?

Thanks Bcn and Jon this is much better and working better.

-Note: The watchman alarms don't seem to be working at all. The Boundary alarm notice does not change from "Anchor inside of ......" at all when the boat has been moved out using "Move boat here"

Any suggestions? The alarms are not working.
Attached Thumbnails
Click image for larger version

Name:	Ocpn_Draw_Pi-Drawing_Objects_Tested_working_ok.png
Views:	32
Size:	240.9 KB
ID:	113926  
Attached Files
File Type: doc Ocpn_Draw_Test_Objects-Now-working.gpx.doc (73.2 KB, 7 views)
__________________

__________________
rgleason is online now   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 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17: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 04:10.


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.