Cruisers Forum
 


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 18-07-2017, 21:10   #76
Registered User

Join Date: Mar 2009
Location: Currently in Malaysia
Boat: Valiant Esprit 37
Posts: 235
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

I too would also like to see a slight increase in size. They're just a little too small right now.

Gene
reflectionsv37 is offline   Reply With Quote
Old 18-07-2017, 21:45   #77
Registered User

Join Date: Mar 2009
Location: Currently in Malaysia
Boat: Valiant Esprit 37
Posts: 235
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

I've been busy converting waypoints to the new icons. I like them! I noticed that in the Route Manager Waypoint display, the assigned icon for the waypoint is tiny with the new icons. These should be larger.

Gene
reflectionsv37 is offline   Reply With Quote
Old 18-07-2017, 23:01   #78
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Quote:
Originally Posted by bdbcat View Post
Hubert....

May I see your logfile?

Thanks
Dave
Dave...

log attached.

Same viewport, same setting 4.6.1 and 4.6.2, just opening and closing.
On 4.6.1 there is a small glitch, but not the complete quilting going wrong.
The log shows some garbage - you will know better what this is about.
This system has a complete mix of chart formats, though not S-63 nor oeSENC plug-in under 4.6.2

Click image for larger version

Name:	2017-07-19 07_36_37-OpenCPN 4.6.1.png
Views:	75
Size:	67.6 KB
ID:	152186
Click image for larger version

Name:	2017-07-19 07_37_44-OpenCPN 4.6.2.jpg
Views:	78
Size:	235.7 KB
ID:	152187

New Diamond compared to old.
New symbols do not change in size modifying Object Scale factor.
The standard one yes.
The screen size is detected correctly.

Hubert


Click image for larger version

Name:	2017-07-19 07_41_27-OpenCPN 4.6.2.jpg
Views:	69
Size:	221.3 KB
ID:	152188
Attached Files
File Type: doc log.txt.doc (76.7 KB, 38 views)
bcn is offline   Reply With Quote
Old 19-07-2017, 06:55   #79
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

bcn...

Something fishy about your UserIcons folder. Please try with empty UserIcons folder, and see if that fixes the chart display.

Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 08:40   #80
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Dave...

replacing UserIcons folder with a new empty one makes no difference.

Hubert
bcn is offline   Reply With Quote
Old 19-07-2017, 08:44   #81
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

bcn...

Same garbage in the logfile?

Code:
7:37:32 AM: Error: Can't load image from file 'data:image/png;base64,iVBORw0KGgoAAAANSUh
Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 08:51   #82
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Dave...

that one is gone but still a lot of those:

Code:
5:39:19 PM: Initializing Chart C:\Charts\UKES\V01X01\ENC_ROOT\ES\ES400424\1\0\ES400424.000
5:39:19 PM: S57chart::Checking SENC file: C:\ProgramData\opencpn\SENC\E1548CB76643_ES400424.S57
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
5:39:19 PM:     Oops, removing from quilt...
5:39:19 PM:    Quilt Compose cache miss...
Hubert
bcn is offline   Reply With Quote
Old 19-07-2017, 09:00   #83
Registered User

Join Date: May 2011
Boat: Simonis 50
Posts: 447
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Quote:
Originally Posted by bdbcat View Post
Revelations...

Please compare the original "diamond" to the new SVG "Diamond" . They should be nearly the same size. Are they? Pix, please?

Thanks
Dave
You did a great job matching the old and new diamond sizes - they are virtually identical. However, I made the svg diamond slightly bigger than the old png diamond. The consequence is that using the diamond icons to scale things, the rest of the icons are now substantially smaller than the png versions. That being said, the original .png icons are too large again.

The perfect size for me will be somewhere between the png icons and the scaled svg icons.

I think I need to redesign the svg diamond as per original size, you can then adjust your scaling accordingly (get the diamonds to match in size) - and the rest of the svg icons will automatically appear larger. That should render the perfect size.
Attached Thumbnails
Click image for larger version

Name:	SVG.jpg
Views:	63
Size:	45.0 KB
ID:	152217  
svrevelations is offline   Reply With Quote
Old 19-07-2017, 09:35   #84
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Hubert....

All very odd.

Please temporarily remove or relocate everything in
C:\ProgramData\opencpn\SENC.

This will cause all standard S57 SENCs to be rebuilt as needed. Will not disturb oeSENCs.

Strange, because the SENC format should not have changed for this version.

Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 10:26   #85
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Dave...

without moving the SENC just launching "prepare all ENC charts"

and

Code:
7:15:24 PM: ParseAllENC() count = 3412
7:15:25 PM: S57chart::Checking SENC file: C:\ProgramData\opencpn\SENC\4C6A99A338E0_ES548801.S57
7:15:25 PM: S57chart::Checking SENC file: C:\ProgramData\opencpn\SENC\3024A63C6017_ES504881.S57
7:15:25 PM: S57chart::Checking SENC file: C:\ProgramData\opencpn\SENC\26D3B6DC8092_ES504891.S57


