Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old 09-07-2011, 21:31   #121
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 Netsurfer View Post
I am doing this completely by PHP scripts. One for the download on my server and the other for stitching the tiles on my local system. Stitching 3.000 tiles together won't take a minute.
So imho there is no need to use a certain script for this task if you ensure to always use the highest quality level.
Which ones are you downloading & stitching?

Quote:
Originally Posted by Netsurfer View Post
Are you talking about any future changes to the chart source images or what's the point for "a revision control system"?
Both: for the time after downloading and stitching, but we may see updates to the original files too, from NGA!
__________________

__________________
LeaseOnLife is offline   Reply With Quote
Old 10-07-2011, 01:40   #122
Registered User

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

It was a bit silly to say that just the python script would do. The important thing is to download and stitch together the "raw" jpg's, without further treatment, to start with.

I'll try to get the python script going on the server, and will then start going through all charts that has not been claimed.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 10-07-2011, 02:29   #123
Registered User

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

I'm working on the whole of region 2, Central & South America Caribbean etc.
__________________
cagney is offline   Reply With Quote
Old 10-07-2011, 02:47   #124
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 LeaseOnLife View Post
Which ones are you downloading & stitching?
I am working on Region 3 starting from 35000.

Quote:
Both: for the time after downloading and stitching, but we may see updates to the original files too, from NGA!
Ah OK. But wouldn't it be sufficient for such cases if we would add a 'rev-date-in-ISO-format' to the original filename (being just the chart number)? We all know that our original charts are from July 2011.


Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 10-07-2011, 03:17   #125
bcn
Registered User

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

I noticed that imgkap will put the current date as issuing date of the chart.

That might be ok with a privately created chart, but in our case we should perhaps maintain the NGA issuing information. That can manually done by patching the kap header information in the chart, but this is for sure not the safest way.
What do you opinion?

Naming conventions:
- for the header using Cagney's format my header files are named 52nnnhed.txt
- Stiched jpgs have just the nga number: 52nnn.jpg
- The charts carry the name from NGA (no blanks, no accents, etc.)

19 out 34 charts from 52000 to 52143 are currently downloaded and stitched.
Waiting for an upload place. No hurry.

Hubert
__________________
bcn is online now   Reply With Quote
Old 10-07-2011, 03:56   #126
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 bcn View Post
I noticed that imgkap will put the current date as issuing date of the chart.
Are you talking about the 'CED/ED' parameter?
Which format did you use for the date?
Quote:
That might be ok with a privately created chart, but in our case we should perhaps maintain the NGA issuing information. That can manually done by patching the kap header information in the chart, but this is for sure not the safest way.
What do you opinion?
As I already set up a DB with all available chart data (including edition and edition date) I could offer two options:
  1. I can make a website where you enter the chart number (or a range) and you'll get the basic header(s) as txt file
  2. I can create all headers and you download your desired ones
Quote:
Naming conventions:
- for the header using Cagney's format my header files are named 52nnnhed.txt
- Stiched jpgs have just the nga number: 52nnn.jpg
- The charts carry the name from NGA (no blanks, no accents, etc.)
We should use nothing but only the chart number. All the rest is logical given by the file type.
Anything else in the file names will only complicate things.

All the rest like searching a chart by name could be easily achieved by appropriate scripts running on a website.

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

Join Date: May 2011
Boat: 50' catamaran
Posts: 432
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by Netsurfer View Post
...........
My proposal is to use the existing 'opencpn.xxx' websites for this (and any other site you like). ............. Thanks Gunther
Where will the completed .kap files be available for downloading?
__________________
Revelations is offline   Reply With Quote
Old 10-07-2011, 04:43   #128
Marine Service Provider

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

As promised here is a kap file of bodrum harbour with 4 rough calibration points and outline defined by mapcal
Header file was created from chartcal.dir using mc2bsbh renamed as txt and the img2kap used to create kap file using -n 127 switch

https://docs.google.com/leaf?id=0B3S...0ZTEw&hl=en_US

Here is the header from the kap file

! 2011 imgkap 1.11 - at 10/07/2011 from BODRUM.png
! Created by mc2bsbh beta07 - Use at your own risk!
VER/2.0
BSB/NA=Bodrum Harbour,NU=1000
RA=7286,5763,DU=179
KNP/SC=10000,GD=WGS84,PR=MERCATOR,PP=UNKNOWN
PI=UNKNOWN,SP=UNKNOWN,SK=0.0,TA=90.0
UN=METERS,SD=UNKNOWN
DX=1.42,DY=1.42
REF/1,6977,359,37.0356667,27.454
REF/2,252,5465,36.97,27.35
REF/3,167,278,37.0367083,27.3486867
REF/4,6979,5468,36.9699617,27.45403
PLY/1,37.0402176,27.3461815
PLY/2,36.9662301,27.3461802
PLY/3,36.9662304,27.4587002
PLY/4,37.0402172,27.4587013
DTM/0,0
OST/1
IFM/7

