Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-11-2009, 21:38   #106
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Documentation has been updated.
__________________

dacust is offline   Reply With Quote
Old 11-11-2009, 03:49   #107
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Quote:
Originally Posted by dacust View Post
Documentation has been updated.
Thank You Dan. What I'd like now is to receive comments. I'll try in my spare time to write down some "light" documentation of the parameters and on the calibration process. The most important think now is to understand if we are moving in the right direction of if there are cases not covered or covered in a wrong way.

Ciao, Marco.
__________________

__________________
GPS-Marco is offline   Reply With Quote
Old 11-11-2009, 11:22   #108
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
Dan..Marco..

Perhaps this is a service to up/download our various mapping paraphernalia.
Files or directories can be shared with or without password free up to 5 GB.
Upgrading to 100 GB is about $75.- per year.

I have set up a test account. Have a look:
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-11-2009, 09:01   #109
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Beta 5 now available. - No functional changes.
  • Now handles headers with an unlimited number of lines.
  • Fix to be able to compile with gcc 4.3.2
  • Some code changes were made for maintainability.
FYI, if a new beta ever introduces a bug that makes it unusable, hopefully you saved the previous version. But, if not, all previous version are on the download page under the History section.

-dan
dacust is offline   Reply With Quote
Old 15-11-2009, 16:52   #110
oem
Registered User

Join Date: Nov 2009
Location: Vejle, Denmark
Boat: Vindø 995 ds
Posts: 133
Incredible stuff. I managed to convert some charts from the danish sea-area to BSB and to view it in OpenCPN.

Marvellous! Thanks and thanks again!

At first I had to convert from a very proprietary format used in Denmark and Sweden(I believe). I managed, since I incidentally got access to a program called VisIT Plus 5.01.

I have seen a couple of swedish members in this thread.

Do you happen to know a better way to convert the files with the format .IT in 'Det levende Søkort',/'Levande Sjökart' to something else. I managed, yes, but only because I got access to the VisIT-program through a friend. The VisIT 5.01 can convert .IT-files to JPG, GeoTiff and a few more, but it's not a freeware program.
__________________
oem is offline   Reply With Quote
Old 15-11-2009, 21:29   #111
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Quote:
Originally Posted by oem View Post
Do you happen to know a better way to convert the files with the format .IT...
Sorry, no. It' not listed for ImageMagick, which handles the most formats of anything I am familiar with.

Glad you have a way, though...

-dan
dacust is offline   Reply With Quote
Old 22-11-2009, 03:57   #112
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
Something strange is going on with the conversion process. I calibrated two separate charts,one in Harwich,the othe the Thames estuary. The Thames estuary works fine on it's own,but with the Harwich chart included in the same directory,none of the charts will display and a weird red framework is shown,linking the two charts together?

It is the same whatever release of OpenCPN I use.. Suggestions anyone?
Attached Thumbnails
Click image for larger version

Name:	LINKS.jpg
Views:	128
Size:	20.2 KB
ID:	11236  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 22-11-2009, 05:45   #113
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
Re # 112

Found the problem... Once I checked the final .hdr file I realized the MAPCAL.DIR file contained the headers of both charts.

Still have problems displaying my overview chart of the English channel straddling the Greenwich meridian.
Attached Thumbnails
Click image for larger version

Name:	HARWICHPORT.jpg
Views:	129
Size:	373.8 KB
ID:	11239   Click image for larger version

Name:	THAMESESTUARY.jpg
Views:	125
Size:	298.5 KB
ID:	11240  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 22-11-2009, 17:14   #114
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
mc2bsbh beta 7 available

Just a bug fix or two. Thanks, Marco!

-dan
dacust is offline   Reply With Quote
Old 02-12-2009, 15:56   #115
Registered User

Join Date: Dec 2009
Location: SW Florida
Boat: 1983 Windboats, Endurance 42 - Cameleon
Posts: 8
Image does not display correctly using mc2bsbh

I have tried to get mc2bsbh to work but the resulting kap file does not display correctly in opencpn, seaclear, capn etc.. the image seems to be scewed. Perhaps some one has run into this problem?

version list
mc2bsbh - beta07
libbsb - 0.0.3
imagemagick - 6.5.8

screenshot
Attached Thumbnails
Click image for larger version

Name:	scewed.gif
Views:	120
Size:	156.0 KB
ID:	11477  
__________________
Zpex is offline   Reply With Quote
Old 02-12-2009, 16:11   #116
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Hello ZPex,

