|
|
30-12-2014, 20:15
|
#1
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
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.
|
|
|
|
30-12-2014, 20:45
|
#2
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
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.
|
|
|
31-12-2014, 09:07
|
#4
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Sounding size adjustment on Vector Charts
See: http://www.cruisersforum.com/forums/...ml#post1711584
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.
|
|
|
31-12-2014, 09:24
|
#5
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
|
Re: Sounding size adjustment on Vector Charts
Rick...
Just wondering, you don't see this when you overzoom?
Pavel
|
|
|
31-12-2014, 09:35
|
#6
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,535
|
Re: Sounding size adjustment on Vector Charts
Formerly I always thought vector graphic has no pixels.
So always learning...
Gerhard
|
|
|
31-12-2014, 09:42
|
#7
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
|
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
|
|
|
31-12-2014, 12:59
|
#8
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
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.
|
|
|
31-12-2014, 13:09
|
#9
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,145
|
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
|
|
|
31-12-2014, 14:05
|
#10
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
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.
|
|
|
31-12-2014, 14:10
|
#11
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
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!
|
|
|
31-12-2014, 14:27
|
#12
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: Sounding size adjustment on Vector Charts
|
|
|
31-12-2014, 14:33
|
#13
|
Registered User
Join Date: Feb 2011
Posts: 1,102
|
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
|
|
|
31-12-2014, 15:55
|
#14
|
Registered User
Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
|
Re: Sounding size adjustment on Vector Charts
admitting this is 4x scale and untweaked by me
but
good ideas,pdub and rgleason!
|
|
|
31-12-2014, 17:41
|
#15
|
Registered User
Join Date: Jan 2011
Posts: 670
|
Re: Sounding size adjustment on Vector Charts
Quote:
Originally Posted by rgleason
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.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|