Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-12-2014, 21:15   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Sounding size adjustment on Vector Charts

Would like to be adjust Sounding size on vector charts.
From Options > UI > Font > can select "Chart Text"
need comparable to that for "Chart Soundings"

Pavel advises it is an S-57 Symbol

IHO S-57 (ENC)
Quote:
Soundings
Depth soundings are handled somewhat specially in S-57 format, in order to efficiently represent the many available data points. In S-57 one sounding feature can have many sounding points. The S-57 reader splits each of these out into it's own feature type `SOUNDG' feature with an s57_type of `s57_point3d'. All the soundings from a single feature record will have the same AGEN, FIDN, FIDS and LNAM value.
__________________

__________________
rgleason is online now   Reply With Quote
Old 30-12-2014, 21:45   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

chart.cpp
line 1918
optionsColumn->Add( new wxStaticText(ps57Ctl, wxID_ANY, _("Chart Texts")), groupLabelFlags );
line 4014
S52_setMarinerParam( S52_MAR_SAFETY_DEPTH, dval * conv );
// controls sounding display

s57chart.cpp
line 4861 found Sounding a number of times
m_SoundingsDatum = _T("MEAN LOWER LOW WATER");
m_ID = SENCFileName.GetName();
line 6060
// This is where Multipoint soundings are captured individually
line 6089
// Now decomposed soundings, one by one
line 6910
// Soundings have no information, so don't show them

s57utils.cpp
all about parameters for soundings etc.

s52plib.cpp
Line 3993
// We may be rendering the soundings symbols scaled up, so
// adjust the inclusion test bounding box
double scale_factor = vp->ref_scale/vp->chart_scale;
double box_mult = wxMax((scale_factor - g_overzoom_emphasis_base), 1);
int box_dim = 32 * box_mult;

Line 7199
// Soundings override
if( !strncmp( rzRules->LUP->OBCL, "SOUNDG", 6 ) )
b_catfilter = m_bShowSoundg;

s57.h
Line 160
int nSOMF; /* Vertical (sounding) multiplier */


chartsymbols.cpp
has something to do with widgets writing s57 symbols.

Have to look some more later.
__________________

__________________
rgleason is online now   Reply With Quote
Old 30-12-2014, 22:01   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

Found chartsymbols.xml
and several params SNDG1 SNDG2 DEPCN DEPSC etc
did search on google found

FS#1291 : Chart S-57 : preslib DEPCN label
add S-57 attribute display depth values ​​in VALSOU isobath object DEPCN
bdcat post about depths.

Found Mariner Objects post about s-52 daylight dusk dark
http://www.iho.int/mtg_docs/com_wg/D...er_objects.pdf
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 10:07   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

See: OpenCPN Beta Version 3.3.2424 Released

For Vector Charts:

Zooming from the scale when a given chart is displayed to "Overzoom" the size of all depth soundings stays exactly the same.

It would be helpful if when one zooms in on a chart, if the "soundings symbols" were to proportionally increase in size by a factor of 1.50 to be more legible as the area becomes available zooming in.

I do not know if this will affect opengl textures or other operations, however the "soundings symbols" appear to be a separate and distinct layer on top.

------------
Another less satisfactory alternative would be to add a command to Statusbar plugin which would show the "Sounding Symbol" at the cursor.
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 10:24   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Sounding size adjustment on Vector Charts

Rick...
Just wondering, you don't see this when you overzoom?


Pavel
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-12-31 11:22:29.png
Views:	470
Size:	41.3 KB
ID:	94602  
__________________
nohal is offline   Reply With Quote
Old 31-12-2014, 10:35   #6
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: Sounding size adjustment on Vector Charts

Formerly I always thought vector graphic has no pixels.
So always learning...
Gerhard
__________________
CarCode is offline   Reply With Quote
Old 31-12-2014, 10:42   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Sounding size adjustment on Vector Charts

Gerhard...
As you sure know, not all the S52 symbols are vectors. https://github.com/OpenCPN/OpenCPN/b...ymbols-day.png

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-12-2014, 13:59   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

Scale Comments
39400 (0.5x) Max scale
19600 (1.0x) Native scale
10200 (2.0x) <--Proposed begin increase "Sounding" size
49500 (4.0x) Overzoom starts <--Prop.end "Sounding" size
10200 (2.0x)
5700 (3.5x)
1300 (15x) Sounding symbol starts growing here
790 (25x) Sounding symbol continues to grow.
600 (33x) Max Zoom, Sounding symbol stops growing

Why shouldn't "Sounding Symbols" grow in size from scale 19600 to 49500 (overzoom starts)?

Then when someone zooms in again, the "Sounding Symbols" go back to their smaller size!!!! <--------- Bdcat -THAT would be a very good signal for Overzoomers.

The attached snapshots are all at the same pixel density, just clipped, so the relative "Sounding sizes" are correct.

Attached Images
     
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 14:09   #9
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Sounding size adjustment on Vector Charts

Rick...
Nice try, but try somewhere else, where the chart cells composing your view are different...
Do you think that bigger soundings make sense? File a feature request for it.

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-12-2014, 15:05   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

See Scaled Vector Charts (default)
Setting Options | Official OpenCPN Homepage

I think it would be a more effective warning to have

Quote:
First Appearance of Overzoom Warning =
Soundings have grown to the larger "32"
Quote:
Next zoom down =
Soundings reduce down to smallest "32"
--That would be an abrupt visual alarm.
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 15:10   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

Quote:
Nice try, but try somewhere else, where the chart cells composing your view are different...
Do you think that bigger soundings make sense? File a feature request for it.
Pavel, when you say "try somewhere else, where the chart cells are composing your view are different" are you saying that different charts handle this differently?



I guess that's not surprising really. I hope it does not mean trouble if we move the size changes up to end at the Overzoom warning.

I have checked in several places and I believe that working with NOAA charts this would work.

Yes, I will file a feature request for this, directly.

Thank you Pavel! and Bdcat!
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 15:27   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,415
Re: Sounding size adjustment on Vector Charts

FS#1649 : Chart S-57 ENC CM93 Sounding Symbol set to stop growing at "Overzoom" warning

This might also allow me to be in cockpit without glasses.
__________________
rgleason is online now   Reply With Quote
Old 31-12-2014, 15:33   #13
Registered User

Join Date: Feb 2011
Posts: 490
Re: Sounding size adjustment on Vector Charts

Also, one thing that could be change while you are at it, is to make the soundings normally darker and independent of the setting of Deep depth or Shallow depth adjustment.
Best Regards and Happy New Year to everyone.
P_Dub
__________________
P_Dub is offline   Reply With Quote
Old 31-12-2014, 16:55   #14
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Sounding size adjustment on Vector Charts

Click image for larger version

Name:	faded soundings.jpg
Views:	112
Size:	22.1 KB
ID:	94637
admitting this is 4x scale and untweaked by me
but

good ideas,pdub and rgleason!
__________________
HappySeagull is offline   Reply With Quote
Old 31-12-2014, 18:41   #15
Registered User

Join Date: Jan 2011
Posts: 571
Re: Sounding size adjustment on Vector Charts

Quote:
Originally Posted by rgleason View Post
Scale Comments
39400 (0.5x) Max scale
19600 (1.0x) Native scale
10200 (2.0x) <--Proposed begin increase "Sounding" size
49500 (4.0x) Overzoom starts <--Prop.end "Sounding" size
10200 (2.0x)
5700 (3.5x)
1300 (15x) Sounding symbol starts growing here
790 (25x) Sounding symbol continues to grow.
600 (33x) Max Zoom, Sounding symbol stops growing

Why shouldn't "Sounding Symbols" grow in size from scale 19600 to 49500 (overzoom starts)?

Then when someone zooms in again, the "Sounding Symbols" go back to their smaller size!!!! <--------- Bdcat -THAT would be a very good signal for Overzoomers.

The attached snapshots are all at the same pixel density, just clipped, so the relative "Sounding sizes" are correct.

Rick, IMO the numbers that you mention (39400, 19600, etc) really aren't relevant to your concerns over sounding sizes. The values where you see these resizing effects may vary with different charts, because different charts are published at different scales (1:15000, 1:20000, 1:40000, 1:1200000, etc). I suggest that you delete these numbers from the wiki, because they will create confusion for people using different charts from you.

Theoretically, the magnification numbers (0.5x, 1.0x, 2.0x, etc.) should be more universal with different charts, and thus more meaningful, but I'd suggest that you test them with a variety of different charts (and/or look into the source code) to verify this.
__________________

__________________
RhythmDoctor is offline   Reply With Quote
Reply

Tags
charts, men, size

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
Raster Charts or Vector Charts - Which is Best for Electronic Navigation ? Alecadi Navigation 19 28-03-2012 20:56
Sounding-Out Possible Suitors for 'Oh Joy' . . . CharlieCobra Monohull Sailboats 5 06-06-2010 21:57
Vector Soundings Font Size? JesperWe OpenCPN 35 28-02-2010 05:57
At The Risk of Sounding Like a Jerk ssullivan Multihull Sailboats 31 07-09-2008 19:50
DNC Vector compared to ENC vector chart? adjuvantjfoster Marine Electronics 8 17-09-2006 18:19



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:45.


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.