Works well in OpenCPN Seaclear Kapview and Photoshop Fugawi BSB Viewer

please test in any other software you may have

regards

Richard
__________________
r.fairman is offline   Reply With Quote
Old 10-07-2011, 04:56   #129
Registered User

Join Date: Jul 2011
Posts: 6
Re: Charts II: NGA - 2700 Charts

Hello everyone !

I'm new and working on region 5. A big one !
In first excuse me for my poor english
I joins me to you because I think it would be ridiculous that another person do the same work .

Finish east atlantic :51002 to 52143, and 57000 to 57487
just downloaded, no convert, no rotate

Nothing done for mediteran.sea and black sea :52160 to 56222.

Now, i go away sailing for 2 weeks. When i'll come back, i restart the job !

question : I have some problem with 51261, 52047 and 57183.
dezoomify is ok, but impossible to download
__________________
Meark56 is offline   Reply With Quote
Old 10-07-2011, 05:46   #130
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 MooseMoney View Post
Where will the completed .kap files be available for downloading?
I think we have to differ between
  1. the physical location of the files
  2. download links
The answer to 1. is "on your server".
And for the latter "everywhere (on very website) you'd like". What I meant is that imho we do not need to also setup any website on your server as it would be sufficient if the links are propagated on the already existing 'opencpn.xxx' websites.
I hope this makes things clearer?

Thanks
Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 10-07-2011, 07:26   #131
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Charts II: NGA - 2700 Charts

Quote:
Originally Posted by r.fairman View Post
As promised here is a kap file of bodrum harbour with 4 rough calibration points and outline defined by mapcal
....etc

..........
please test in any other software you may have

regards

Richard
Hi Richard...
Click image for larger version

Name:	test8Chart.jpg
Views:	89
Size:	11.0 KB
ID:	29491

for whatever reason,the lat/long does not line up...see my mark in screen grab?on a chart that purports to be WGS 84...?It says it is in the chart title .(I'm well aware that older charts' lines of lat/long are NOT WGS 84 and need shifting to agree)

Otherwise looks fine....

so an issue...frankly,I make it very clear in created kaps that these are home-made....I use EX in the name,or similar un-missable....

also,(per BCN's post above) why mess with mdj's imagekap creation date?(see http://www.cruisersforum.com/forums/f134/imgkap-kap-file-converter-tool-56600-9.html#post720088)
because these are created from pictures stitched together after all...
__________________
HappySeagull is offline   Reply With Quote
Old 10-07-2011, 07:54   #132
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 r.fairman View Post
As promised here is a kap file of bodrum harbour with 4 rough calibration points and outline defined by mapcal
Header file was created from chartcal.dir using mc2bsbh renamed as txt and the img2kap used to create kap file using -n 127 switch

https://docs.google.com/leaf?id=0B3S...0ZTEw&hl=en_US

Here is the header from the kap file
Richard:
  • works in Fugawi Marine ENC 4.5 via the non-MapTech-BSB import, trying to import via the Maptech BSB route fails, like any other chart I have produced. I didi not check the calibration like HappySeagull. BTW the pilot charts don't load in Fugawi any way I tried.
  • does not work in Raytech 6.2. But so don't the pilot charts....
__________________
LeaseOnLife is offline   Reply With Quote
Old 10-07-2011, 08:06   #133
Registered User
 
LeaseOnLife's Avatar

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

Can we have a knowledge base / Wiki for the needed header info, per application?

Maybe something for Netsurfer:

before crafting all the headers, we should understand the needs of applications, other than just OpenCPN.

Examples:
  • Fugawi needs the NU filled, and more than two Cal points, maybe it needs 4.
  • I have not been able to make the Raymarine Raytech program display any of the homemade bsb charts and I probably need help evaluating the special needs of this application. Raytech can overlay the radar returns over a BSB chart, I really would like this feature, using the NGA charts.
  • Polarview => brak should be able to tell us?
__________________
LeaseOnLife is offline   Reply With Quote
Old 10-07-2011, 09:18   #134
Registered User

Join Date: Jun 2007
Location: San Diego
Boat: Gaff rigged sloop, 24'
Posts: 30
Re: Charts II: NGA - 2700 Charts

<< I see IFM 7 quite often >>

Yes, me too. That is because when the BSB spec was lifted from a patent application and leaked into the public arena, it did not come with all the technical papers necessary to implement it correctly.
__________________
NavPak ECS is offline   Reply With Quote
Old 10-07-2011, 09:59   #135
Marine Service Provider

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

Thanks to all about the test kap charts i uploaded. I agree calibration is off and I have now corrected. I too cannot get the chart to load in explorer or raymarine
Have just retested with Polar Navy (Polar View + Polar COM) and the recalibrated kap chart loads and looks great, BUT the chart appears skewed by about 2-3 degrees any ideas Brak

here is the bodrum chart 54412.kap

https://docs.google.com/leaf?id=0B3S...0Yzg3&hl=en_US

regards

Richard
__________________

__________________
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 16:16.


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.