etc...
chart cache purge
did end the spooky story.

Strange indeed as it did show up only in 4.6.2 and not in 4.6.1
You merged quite a lot of commits yesterday...

Hubert
bcn is offline   Reply With Quote
Old 19-07-2017, 10:44   #86
Registered User

Join Date: May 2011
Boat: Simonis 50
Posts: 447
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Quote:
Originally Posted by bdbcat View Post
Revelations...

Please compare the original "diamond" to the new SVG "Diamond" . They should be nearly the same size. Are they? Pix, please?

Thanks
Dave

Hello Dave

I now remade the svg diamond to the same size as the standard Opencpn diamond. As can be seen from the attached image, the svg diamond is now smaller than the standard OpenCPN diamond. If you scale things so that the new svg and the standard diamond icons are the same - the other icons will increase slightly in size - yielding a near perfect icon size all round.

I will email you the new version of icons within the next couple of minutes - OpenCPN SVG Icons v4.0.rar
Attached Thumbnails
Click image for larger version

Name:	SVG.jpg
Views:	56
Size:	18.5 KB
ID:	152225  
svrevelations is offline   Reply With Quote
Old 19-07-2017, 11:12   #87
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

bcn...

OK, back to the icons.

You say that changing the chart object scale slider does not affect the SVG icons?

Try this:
Override the screen size to something close, like 290 mm.
Then restart, and try the scaling.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 11:15   #88
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

bcn...

By the way, what was the really huge PNG file in your UserIcons folder?

Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 11:32   #89
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Revelations...

OK, thanks, I'll look for it.

Now, I think we can incorporate the SVG icons as standard build, completely replacing the PNG Mark icons.

However, to do this, we need to "map" a new SVG icon into the same name as all of the existing PNG icons. That way, as existing routes, waypoint sets, etc. are loaded, they will automatically shift to the new icons. No-one will need to edit their carefully created waypoint lists.

Here is the relevant code:

Code:
    ProcessIcon( style->GetIcon( _T("empty") ), _T("empty"), _T("Empty") );
    ProcessIcon( style->GetIcon( _T("airplane") ), _T("airplane"), _T("Airplane") );
    ProcessIcon( style->GetIcon( _T("anchorage") ), _T("anchorage"), _T("Anchorage") );
    ProcessIcon( style->GetIcon( _T("anchor") ), _T("anchor"), _T("Anchor") );
    ProcessIcon( style->GetIcon( _T("boarding") ), _T("boarding"), _T("Boarding Location") );
    ProcessIcon( style->GetIcon( _T("boundary") ), _T("boundary"), _T("Boundary Mark") );
    ProcessIcon( style->GetIcon( _T("bouy1") ), _T("bouy1"), _T("Bouy Type A") );
    ProcessIcon( style->GetIcon( _T("bouy2") ), _T("bouy2"), _T("Bouy Type B") );
    ProcessIcon( style->GetIcon( _T("campfire") ), _T("campfire"), _T("Campfire") );
    ProcessIcon( style->GetIcon( _T("camping") ), _T("camping"), _T("Camping Spot") );
    ProcessIcon( style->GetIcon( _T("coral") ), _T("coral"), _T("Coral") );
    ProcessIcon( style->GetIcon( _T("fishhaven") ), _T("fishhaven"), _T("Fish Haven") );
    ProcessIcon( style->GetIcon( _T("fishing") ), _T("fishing"), _T("Fishing Spot") );
    ProcessIcon( style->GetIcon( _T("fish") ), _T("fish"), _T("Fish") );
    ProcessIcon( style->GetIcon( _T("float") ), _T("float"), _T("Float") );
    ProcessIcon( style->GetIcon( _T("food") ), _T("food"), _T("Food") );
    ProcessIcon( style->GetIcon( _T("fuel") ), _T("fuel"), _T("Fuel") );
    ProcessIcon( style->GetIcon( _T("greenlite") ), _T("greenlite"), _T("Green Light") );
    ProcessIcon( style->GetIcon( _T("kelp") ), _T("kelp"), _T("Kelp") );
    ProcessIcon( style->GetIcon( _T("light") ), _T("light1"), _T("Light Type A") );
    ProcessIcon( style->GetIcon( _T("light1") ), _T("light"), _T("Light Type B") );
    ProcessIcon( style->GetIcon( _T("litevessel") ), _T("litevessel"), _T("Light Vessel") );
    ProcessIcon( style->GetIcon( _T("mob") ), _T("mob"), _T("MOB") );
    ProcessIcon( style->GetIcon( _T("mooring") ), _T("mooring"), _T("Mooring Bouy") );
    ProcessIcon( style->GetIcon( _T("oilbouy") ), _T("oilbouy"), _T("Oil Bouy") );
    ProcessIcon( style->GetIcon( _T("platform") ), _T("platform"), _T("Platform") );
    ProcessIcon( style->GetIcon( _T("redgreenlite") ), _T("redgreenlite"), _T("Red/Green Light") );
    ProcessIcon( style->GetIcon( _T("redlite") ), _T("redlite"), _T("Red Light") );
    ProcessIcon( style->GetIcon( _T("rock1") ), _T("rock1"), _T("Rock (exposed)") );
    ProcessIcon( style->GetIcon( _T("rock2") ), _T("rock2"), _T("Rock, (awash)") );
    ProcessIcon( style->GetIcon( _T("sand") ), _T("sand"), _T("Sand") );
    ProcessIcon( style->GetIcon( _T("scuba") ), _T("scuba"), _T("Scuba") );
    ProcessIcon( style->GetIcon( _T("shoal") ), _T("shoal"), _T("Shoal") );
    ProcessIcon( style->GetIcon( _T("snag") ), _T("snag"), _T("Snag") );
    ProcessIcon( style->GetIcon( _T("square") ), _T("square"), _T("Square") );
    ProcessIcon( style->GetIcon( _T("triangle") ), _T("triangle"), _T("Triangle") );
    ProcessIcon( style->GetIcon( _T("diamond") ), _T("diamond"), _T("Diamond") );
    ProcessIcon( style->GetIcon( _T("circle") ), _T("circle"), _T("Circle") );
    ProcessIcon( style->GetIcon( _T("wreck1") ), _T("wreck1"), _T("Wreck A") );
    ProcessIcon( style->GetIcon( _T("wreck2") ), _T("wreck2"), _T("Wreck B") );
    ProcessIcon( style->GetIcon( _T("xmblue") ), _T("xmblue"), _T("Blue X") );
    ProcessIcon( style->GetIcon( _T("xmgreen") ), _T("xmgreen"), _T("Green X") );
    ProcessIcon( style->GetIcon( _T("xmred") ), _T("xmred"), _T("Red X") );
    ProcessIcon( style->GetIcon( _T("activepoint") ), _T("activepoint"), _T("Active WP") );
