Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 11-07-2011, 08:53   #166
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,047
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by allanpeda View Post
I see this problem:

convert: unable to open image `7-55-32.jpg'

There is a convert: unable to open image 7-55-31.jpg and 7-55-33.jpg but the intermediate is not there.
yep, ruby script fails too.
__________________

__________________
LeaseOnLife is offline   Reply With Quote
Old 11-07-2011, 08:56   #167
Registered User
 
Surveyor's Avatar

Join Date: Mar 2010
Location: Ft. Pierce, FL - Bislig, Philippines - Gladstone QLD
Boat: 1968 Alberg 30 #329
Posts: 451
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by allanpeda View Post
I see this problem:

convert: unable to open image `7-55-32.jpg'

There is a convert: unable to open image 7-55-31.jpg and 7-55-33.jpg but the intermediate is not there.

Index of /NGAViewer/52047/TileGroup12
Index of /NGAViewer/52047/TileGroup13
31 and 33 are both plain white with no other colors. You could "make" a 32 by copying 31 or 33 and naming it properly.
__________________

__________________
Jim - Bahala na!
http://svcookie.blogspot.com/
KK4GGF
Surveyor is offline   Reply With Quote
Old 11-07-2011, 08:59   #168
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by Surveyor View Post
31 and 33 are both plain white with no other colors. You could "make" a 32 by copying 31 or 33 and naming it properly.
Yes, but be aware that they are both 168 x 256 in size and not 256 x 256.
Depending on the way you stitch the images this might be important (or not).

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 11-07-2011, 10:02   #169
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Start Uploading

You can now upload your chart picture files again.
Full instructions here: NGA Charts Upload Files at OpenCPN.info (English)
You have to use an FTP client, but full instructions are provided.
I just followed them myself, as my old trusted ftp program wasn't quite up to the task. 10 minutes and you can be uploading.
Thanks Netsurfer for all your efforts, in setting up this.

Thomas
__________________
cagney is offline   Reply With Quote
Old 11-07-2011, 10:59   #170
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Charts II: NGA - 2700 Charts

Just a note:
No need to upload again what's already sent to my server, we will do the synchronization on server side.

Pavel
__________________
nohal is offline   Reply With Quote
Old 11-07-2011, 11:25   #171
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,047
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by cagney View Post
I don't have the original! Also I cropped the original chart containing two inserts after converting. You can always download the original, crop the A insert and use my header. Get the header from the kap file, just copy the text in the beginning. You would have to adjust the pixelcount though.
REF1 starts in lower left corner and then proceed clockwise.

I can't see any point in converting to png the way you suggest. Most likely you will end up with a larger file, with no gain.

Thomas

Thomas
As an exercise, I went thru my current standard procedure
  • Downloaded and stitched by ruby script.
  • extracted/cropped the chartlet with xnview, saved as png
  • resized to 50% and saved as png using nconvert
  • calibrated using MapCal
  • mc2bsbh to create hdr from CHARTDIR.CAL, renamed hdt to txt
  • imgkap -n to create kap with 127 colors
  • for the screenshots I uses bsb2png and cropped the thumbnails with xnview
Result: kap file is 7.1MB instead of 3.9MB

but the result in quality is significant. For the 1st picture the original image was reduced to 40%, for the 2nd picture the resize was to 50%, that explains the different size. Despite that, there is significant noise in the 1st, much less in the 2nd.

In my book, I would trade HD space for better quality.

kap file and working files are here:
http://www.4shared.com/folder/Nre2n96r/24375.html
Attached Images
  
__________________
LeaseOnLife is offline   Reply With Quote
Old 11-07-2011, 13:10   #172
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,764
Re: Start Uploading

Quote:
Originally Posted by cagney View Post
You can now upload your chart picture files again.
Full instructions here: NGA Charts Upload Files at OpenCPN.info (English)
You have to use an FTP client, but full instructions are provided.
I just followed them myself, as my old trusted ftp program wasn't quite up to the task. 10 minutes and you can be uploading.
Thanks Netsurfer for all your efforts, in setting up this.

Thomas
52039 to 52143 are uploaded.

As we are in "stand-by" about compressing/creating the kap:s I will start now to download the 53011 - 53133 range.

In our case download/stitch at 75% Q is about 50min/file

