Cruisers Forum
 


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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 26-07-2011, 23:24   #301
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by r.fairman View Post
As an aside it would be nice to use the GE plugin for this. Can waypoints created in OpenCPN display in the plugin without having to close the plugin, open GE and import
Not yet, but it's on my list for the next beta cycle. We need to extend the plugin API to do that.

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 02:54   #302
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

Guys,
we have a little glitch here
I'm starting to run the pre-processing scripts on the downloaded images in the completed regions and found quite a few (more than 100) broken JPGs so far.
Most of them are in region 7 (and 3 in region 9, so far I processed 1, 7, 8, 9 and misc). Please have a look at https://github.com/ngacharts/ngachar...iled-downloads and if you can, tell me the following, so we can trace the source of the problem:
  • Which script was used to download and stitch them
  • If you have a local copy still available, are they really broken if you look at them in an image viewer or editor? (for the region 9 ones I can tell they are...)
If there's any JPEG expert - can it be fixed without redownloading?

Thanks a lot

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 03:05   #303
Marine Service Provider

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

I was not responsible for the original download but as a test as we speak i am downloading chart 73580 using the dezoom ruby script. Once completed I will open in photoshop to test
regards

richard
r.fairman is offline   Reply With Quote
Old 27-07-2011, 03:38   #304
Registered User
 
idpnd's Avatar

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,558
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by dacust View Post
Doing it this way, the calibration is done first. A .kap is created from the non-updated chart.

Then when/if the NOTMs are applied for a particular chart, a new .kap is created.
I feel an early release of the charts would attract lots and lots of users who will then most probably take an interest in updating their local charts
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 27-07-2011, 04:23   #305
Marine Service Provider

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

just redownloaded one of your problem charts 73580 size 44772

Opens in Photoshop and Photopaint. Looks poor quality but opens ok

What preprocessing are you carrying out can I duplicate locally to test

regards

Richard
r.fairman is offline   Reply With Quote
Old 27-07-2011, 04:32   #306
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

Richard,
the preprocessing is done with GraphicsMagick Image Processing System
You can try whatever you feel like - anything should complain and produce broken output, but if you want to try exactly:
Code:
gm convert 73580.jpg -gravity SouthWest -crop 1500x1500+0+0 -depth 8 -type Palette -colors 32 png8:73580_sw.png
BTW, the file on the servers is:
Code:
45767047 Jul 19 08:03 73580/73580.jpg
Thanks

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 05:07   #307
Marine Service Provider

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

My jpg file converts ok to png size 138311 Opens ok in Photoshop

I used imagemagick

The chart is in an unusual portrait format is your crop causing a problem

regards

Richard
r.fairman is offline   Reply With Quote
Old 27-07-2011, 05:20   #308
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

The crop is ok, the downloaded JPG is the source of the problem:
Index of /73580
What I'm trying to figure out is whether we have to redownload or we can use some time-saving technique to repair them.

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 05:32   #309
Registered User
 
LeaseOnLife's Avatar

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

All Region 7 were downloaded by me.... using the ruby script. Not sure what went wrong, currently I don't have the bandwidth to load a single chart to see the problem myself :-(
LeaseOnLife is offline   Reply With Quote
Old 27-07-2011, 05:37   #310
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

If you still have them locally, just have a look at one of the problematic ones so we can see whether the problem came during the download/stitching or on the way to the server.
Looking at the speed at which we are downloading, doing 120 of them again looks not like a big deal in the worst case.

Thanks

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 05:40   #311
Registered User
 
LeaseOnLife's Avatar

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

They seem fine, using jpeginfo to check, on my little Gentoo server. md5sum is different too than on weitzerfish. I will initiate an upload of the failed ones in Region 7.
LeaseOnLife is offline   Reply With Quote
Old 27-07-2011, 05:47   #312
Marine Service Provider

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

my download of one of your problem file 73580 fails "errors in file"
r.fairman is offline   Reply With Quote
Old 27-07-2011, 05:51   #313
Registered User
 
LeaseOnLife's Avatar

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

114 files for Region 7 are in queue for re-upload. ETA in about 10h...

They all check out fine locally with jpeginfo -c *.jpg

I also upload the corrupt 61000.

Sorry about that!

Dirk
LeaseOnLife is offline   Reply With Quote
Old 27-07-2011, 08:07   #314
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Charts II: NGA - 2700 Charts

Dirk,
no problem, you deserve the prize for the downloader of the year anyway

Pavel
nohal is offline   Reply With Quote
Old 27-07-2011, 08:14   #315
Registered User
 
LeaseOnLife's Avatar

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

Quote:
Originally Posted by nohal View Post
Dirk,
no problem, you deserve the prize for the downloader of the year anyway

Pavel

Thanks Pavel! I pass the glory on to Jim / Surveyor. It's not all about the amount, but also about the diligence to retry the failed downloads of others.

Dirk
LeaseOnLife is offline   Reply With Quote
Reply

Tags
charts


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


Advertise Here


All times are GMT -7. The time now is 13:04.


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.