In each line, the first string is the file name, the second is the icon name that appears in the properties page drop list, and the third line is a description, currently unused.

So, for each line in this list, we need an SVG icon file name that will replace the existing PNG.

Some are obvious: e.g. for PNG-"diamond" we use SVG-"Symbol-Diamond.svg". Other require some thought, and maybe a few new icons. As default, if nothing can be made to match, we would probably use "Symbol-Circle.svg"

Will you walk thru this list and give me the recommended SVG file names?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 19-07-2017, 12:34   #90
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: New Standard Waypoint Icons For OpenCPN - Input Requested

Quote:
Originally Posted by bdbcat View Post
bcn...

By the way, what was the really huge PNG file in your UserIcons folder?

Dave
Nothing in special - see screen shot.
BTW.: restoring the UserIcon folder the offending png is back.
But does not break quilting anymore...
Now, renaming the big boat png icon to "non-png" will surpress the hick-up.

Click image for larger version

Name:	2017-07-19 21_17_11-C__ProgramData_opencpn_UserIcons-bk-by-size.jpg
Views:	67
Size:	178.4 KB
ID:	152234

Setting screen width to 290mm manually does not change the result.
No reaction on new icons changing the factor

Code:
9:20:56 PM: NMEA input device initial open failed: COM13...GetLastError():  2
9:20:56 PM:    ***GPS Watchdog timeout at Lat:41.2752   Lon: 1.9661
9:21:42 PM: Metrics:  m_display_size_mm: 290     wxDisplaySize:  3200:1800   
9:21:48 PM: Metrics:  m_display_size_mm: 290     wxDisplaySize:  3200:1800   
9:21:49 PM: Metrics:  m_display_size_mm: 290     wxDisplaySize:  3200:1800   
9:21:51 PM: LOGBOOK:  2017-07-19 19:21:51 UTC  DR Lat   41.27520 Lon    1.96610
Attached Thumbnails
Click image for larger version

Name:	2017-07-19 21_21_10-OpenCPN 4.6.2.png
Views:	72
Size:	126.6 KB
ID:	152235  
bcn is offline   Reply With Quote
Reply

Tags
enc, opencpn

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
Considering Liveaboard Lifestyle - Input requested pdxgrl33 Liveaboard's Forum 50 12-09-2016 10:11
Incorrect placement of waypoint after coordinate input JMK200 OpenCPN 5 12-11-2015 09:16
Free OpenCPN Icons HappySeagull OpenCPN 72 20-05-2015 12:37
How do I batch change waypoint icons WallyD OpenCPN 7 18-12-2014 05:31
NMEA *Input* string format to signal next autopilot waypoint? neodiogenes OpenCPN 7 04-07-2012 21:02

Advertise Here


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


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.