Cheers

Hubert
__________________
bcn is online now   Reply With Quote
Old 11-07-2011, 20:49   #173
Registered User
 
Surveyor's Avatar

Join Date: Mar 2010
Location: Ft. Pierce, FL - Bislig, Philippines - Gladstone QLD
Boat: 1968 Alberg 30 #329
Posts: 451
Re: Charts II: NGA - 2700 Charts

I am uploading but it is going to take 95 hours! 17gb @ 52kb/sec

I can mail you dvds!

4 more files I could not grab:
97412
97440
97460
97465

That completes 91004 to 97564!!!
__________________
Jim - Bahala na!
http://svcookie.blogspot.com/
KK4GGF
Surveyor is offline   Reply With Quote
Old 11-07-2011, 21:09   #174
Registered User

Join Date: Dec 2010
Boat: Catalina 30
Posts: 211
Re: Charts II: NGA - 2700 Charts

BTW, 4shared optionally allows files to be downloaded via bittorrent:

Download from 4shared with BitTorrent clients! | 4shared blog
__________________
allanpeda is offline   Reply With Quote
Old 11-07-2011, 22:28   #175
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,047
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by Surveyor View Post
4 more files I could not grab:
97412
97440
97460
97465
added to my list.

16 of your missing files are here, so far no misses:
http://www.4shared.com/folder/XtRsJgsN/Region-9.html

I hope you grab them and upload them, right? Would be good if complete sets are kept somewhere else than just one server...
__________________
LeaseOnLife is offline   Reply With Quote
Old 12-07-2011, 00:37   #176
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,047
Re: Charts II: NGA - 2700 Charts

Compatibility with Raytech and Fugawi, need to create a bsb file for a kap file.

Fugawi can import the kap files we produce via "Maps/Map tools/Import/BSB (Non MapTech)". I was trying to figure out why the import via "Maps/Map tools/Import/BSB-Maptech" doesn't work:

It needs a *.bsb file for a corresponding *.kap file. Sometimes one bsb file is enough for a couple of kap files (see NOAA chart 50_1 and 50_2).

By trials I learned, also Raytech needs this BSB file to import kap files.

I tried to craft my own BSB file with no luck so far. It is just a text file, similar to the kap header. Does someone here know more about the bsb files?

NavPak wrote about a leaked, but incomplete, BSB spec. Where can I get this spec?

Thanks!

Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 12-07-2011, 01:23   #177
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Re: Start Uploading

Quote:
Originally Posted by bcn View Post
52039 to 52143 are uploaded.

As we are in "stand-by" about compressing/creating the kap:s I will start now to download the 53011 - 53133 range.

In our case download/stitch at 75% Q is about 50min/file

Cheers

Hubert
Note that all downloads must be at 100% Q.
with a command line similar to this.
This is no problem with the ruby script.

Code:
dezoomify.py -i /home/thomas/Testing/NGA/Fulldown.txt -l -q 100 -d -o /home/thomas/Testing/NGA/output.jpg
-q must be set to 100, otherwise it defaults to 75!

All uploads must be the "raw" 100% picture where only stitching has been used on the individual tiles.

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-07-2011, 02:31   #178
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,764
Re: Charts II: NGA - 2700 Charts

Thomas,

changed the py parameters - sure you have seen the "Output quality over 95% is discouraged due to large filesize without useful quality increase - continue y/n"....

Hubert
__________________
bcn is online now   Reply With Quote
Old 12-07-2011, 02:43   #179
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by bcn View Post
Thomas,

changed the py parameters - sure you have seen the "Output quality over 95% is discouraged due to large filesize without useful quality increase - continue y/n"....

Hubert
Yes I/we have. Just answer "y". What we are doing is trying to save every bit of available "quality" there is in a jpg.

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-07-2011, 03:21   #180
Marine Service Provider

Join Date: Feb 2010
Posts: 279
Re: Charts II: NGA - 2700 Charts

I agree the jpgs must be 100 % copies of the files that NGA holds. It is dangerous to archive these files at less that 100% by doing some preprocessing. Our fall back must allways be to be able to go back to the saved .jpgs
__________________

__________________
r.fairman is offline   Reply With Quote
Reply

Tags
charts

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 08:45.


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.