google-code-export / tilers-tools

Automatically exported from code.google.com/p/tilers-tools
0 stars 0 forks source link

Polyconic NAD27 BSB Chart #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use gdal_tiler on a polyconic nad27 .kap file (**attached)

What is the expected output? What do you see instead?

Error:
gdal_tiler.py", line 523, in shift_srs new_srs='%s +lon_0=%d' 
%(self.proj_srs,lon_0) TypeError: %d format: a number is required, not float

The lon_0 number is inf ... I'm not finding where this is happening. 

What version of the product are you using?

Jan 9 source

What was the operating system?

Linux

Please provide any additional information below.

problem .kap file attached

Original issue reported on code.google.com by manim...@gmail.com on 2 May 2012 at 1:55

Attachments:

GoogleCodeExporter commented 9 years ago
I believe the KAP file attached has some errors in the metadata.

The chart belongs to the Western hemisphere, so PP field at the KNP record must 
be negative (i.e. PP=-127.22500). This agrees with some other NOAA charts 
tested earlier (11516_1.KAP,14500_1.KAP).

It seems there is another issue there, the file has zero values for easting, 
northing at the DTM record which contradicts to the text printed on the chart.

Original comment by vadp.d...@gmail.com on 2 May 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Interesting, I'll look at the chart header data.  I'm not super familiar with 
all of the header data meaning... guess its time to get up to speed.

Thanks,

Will

Original comment by manim...@gmail.com on 3 May 2012 at 2:16