Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 2.00 average. Display Modes
Old 13-01-2010, 07:39   #421
Registered User

Join Date: Nov 2009
Location: Berlin Germany
Posts: 23
Hi Sinbad7
at the moment there is not program in our homepage you are right. We change the homepageto the start of bootsfair in Duesseldorf. Today can send you some converted chart of baltic sea. you will find it in your e-mailbox.
Leo
__________________

__________________
Leo12305 is offline   Reply With Quote
Old 13-01-2010, 07:51   #422
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Leo..

Thank you Leo but I don't need the charts but I need your program or explanation as to how you determin the scale (i.e. 1:200.000) of a screen captured bitmap from OpenSeaMap.

Regards
Tore
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-01-2010, 08:14   #423
Registered User

Join Date: Nov 2009
Location: Berlin Germany
Posts: 23
Quote:
Originally Posted by sinbad7 View Post
Leo..

Thank you Leo but I don't need the charts but I need your program or explanation as to how you determin the scale (i.e. 1:200.000) of a screen captured bitmap from OpenSeaMap.

Regards
Tore
Ok Sinbad7

the program is only running if you have all tiles from the used aeria. For this I have own server runing.

I will give the calculations for the zoomlevels.
# calcualate meter per pixel
my $lfm = 40024/360*1000*($N-$S)/$width ;
with in px

each has has 256 px if you know the Number of tiles you can calculate is easy.
leo
__________________
Leo12305 is offline   Reply With Quote
Old 13-01-2010, 09:05   #424
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Leo..

I take it '$lfm' = scale (as in 1:200.000)
Are '$N and $S' number of tiles and pixels?

Otherwise I have calculated the scales of some of your zoom levels as follows:
Zoom 9 - 10 nm - scale 729.133
Zoom 10 - 5 nm - scale 364.565
Zoom 11 - 2 nm - scale 145.827
Zoom 12 - 1 nm - scale 72.914

Above this zoom level,all are shown as 1 nm???
Zoom levels below 9 are mostly un-readable being blocked by your information logo.

As you see from the attached my Opera browser also displays the tiles.
Attached Thumbnails
Click image for larger version

Name:	tiles.png
Views:	101
Size:	354.8 KB
ID:	12584  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-01-2010, 09:35   #425
Registered User

Join Date: Nov 2009
Location: Berlin Germany
Posts: 23
Quote:
Originally Posted by sinbad7 View Post
Leo..

I take it '$lfm' = scale (as in 1:200.000)
Are '$N and $S' number of tiles and pixels?

Otherwise I have calculated the scales of some of your zoom levels as follows:
Zoom 9 - 10 nm - scale 729.133
Zoom 10 - 5 nm - scale 364.565
Zoom 11 - 2 nm - scale 145.827
Zoom 12 - 1 nm - scale 72.914

Above this zoom level,all are shown as 1 nm???
Zoom levels below 9 are mostly un-readable being blocked by your information logo.

As you see from the attached my Opera browser also displays the tiles.

lfm = meter per pixel

N -S are degrees in decimal

width are the pixel from left to right Side of the use aeria
I send you a Chart from Baltic Sea this a Skale 1:353400

leo
__________________
Leo12305 is offline   Reply With Quote
Old 13-01-2010, 10:11   #426
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Leo.. This is a bit like pulling teeth...

What are the variables $N and $S ? Max and min latitude of the map?
So, when we have the result of $lfm= meters per pixel,how do we calculate the scale?

Sorry, but we'll get there in the end...
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-01-2010, 12:28   #427
Registered User

Join Date: Nov 2009
Location: Berlin Germany
Posts: 23
Quote:
Originally Posted by sinbad7 View Post
Leo.. This is a bit like pulling teeth...

What are the variables $N and $S ? Max and min latitude of the map?
So, when we have the result of $lfm= meters per pixel,how do we calculate the scale?

Sorry, but we'll get there in the end...
What is your problem all our tiles has 72 dpi.

if you know this, use this

mass = lfm * 72/2.54*1000;

mass is your scale

If you have an other dpi use this value instet of 72

leo
__________________
Leo12305 is offline   Reply With Quote
Old 13-01-2010, 13:19   #428
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
leo...

Thanks for your patience.. I repeat total procedure to find SCALE (mass) of a map:

$mass=((40024/360*1000*($N-$S)/$width))*(72/2.54*1000)

