Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-11-2012, 04:16   #31
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: CM93 Chart detail?

I changed the rgb numbers at s57chartsymbols.xml data/ file (OCPN 3.1.919) as
LANDA 255 224 183
NODTA 225 224 222
DEPDW 255 249 245
LANDF 255 200 125
CHBRN 226 192 156
but the colours of the map did not change, all are the same.
__________________

__________________
boraxtr is offline   Reply With Quote
Old 03-11-2012, 04:22   #32
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: CM93 Chart detail?

Quote:
Originally Posted by boraxtr View Post
I changed the rgb numbers at s57chartsymbols.xml data/ file (OCPN 3.1.919) as
LANDA 255 224 183
NODTA 225 224 222
DEPDW 255 249 245
LANDF 255 200 125
CHBRN 226 192 156
but the colours of the map did not change, all are the same.
1. Check your log file. It will tell you which chartsymbols.xml file is loaded. You might have several copies.

2. Check that you are editing the right color table. You want <color-table name="DAY_BRIGHT">.
__________________

__________________
JesperWe is offline   Reply With Quote
Old 03-11-2012, 04:52   #33
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: CM93 Chart detail?

Hi Jesper, Nothing changed after edited the <color-table name="DAY_BRIGHT"> . log file attached.
Attached Files
File Type: doc opencpn.log.doc (14.8 KB, 96 views)
__________________
boraxtr is offline   Reply With Quote
Old 03-11-2012, 08:50   #34
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: CM93 Chart detail?

So is it the C:\Program Files\OpenCPN\s57data\chartsymbols.xml file you are editing?
__________________
JesperWe is offline   Reply With Quote
Old 03-11-2012, 13:00   #35
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 95
Re: CM93 Chart detail?

Yes Jesper, it is the edited file. However I think I was wrong. After reinstalled the 3.02+3.1.919 and used the edited file, I found the swedish look colors.
Thank you for your kind interest.
__________________
boraxtr is offline   Reply With Quote
Old 19-03-2013, 16:07   #36
TSK
Registered User

Join Date: Mar 2013
Location: Turku, Finland
Boat: TSK47 one-off sloop
Posts: 1
Re: CM93 Chart detail?

Quote:
Originally Posted by JesperWe View Post
No, but when stable is out I will provide a patched version. The solution is really a hack that doesn't belong in the supported version.
Hello, would it be possible to get the "" windows patch for 3.2?
I'm allready using the swedish style charts and like them alot!
__________________
TSK is offline   Reply With Quote
Old 20-03-2013, 15:53   #37
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: CM93 Chart detail?

JesperWe et.al...

The Swedish "/" hack is fascinating. Where did you do it? could you share some code? I can't say I'm a developer but can manage some of it.
And for further development it would be a challenge to surpass MaxSea or who ever did the CM93s. They have actually distroyed the Swedish originates by not include the native char sets. If we, OCPN, can fix that back it would be outstanding. This is actually valid for the whole Scandinavian and more countries as well.
The hack is nice but in its extension a bit dangerous. Not valid program files can start to drift around and cause jumble. The ultimate solution would be user interface settings to activate different char-pair translations like Swedish, Danish, Norwegian and so on. Would that be a possible challenge to code?
I'm note the coder to do it but I could facilitate to make the chars translation tables.

Comments? views?
Thanks
Hkan
__________________
Hakan is offline   Reply With Quote
Old 22-03-2013, 02:45   #38
Registered User

Join Date: Oct 2009
Location: West coast of Sweden
Boat: Najad391
Posts: 155
Re: CM93 Chart detail?

Quote:
Originally Posted by Hakan View Post
JesperWe et.al...

The Swedish "/" hack is fascinating. Where did you do it? could you share some code? I can't say I'm a developer but can manage some of it.
And for further development it would be a challenge to surpass MaxSea or who ever did the CM93s. They have actually distroyed the Swedish originates by not include the native char sets. If we, OCPN, can fix that back it would be outstanding. This is actually valid for the whole Scandinavian and more countries as well.
The hack is nice but in its extension a bit dangerous. Not valid program files can start to drift around and cause jumble. The ultimate solution would be user interface settings to activate different char-pair translations like Swedish, Danish, Norwegian and so on. Would that be a possible challenge to code?
I'm note the coder to do it but I could facilitate to make the chars translation tables.

Comments? views?
Thanks
Hkan
I hope that a solution can be made to handle for us in the world that use this odd things
To put back Scandinavian, or other, missing chart info in cm93 is a very good thing and will solve the problems with cm93 that for every update loose more and more details. I really support this thinking
__________________
janp391 is online now   Reply With Quote
Old 02-04-2013, 12:40   #39
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: CM93 Chart detail?

Hi
Jesper or anyone a little help please. Ill try to make CM93 to view Swedish chars as described above. But my lack of experience won't let me find the place were the text is coming in. There's a lot of text handling in <s52plib.cpp> but I can't find the text str itself. A code extract from when this was done previously would be of great help, wheel reinvent and so on. Or just a hint of where the strings are printed to screen.
Hkan
__________________
Hakan is offline   Reply With Quote
Old 02-04-2013, 12:53   #40
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,752
Re: CM93 Chart detail?

Quote:
Originally Posted by Hakan View Post
Hi
Jesper or anyone a little help please. Ill try to make CM93 to view Swedish chars as described above. But my lack of experience won't let me find the place were the text is coming in. There's a lot of text handling in <s52plib.cpp> but I can't find the text str itself. A code extract from when this was done previously would be of great help, wheel reinvent and so on. Or just a hint of where the strings are printed to screen.
Hkan
Perhaps the easiest is to drop him a mail:
Journeyman 60 - Extreme Adventure Yacht
__________________
bcn is offline   Reply With Quote
Old 03-04-2013, 10:22   #41
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: CM93 Chart detail?

Quote:
Originally Posted by Hakan View Post
Hi
Jesper or anyone a little help please. Ill try to make CM93 to view Swedish chars as described above. But my lack of experience won't let me find the place were the text is coming in. There's a lot of text handling in <s52plib.cpp> but I can't find the text str itself. A code extract from when this was done previously would be of great help, wheel reinvent and so on. Or just a hint of where the strings are printed to screen.
Hkan
You can start with Jespers old patch. It needs developing, as it does not work, as is, on 3.2.
swedish_characters_3_0.zip.pdf

Thomas
__________________
cagney is offline   Reply With Quote
Old 03-04-2013, 12:36   #42
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: CM93 Chart detail?

Thomas..
Very good, many thanks for your support. That's for sure a good start. Exactly what I wanted.
Hkan
__________________

__________________
Hakan is offline   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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 05:48.


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.