Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 25-09-2016, 16:37   #1
Registered User

Join Date: Jul 2015
Posts: 102
OCPN 4.4.0 Not accepting official .kap/bsb maps

I have the official KAP/BSB maps of Norway.

The file names contain an underscore ( _ ) which is no longer accepted
by my OCPN v. 4.4.0 like this NW006_2.KAP

Changing the underscore to a full stop ( . ) fixes the problem.

The only thing is, I have SO many maps and hate to do the change manually.

Can that be fixed in the next version?

Sinbad8
sinbad8 is offline   Reply With Quote
Old 25-09-2016, 18:50   #2
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

I'm using charts with names of the type you describe every day, without any problems. Please check what your opencpn log file says.
cagney is offline   Reply With Quote
Old 05-10-2016, 06:16   #3
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

The problem seems to be that the Norwegian official charts are supplied in different geo. formats, ´Polyconic´ which works ok, and ´Equidist Cylindrical´ which does not. Both formats are read by both Fugawi and SeaClear II.

Can this be fixed in the next version?
sinbad8 is offline   Reply With Quote
Old 07-10-2016, 13:05   #4
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Looking at your two posts, I have difficulties following you.
Let's get some facts. Exactly which Norwegian charts are you talking about.
Chart numbers please! Or even better the actual files.

/Thomas
cagney is offline   Reply With Quote
Old 07-10-2016, 19:01   #5
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Hi Thomas.. My first assumption was wrong, the _ has nothing to do with it.

The problem is,the Norwegian ´Kystverket´official charts seem to use several different formats,one of which is the Equidist Cylindr

This chart format,to be exact chart nr. NW007.1.kap is Equidist Cylindr. and cannot be read by OpenCPN.

Unable to upload the KAP and BSB files here.


Tore
sinbad8 is offline   Reply With Quote
Old 07-10-2016, 23:47   #6
Registered User

Join Date: Jan 2012
Posts: 481
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Hi Sinbad,

Can you give a link to this map? I cannot find it on the site you mention.

Philippe.
maitai is offline   Reply With Quote
Old 08-10-2016, 04:05   #7
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Quote:
Originally Posted by sinbad8 View Post
Hi Thomas.. My first assumption was wrong, the _ has nothing to do with it.

The problem is,the Norwegian ´Kystverket´official charts seem to use several different formats,one of which is the Equidist Cylindr

This chart format,to be exact chart nr. NW007.1.kap is Equidist Cylindr. and cannot be read by OpenCPN.

Unable to upload the KAP and BSB files here.


Tore
So, are we talking about this chart?
Click image for larger version

Name:	Norwegian7.png
Views:	146
Size:	299.4 KB
ID:	132524

Thomas
cagney is offline   Reply With Quote
Old 08-10-2016, 05:38   #8
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Morning Thomas and Philippe

The chart is an official chart not available from link except by purchase.
I sent a copy to Thomas yesterday,just remove the .jpg on both files.

It works fine on all other navigation progs,but not on OCPN.
According to the map description attached,it is in ´Cylindical´ format.
Most other charts are in Polyconic format.

I attach a screendump of the chart in question.

Tore
Attached Thumbnails
Click image for larger version

Name:	capture-20161008-092827.png
Views:	184
Size:	112.5 KB
ID:	132525   Click image for larger version

Name:	capture-20161008-092919.jpg
Views:	136
Size:	438.4 KB
ID:	132526  

