Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 30-11-2013, 04:41   #1
Registered User

Join Date: May 2011
Posts: 847
New Zealand Raster Charts now BSB

I just had a look on the NZ LINZ site and found that since Nov 22nd they are releasing their raster charts in BSB format. Thanks NZ

NZMariner - Official Raster Navigational Charts (RNCs) | Land Information New Zealand (LINZ) - Toit

I have tried the sample in OCPN and all seems well.
Littlechay is offline   Reply With Quote
Old 30-11-2013, 08:35   #2
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
Re: New Zealand raster charts now BSB

Please read this post :

http://www.cruisersforum.com/forums/...ml#post1403635

and try ...
Gilletarom is offline   Reply With Quote
Old 30-11-2013, 09:28   #3
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Zealand raster charts now BSB

Great move by the Kiwis. Congratulations!

Unfortunately the small scale charts shows clear signs of bad geo-referencing. Something has gone wrong ......?
The larger scal charts seems OK.

In the log there are heaps of lines like:
Quote:
Skew override on chart /home/thomas/Charts/ChartsII/BSB3/NZ_release/BSB_ROOT/NZ14600/NZ1460001.KAP is 117.125 degrees
Click image for larger version

Name:	NZ_release.png
Views:	222
Size:	249.8 KB
ID:	71316

Look at all the charts in the chart bar that is marked as "Skewed". There are no skewed charts in NZ anymore, as far as I know. There used to be a few, a long time ago, around Tauranga, for example.

Thomas
cagney is offline   Reply With Quote
Old 30-11-2013, 09:59   #4
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Zealand raster charts now BSB

Nothing wrong with the Kiwi charts. They work fine with 3.2.2.
So it looks like some trouble with the internal skew calculation patch.
This is one for the tracker!

Thomas
cagney is offline   Reply With Quote
Old 19-12-2013, 08:49   #5
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Zealand raster charts now BSB

The previous reported problem is fixed in Git and will be included in the next beta release.

Meanwhile.....
If you are cruising the Tonga/Samoa area or are planning to do so. The official NZ chart release is missing a number of charts in this area, that are available in Marco's version.

Thomas
cagney is offline   Reply With Quote
Old 19-12-2013, 12:08   #6
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Re: New Zealand raster charts now BSB

Hello,

if you are planning to go to the south pole please note that the LINZ NZ charts representing the south seas and spanning many degrees in latitude (like the NZ14065) present a little problem:

since LINZ charts include third order polynomials, OpenCPN will uses those polys; unfortunately those polys cannot approximate correctly the Mercator projection for such charts and there will be an error up to some tens of pixels in the Latitude direction.

Maybe OCPN should check such cases, avoid using the polys and rely on REF points only.

Ciao, Marco.
Attached Thumbnails
Click image for larger version

Name:	LatitudeShift.png
Views:	319
Size:	98.1 KB
ID:	72410  
GPS-Marco is offline   Reply With Quote
Old 19-12-2013, 13:37   #7
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Zealand raster charts now BSB

Thank you Marco!
I have entered this issue in the bug tracker.
FS#1265 : Charts: Third order polynomials leads to BSB chart display error in high latitudes.

Thomas
cagney is offline   Reply With Quote
Old 20-12-2013, 03:14   #8
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
Re: New Zealand raster charts now BSB

Hello GPS Marco,

Quote:
Originally Posted by GPS-Marco View Post
Hello,
.....
Maybe OCPN should check such cases, avoid using the polys and rely on REF points only.

Ciao, Marco.
What do you understand by "REF points" ,

Thank by advance. Gilletarom.
Gilletarom is offline   Reply With Quote
Old 20-12-2013, 05:14   #9
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Re: New Zealand raster charts now BSB

I prepared a very simple empirical method to estimate the poly error:

Given of a chart:
MaxLat, MinLat , HeightInPixel

the third order poly error in pixels (RMS) is about:
1) MaxNorthing = ln (tan (MaxLat/2 + Pi/4))
2) MinNorthing = ln (tan (MinLat/2 + Pi/4))
3) RMSPixelError = Abs(HeightInPixel/1000*(MaxNorthing - MinNorthing )^3)

So: if the RMSPixelError of a chart is 2 or more pixels, it is maybe better to use the BSB REF points instead of the polys.

Ciao, Marco.
GPS-Marco is offline   Reply With Quote
Old 20-12-2013, 08:40   #10
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: New Zealand raster charts now BSB

Quote:
Originally Posted by Gilletarom View Post
Hello GPS Marco,



What do you understand by "REF points" ,

Thank by advance. Gilletarom.
Gilletarom

Open a .kap bsb chart in a text editor, and you will see how the key word "REF" is used. For an explanation have a look at Chart Conversion Manual | Official OpenCPN Homepage. There are also numerous threads on this forum that discuss the subject of making and manipulating bsb kap charts.

Thomas
cagney is offline   Reply With Quote
Old 23-12-2013, 08:32   #11
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: New Zealand Raster Charts now BSB

Marco...

I do not fully follow your estimate for RMS pixel error
Given of a chart: MaxLat, MinLat , HeightInPixe
l the third order poly error in pixels (RMS) is about:
1) MaxNorthing = ln (tan (MaxLat/2 + Pi/4))
2) MinNorthing = ln (tan (MinLat/2 + Pi/4)) 3) RMSPixelError = Abs(HeightInPixel/1000*(MaxNorthing - MinNorthing )^3)

What is the constant "1000" coming from? What about chart scale, semimajor_axis....?

I suppose this is truly empirical, but I would like to understand it before I code it....
Dave
bdbcat is online now   Reply With Quote
Old 24-12-2013, 04:00   #12
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Re: New Zealand Raster Charts now BSB

Hello,

I attached a simple excel to evaluate the 3rd order poly error and the empirical formula error estimation on a mercator chart. The objective of the empirical formula is just to switch OCPN beteween the poly usage (that is sometimes wrong) and the REF usage (that should be always rigth). So it does not whant to be "precise".

Anyway, another switch condition could be to read in the BSB header the ERR values (should be always present in conjuction with the presence of the polys). These ERR rows report the error at the REF points due to the usage of the polys: again if the RMS of the errors read from ERR lines is grater than say 2 pixels, don't use the polys. Unfortunately, these ERR reported errors can be due to a real distorsion of the chart and not only to the polys error in fitting mercator exact latitude formula.

Ciao, Marco.
Attached Files
File Type: xls LatError.xls (20.5 KB, 89 views)
GPS-Marco is offline   Reply With Quote
Old 26-12-2013, 05:37   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,531
Images: 2
Re: New Zealand Raster Charts now BSB

I am continually impressed with the chart expertize in this forum. It is quite remarkable. I think back to the massive effort to convert charts that turned into real disapoointment, but I think that experience and effort shows itself every day in some way. Thanks guys for your time and expertize!

Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Reply

Tags
bsb, charts, New Zealand

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
OpenCPN Radar Overlay PlugIn bdbcat OpenCPN 900 21-09-2022 00:26
Lagoon 450 (Next Life) damaged in the Exuma, The Bahamas Sand crab Navigation 325 12-04-2014 19:15
Dipslaying 'notes' with BSB charts... sailorF54 OpenCPN 6 18-10-2013 08:04
Best Electronic Charts for Bahamas prroots Navigation 18 28-02-2012 11:29
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 18:12.


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.