$lfm = 40024/360*1000*($N-$S)/$width (meter per pixel)
Tile size 72 dpi. Tile width=256 pixels.
Variable $N top latitude in dec.deg.
Variable $S bottom latitude in dec.deg.
$width=tile numbers in chart * 256 (full chart width)

It will be fun to experiment...
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-01-2010, 16:15   #429
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
leo..

I used your chart SCALE formula on a new map of the German North Sea but it does not make sense. Based on a 10nm to the inch,the scale should be 1:729133 but your formula came out at 1:6243433

The calculations were made as follows:
$lfm = 40024/360*1000*(55.59909-53.06328)/1280 (5 tiles x 256)= 220.25445
(72/2.54*1000)= 28346.456
Finally 220.25445*28346.456= 6243433

What went wrong?

You can download the GermanNortSea.kap here to check:
Attached Files
File Type: doc GermanNorthSea-CHARTCAL.DIR.doc (557 Bytes, 35 views)
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-01-2010, 18:30   #430
Registered User

Join Date: Nov 2009
Location: Berlin Germany
Posts: 23
Scale OpenSeaMap

Quote:
Originally Posted by sinbad7 View Post
leo..

I used your chart SCALE formula on a new map of the German North Sea but it does not make sense. Based on a 10nm to the inch,the scale should be 1:729133 but your formula came out at 1:6243433

The calculations were made as follows:
$lfm = 40024/360*1000*(55.59909-53.06328)/1280 (5 tiles x 256)= 220.25445
(72/2.54*1000)= 28346.456
Finally 220.25445*28346.456= 6243433

What went wrong?

You can download the GermanNortSea.kap here to check:
Hi Sindbad7

I make a new chart from the same areal in zoom level 10

I send it to your e-mail adress. my calculation is 1.1.592.555 for this areal

These calculation is not constructed from me, I find in a other program.

greetings leo
__________________
Leo12305 is offline   Reply With Quote
Old 14-01-2010, 11:21   #431
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Hi all..

As there does not seem to be much interest in the development of Open Source charting facilities,I will belay my sails until more favourable winds will blow.

Thanks to those who gave support..
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 14-01-2010, 12:13   #432
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
The question is really how this could be implemented as an overlay..
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 14-01-2010, 13:24   #433
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
idpnd...

Whilst it is possible to do privately,I don't think the overlay method is a viable method for the users of OpenCPN. A totally Open Source map system is required as mentioned in one of my previous postings:

Quote:
Interesting news from the Norwegian Coast Guard which has adapted OpenSeaMap.

The Norwegian Coast Guard is now offering a free charting service for Norway.
The new development is that they are using OpenSeaMap as a base,with choice of up to date ECDIS compatible nautical charts for the entire coast of Norway. Presently only available via internet.

All the nautical charts are collected directly from 'Sjøkartverket' ,the coast guard's charting service. The maps are collected as WMS (Web Map Service) Each time the user pans or zooms the chart,a call is made to the Sjøkartverkets WMS server,making sure you reveive the very latest chart information. If OpenCPN could be made WMS compatible, it would in theory be possible to collect the charting data direct from Sjøkartverket.

About the WMS service:

Perhaps a similar model could be adapted for use with other free charting services such as USA and Brazil.

As the data is presently only available over the internet,I suggested that perhaps arrangements could be made to download particular chart areas prior to each planned trip which could later be updated or deleted as required. This would avoid having to download the entire and huge database.

I have suggested that we could all benefit from a discussion to find a solution to offer a total FREE navigation package to the boating fraternity.
Until someone with the skills and motivation to check out the possibility to incorporate WMS or similar into OpenCPN we are not going to make significant headway.
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 14-01-2010, 13:30   #434
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
That's what I mean, we will have to wait until someone comes along and implements a technical solution
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 14-01-2010, 13:40   #435
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
I agree and challenge:

Quote:
Until someone with the skills and motivation to check out the possibility to incorporate WMS or similar into OpenCPN we are not going to make significant headway.
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Reply

Tags
charts, kml, raster2bsb, tiff2bsb, bsb

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charts on CD stxboy Navigation 43 28-01-2014 11:40
Charts for BC Charlie Navigation 11 19-04-2007 04:39
Used Charts daven Navigation 2 28-11-2006 17:47
Looking at charts - where to go to next Rippy Other 19 10-03-2006 05:27



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 03:52.


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.