sinbad8 is offline   Reply With Quote
Old 08-10-2016, 05:54   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Tore...
You should probably see a message in your logfile, saying the chart is not loaded because it uses an unknown projection. Given we can probably assume that "Gauss conformal" == "Transverse Mercator", all that's needed is to add the projection around https://github.com/OpenCPN/OpenCPN/b...timg.cpp#L1060
I would still need to see the chart (actually just it's header) or your logfile to be able to do it though as we need to know what exact value it has set for PR header.

Pavel
nohal is offline   Reply With Quote
Old 08-10-2016, 05:57   #10
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

But,you can produce the same chart here in .kap format using Paul´s GE2KAP

Here is the link: Kystinfo

There is an amazing number of possibilities if you look at all the chart formats at the bottom left of the page,even complete ENC´s and very detailed aerial photos you can overlay the maps.

All the maps are for some reason skewed 6º but the map area selector can also be moved around 360º to adjust. You can select map areas in A4, A2 and A3 formats. Only thing is,the final chart looks a little dull,not quit in focus.

Tore
Attached Thumbnails
Click image for larger version

Name:	capture-20161008-094652.jpg
Views:	124
Size:	407.2 KB
ID:	132527  
sinbad8 is offline   Reply With Quote
Old 08-10-2016, 06:02   #11
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Tore...
This will not help us to fix the problem (Which is also probably resolved in newer editions of the chart as we can see on the picture Thomas posted), we need the info from your particular charts that are not displayed.
Unless I misunderstood you and the charts you are complaining about were not bought, but produced from the site you linked.

Pavel
nohal is offline   Reply With Quote
Old 08-10-2016, 06:03   #12
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Here is the map header:

!Copyright 2001, Maptech Inc. All Rights Reserved.
VER/2.00
BSB/NA=RISOR-ARENDAL,NU=NW007,RA=10418,8418,DU=254
KNP/SC=50000,GD=WGS84,PR=GAUSS CONFORMAL CYLINDRICAL
PP=9.10,PI=5.000,SP=,SK=0.0000000,TA=90.0000000,UN =METERS
SD=EQUINOCTIAL SPRING LOW WATER,DX=5.00,DY=5.00
CED/SE=2000,RE=01,ED=01/01/2000
OST/1
IFM/4
RGB/1,0,0,0
RGB/2,255,255,255
RGB/3,235,211,45
RGB/4,235,141,45
RGB/5,216,52,25
RGB/6,211,224,168
RGB/7,193,190,181
RGB/8,189,227,238
RGB/9,186,163,93
RGB/10,150,140,128
RGB/11,126,111,68
RGB/12,83,144,189
RGB/13,34,110,84
RGB/14,255,162,166
RGB/15,254,226,143
REF/1,2145,7361,58.4166666667,8.8333333333
REF/2,4080,7366,58.4166666667,9.0000000000
REF/3,6013,7367,58.4166666667,9.1666666667
REF/4,7948,7363,58.4166666667,9.3333333333
REF/5,2152,5509,58.5000000000,8.8333333333
REF/6,4083,5516,58.5000000000,9.0000000000
REF/7,6013,5517,58.5000000000,9.1666666667
REF/8,7942,5513,58.5000000000,9.3333333333
REF/9,2156,3661,58.5833333333,8.8333333333
REF/10,4088,3666,58.5833333333,9.0000000000
REF/11,6012,3667,58.5833333333,9.1666666667
REF/12,7937,3663,58.5833333333,9.3333333333
REF/13,2174,1813,58.6666666667,8.8333333333
REF/14,4091,1816,58.6666666667,9.0000000000
REF/15,6012,1819,58.6666666667,9.1666666667
PLY/1,58.3914945283,8.7001043788
PLY/2,58.7251938720,8.6997966088
PLY/3,58.7250666637,9.5082538155
PLY/4,58.3914822729,9.5081432115
DTM/0.000000,0.000000
CPH/0
WPX/2,1.2510869761e+005,3.1315739722e+004,-1.0777886407e+004,-1.0958233897e+001
-3.3395968897e+002,1.1815490630e+002
WPY/2,1.5303889541e+006,1.6405357252e+003,-3.0187885901e+004,-8.1877234794e+001
-2.5259746457e+000,6.8468149981e+001
PWX/2,8.6436142846e+000,8.6902519607e-005,8.4791632648e-007,7.1877571109e-012
-1.1231006542e-010,-2.0981328970e-011
PWY/2,5.8747886153e+001,2.9723551687e-007,-4.5115305910e-005,-2.7554924745e-011
3.0536970685e-013,6.2684701961e-012
ERR/1,0.5786629207,0.4144431935,0.0000190168,0.0000512 776
ERR/2,0.3276536178,0.0576711115,0.0000034653,0.0000282 767
ERR/3,1.3145649128,0.0189498516,0.0000002418,0.0001148 491
ERR/4,0.3479915109,0.3556939206,0.0000149608,0.0000305 475
ERR/5,0.3774849774,1.1579901783,0.0000518364,0.0000313 906
ERR/6,0.7648046871,0.4049784978,0.0000180233,0.0000663 937
ERR/7,0.7609151690,0.5166824421,0.0000230676,0.0000659 469
ERR/8,0.3658175807,0.1771216511,0.0000080319,0.0000335 945
ERR/9,4.4647333300,0.3186299233,0.0000151339,0.0003872 711
ERR/10,1.5609153922,0.0833184193,0.0000035381,0.000135 2393
ERR/11,0.1953548867,0.0634685062,0.0000029527,0.000016 5485
ERR/12,0.4385863082,0.2410093037,0.0000117490,0.000038 2317
ERR/13,3.0520079852,0.8443057159,0.0000367976,0.000266 6417
ERR/14,1.2840142745,1.5225596455,0.0000678555,0.000110 9689
ERR/15,1.0112457619,0.6593102612,0.0000301441,0.000089 9049
sinbad8 is offline   Reply With Quote
Old 08-10-2016, 06:05   #13
Registered User

Join Date: Jul 2015
Posts: 102
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Pavel..

NO, this chart is original... year 2000 I think...

The thing is,Norway has a lot of charts to cover the enormous coastline,considering all the ´fjords´ and there will obviously be others,also in Cylindrical format.

I think a lot of us are using older charts,needing manual updating.


Tore
sinbad8 is offline   Reply With Quote
Old 08-10-2016, 06:09   #14
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Aha! Now I understand.
It is not the question of "Equidist Cylindr" projection, which made no sense at all to me. Such a chart would be unusual and useless for navigation.

It's a "Gauss Conformal Cylindrical projection" according to the pic you attached. That is another name for "Transverse Mercator". Note that it says exactly that on the picture I attached earlier, which comes from an up to date edition of chart 7.
Obviously your charts are based on an earlier edition.

OpenCPN has no problems handling Transverse Mercator charts. I think that the problem lies in the .kap text header.
It should look like this:
Code:
PR=TRANSVERSE MERCATOR
but says something else. Hence OpenCPN does not recognize it.
That should be an easy fix.
For testing, just edit the header in a text or binary editor, and run "bsbfix" afterwards.
Thomas
cagney is offline   Reply With Quote
Old 08-10-2016, 06:22   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: OCPN 4.4.0 Not accepting official .kap/bsb maps

Fixed in https://github.com/OpenCPN/OpenCPN/c...ec33a5a0976f94
Now let's just hope the HOs were no more creative in naming this same projection

Pavel
nohal is offline   Reply With Quote
Reply

Tags
bsb


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
Online Google/Bing Maps to BSB/KAP jonturgeon Navigation 9 28-05-2018 18:27
Online creation of BSB/KAP files from Google Maps jonturgeon OpenCPN 15 28-08-2014 14:32
Making .KAP Maps for Android Marine Navigator and ORUX maps sinbad7 Navigation 5 15-07-2013 16:31
Affordable BSB/KAP Charts from JA Rogers CaptMarc Product or Service Reviews & Evaluations 4 16-03-2010 14:18

Advertise Here


All times are GMT -7. The time now is 08:56.


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.