Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 15-05-2022, 12:35   #1
Registered User

Join Date: May 2015
Posts: 10
Question Replacing files in s57data screws up "official" charts

Hello,

I'm a long time user and big fan of OpenCPN. Being used to Norwegian paper charts, I've always used to replace chartsymbols.xml and rastersymbols-day.png in s57data with the "swedish look" from OpenCPN's website.

For as long as I was using the "semi-legal" CM93 chart databases one could get a hold of on the Internet, all was fine. The two top attachments (with the fewest depth measurements) shows the old 2012 CM93 charts with original (left) and modified s57data (right)

However, when using the same technique with the official charts purchased from o-charts, the chart is absolutely filled with useless symbols, slowing down OpenCPN to the point that it's not possible to use it anymore.
The bottom two attachments shows the chart with original s57data files (left) and modified (right). And yes, that is about 150 000 pink question marks blotting out the entirety of the Shetland islands.

Anybody else encounter the same problem using the "swedish-look" palette with purchased charts from o-charts?

Thanks for any tips.

SandMan874
Attached Thumbnails
Click image for larger version

Name:	CM93 - Original.jpg
Views:	32
Size:	449.7 KB
ID:	257786   Click image for larger version

Name:	CM93 - S57.jpg
Views:	32
Size:	455.2 KB
ID:	257787  

Click image for larger version

Name:	Official - Original.jpg
Views:	30
Size:	441.1 KB
ID:	257788   Click image for larger version

Name:	Official - S57.jpg
Views:	35
Size:	443.6 KB
ID:	257789  

SandMan874 is offline   Reply With Quote
Old 15-05-2022, 16:46   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,755
Re: Replacing files in s57data screws up "official" charts

SandMan...
How about a zoom in on the problem area with o-charts? Hard to see much at this scale.


Thanks
Dave
bdbcat is online now   Reply With Quote
Old 16-05-2022, 00:46   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 3,524
Re: Replacing files in s57data screws up "official" charts

Sandman..
I tested on my Swedish o-charts files wo problem. Win10, OCPN v 5.6.2, o-charts_pi v 1.0.20.0

I used the alternative palette linked to here: https://opencpn.org/wiki/dokuwiki/do...vector_palette
Attached Thumbnails
Click image for larger version

Name:	o-charts_palette.png
Views:	13
Size:	347.3 KB
ID:	257809  
Hakan is online now   Reply With Quote
Old 16-05-2022, 01:58   #4
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 3,524
Re: Replacing files in s57data screws up "official" charts

Dave.. bnc..Sandman..
Well I have now also tested the UK charts for the Shetlands and see the same for some cells in different scales.
There are also some diagonal lines wo a clear relevance?
If I use the original chartsymbols it's clear these chart files contains unusual symbols and O is also then corresponding irresponsible.
See a single chart file example in one of my shots. The last shot is the same chart file but with normal palette.
Attached Thumbnails
Click image for larger version

Name:	o-charts_UK_palette.jpg
Views:	16
Size:	458.8 KB
ID:	257810   Click image for larger version

Name:	shetland.png
Views:	17
Size:	135.5 KB
ID:	257811  

Click image for larger version

Name:	shetl_close.png
Views:	23
Size:	90.2 KB
ID:	257812   Click image for larger version

Name:	org.palette.png
Views:	21
Size:	82.0 KB
ID:	257813  

Hakan is online now   Reply With Quote
Old 16-05-2022, 12:44   #5
Registered User

Join Date: May 2015
Posts: 10
Re: Replacing files in s57data screws up "official" charts

Yeah, sorry guys, I should have clarified that the problem is worst around the Shetland islands. I used a zoomed out view just to show how big the problem with the 150 000 pink question marks was. I tried zooming in on the Shetlands, but it actually crashed my OpenCPN.

I see that Hakan managed to replicate the problem anyway. Still don't understand why OpenCPN reacts this way to the changed palette files.

I do also encounter similar issues along the Norwegian coast, with pink question marks or pink X's showing up where there was none when using the modified palette.

SandMan
SandMan874 is offline   Reply With Quote
Old 16-05-2022, 18:26   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,755
Re: Replacing files in s57data screws up "official" charts

Just for reference, what are the "?" objects? What does object query say?
Thanks
Dave
bdbcat is online now   Reply With Quote
Old 16-05-2022, 23:32   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 3,524
Re: Replacing files in s57data screws up "official" charts

Dave..
There's no object query to catch for any question mark. I've tried to find a "base" point for the ?-symbol but wherever I try on the symbol the info is the same as surrounding areas wo a ?-mark. See shot.
I get a unverified impression the ?-marks are connected to lights in some way. Compare shot 2 and 3 about the same area with and without the "SE"-palette.

Today I didn't see the diagonal lines mentioned yesterday? O is reinstalled.
Normally I don't use this palette for vector charts. So never seen before.
Attached Thumbnails
Click image for larger version

Name:	palette_query.png
Views:	14
Size:	159.7 KB
ID:	257895   Click image for larger version