You should tell us exactly what you did (the file you started from, the calibration you did, etc.). Then you should post here at least the CHARTCAL.DIR from MapCal and the header you got from mc2bsbh.

If you put us in condition to replicate exactly your steps, we can maybe find the problem.

Ciao, Marco.
__________________
GPS-Marco is offline   Reply With Quote
Old 02-12-2009, 16:45   #117
Registered User

Join Date: Dec 2009
Location: SW Florida
Boat: 1983 Windboats, Endurance 42 - Cameleon
Posts: 8
Thanks Marco,
OK started with multiple files that were in the old maptech format (hdr with the 640x480 chunks of images) using the gimp I put these "Chunks" together and created image file 11461.png (tried multiple formats png, bmp etc..). Calibrated the gif with mapcal saving the CHARTCAL.DIR (this is the only chart in the CHARTCL.DIR file). used the following commands to run the conversions.
convert 11461.png -colors 127 11461.gif
convert 11461.gif -colors 127 11461.tif
mc2bsbh CHARTCAL.DIR
tif2bsb -c 127 11461.hdr 11461.tif 11461.kap

here are the files
Attached Files
File Type: txt 11461.hdr.txt (540 Bytes, 116 views)
File Type: txt CHARTCAL.DIR.txt (543 Bytes, 93 views)
__________________
Zpex is offline   Reply With Quote
Old 02-12-2009, 17:57   #118
Obsfucator, Second Class
 
dacust's Avatar

Cruisers Forum Supporter

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,743
Quote:
Originally Posted by Zpex View Post
Thanks Marco,
OK started with multiple files that were in the old maptech format (hdr with the 640x480 chunks of images) using the gimp I put these "Chunks" together and created image file 11461.png (tried multiple formats png, bmp etc..). Calibrated the gif with mapcal saving the CHARTCAL.DIR (this is the only chart in the CHARTCL.DIR file). used the following commands to run the conversions.
convert 11461.png -colors 127 11461.gif
convert 11461.gif -colors 127 11461.tif
mc2bsbh CHARTCAL.DIR
tif2bsb -c 127 11461.hdr 11461.tif 11461.kap

here are the files
I have never started with a .png. And I note that the CHARTCAL.DIR says the image is a .gif. I didn't know Mapcal could handle a .gif. I thought it only did .bmp and .png.

The only time I have seen results like that were from a corrupted image. But I have never seen that exact result. So, I don't know what could be wrong, but here are some suggestions and questions.

Try the ImageMagick "identify" command to check the stats of the .tif and post the results in here.

Will Gimp open the .tif that you are using in tif2bsb?

Is the size of that tif actually 8320x6720? (I don't think that is it, the results don't look like it...)

Also, any warning messages as a result of any of the commands?

-dan
dacust is offline   Reply With Quote
Old 02-12-2009, 18:17   #119
Registered User

Join Date: Dec 2009
Location: SW Florida
Boat: 1983 Windboats, Endurance 42 - Cameleon
Posts: 8
Dan,
yes mapcal can handle gifs just choose the "any file" type and choose the gif file. it will open and you can calibrate it. the CHARTCAL.DIR has shows .gif because it was probably the last image type i tried.

Yes the gimp can open the image.
yes the size is 8320x6720

here are the identify results
11461.tif TIFF 8320x6720 8320x6720+0+0 4-bit PseudoClass 16c 3.489MiB 0.000u 0:00.000

Thanks,
Greg
__________________
- Greg
Zpex is offline   Reply With Quote
Old 02-12-2009, 18:24   #120
Registered User

Join Date: Dec 2009
Location: SW Florida
Boat: 1983 Windboats, Endurance 42 - Cameleon
Posts: 8
also, the original image is created from 182 640x480 images, each one being a 640x480 piece of the whole chart 14 high 13 across
__________________

__________________
- Greg
Zpex is offline   Reply With Quote
Reply

Tags
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
Bahamas Explorer Charts in BSB Format? geoffschultz Navigation 29 16-05-2015 11:21
Free (and Legal) BSB Charts from Maptech! exposure Navigation 15 31-07-2013 12:51
Sales Agreements - Template Anyone? cyberkitty Dollars & Cents 3 11-02-2010 15:49
OpenCPN with BSB v4 selkie Navigation 4 03-08-2009 12:32
Survey Template bbhflts Construction, Maintenance & Refit 3 23-06-2009 23:42



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:10.


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.