Name:	palette_light.png
Views:	13
Size:	223.4 KB
ID:	257897  

Click image for larger version

Name:	palette_normal.png
Views:	12
Size:	153.3 KB
ID:	257898  
Hakan is online now   Reply With Quote
Old 17-05-2022, 00:39   #8
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 993
Re: Replacing files in s57data screws up "official" charts

My guess is that the Swedish chartsymbol.xml file is not up-to-date, that is not tweaked from the latest chartsymbol file...


PS I keep my own French SHOM file updated (and posted on a French forum, but not on https://opencpn.org/OpenCPN/info/vectorpalette.html
Attached Files
File Type: doc chartsymbolsSHOM.7z.doc (93.2 KB, 6 views)
sailorF54 is offline   Reply With Quote
Old 17-05-2022, 10:21   #9
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 3,524
Re: Replacing files in s57data screws up "official" charts

@sailorF54
Yes, could be so. Now I'm not aware of the details but I can see there are differences in listed RCID in the lookup tables between yours "SHOM" and the available SE-file.
@SandMan874
It may bee you should not use the "Swedish" palette until it's adapted to the chart symbols used by O v 5.6.2?
I'm sorry but I don't have knowledge enough to maintain it.
Hakan is online now   Reply With Quote
Old 17-05-2022, 11:34   #10
Registered User

Join Date: Jul 2018
Location: SF Bay Area
Boat: Other people's boats
Posts: 758
Re: Replacing files in s57data screws up "official" charts

If you have the ENC version of chart 1 installed, you should be able to zoom into the different symbol areas (located somewhere in the middle of Mali) and spot the ones that aren't rendering as they're supposed to.

I'll see if I can locate a copy later this evening; example screenshot attached...
Attached Thumbnails
Click image for larger version

Name:	chart-1-excerpt.jpg
Views:	11
Size:	97.4 KB
ID:	257922  
requiem is offline   Reply With Quote
Old 17-05-2022, 12:18   #11
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 3,524
Re: Replacing files in s57data screws up "official" charts

No I don't have "Chart 1". Is that a US chart? What I can found it's not beyond the noaa ENCs by Chartdownloader?
Thanks
Håkan
Hakan is online now   Reply With Quote
Old 17-05-2022, 13:03   #12
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,366
Re: Replacing files in s57data screws up "official" charts

As far as I know there is no ENC Chart1 - its a booklet which explains very well the presentation of objects one will find in ENCs:



For example:
Chart 1 is a publication containing explanations of the symbols, abbreviations and terms needed to interpret nautical charts published by the Canadian Hydrographic Service. Member nations of the International Hydrographic Organization produce Chart 1 using a common format.


A very good reference:
https://nauticalcharts.noaa.gov/publ...s-chart-1.html
bcn is offline   Reply With Quote
Old 17-05-2022, 13:12   #13
Registered User

Join Date: Jul 2018
Location: SF Bay Area
Boat: Other people's boats
Posts: 758
Re: Replacing files in s57data screws up "official" charts

ECDIS (sorry!) Chart 1 was created to ensure that a system can correctly display all symbols in the current edition (4.0) of the IHO S-52 presentation library. As it's typically installed on ECDIS systems finding a copy in the wild is less common, but it appears you should be able to grab one from here:

https://support.navtor.com/support/s...iho-test-cells
requiem is offline   Reply With Quote
Old 17-05-2022, 20:22   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,755
Re: Replacing files in s57data screws up "official" charts

OP...
The alternative chartsymbols.xml file available in the Wiki is missing a recently defined symbolization directive not often seen, but apparently common on UK ENCs.
An updated version is here:
https://www.dropbox.com/s/iwtbi6n1vl...mbols.xml?dl=0


Please take a look, and let us know how it goes.
Thanks
Dave
bdbcat is online now   Reply With Quote
Old 17-05-2022, 21:51   #15
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 993
Re: Replacing files in s57data screws up "official" charts

The updated file seems to do the job perfectly....
Attached Thumbnails
Click image for larger version

Name:	Screen Shot Wed May 18 06-49-02 2022.jpg
Views:	16
Size:	411.0 KB
ID:	257940  
sailorF54 is offline   Reply With Quote
Reply

Tags
charts, crew

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
In the "Dumb Criminal Files" BillKny Rules of the Road, Regulations & Red Tape 76 10-07-2021 13:53
Twin screws, replacing one 13 inch BW VD transmission with 14 inch. Any concerns? skwanderer Monohull Sailboats 3 13-05-2021 18:52
Converting PNG files to KAP files for usage in OpenCPN 58gschol OpenCPN 3 07-09-2019 06:46
Predictwind´s .pwr files to .grb files? andreas.mehlin Navigation 0 16-02-2017 08:03
Gunboat files for Bankrupcy "protection" MarkJ General Sailing Forum 2 26-11-2015 06:14

Advertise Here


All times are GMT -7. The time now is 06:42.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2022, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.