[gdal-dev] Problem with gdalsrsinfo on some NOAA bsb/kap files

Chris Barker chris.barker at noaa.gov
Wed Nov 14 15:16:39 PST 2012


On Wed, Nov 14, 2012 at 3:15 PM, Chris Barker <chris.barker at noaa.gov> wrote:
> On Wed, Nov 14, 2012 at 4:53 AM, Jaak Laineste (Nutiteq)
> <jaak at nutiteq.com> wrote:
>
>>  Have you found workaround for this?
>
> nope.
>
>> I just created index bounding boxes for
>> all the NOAA BSB charts using GDAL
>
> Exacltly how did you use GDAL for this?
>
>>for my Android solution, see
>> http://imgur.com/MpADB - as you can see there are quite many wrong
>> locations, Xmin-coordinate is 0.
>
> you mean the huge pile of boxes on the prime meridian?
>
>> In the same time, Y and Xmax seems to be
>> correct,
>
> you sure about Xmax -- if that were the case, you'd have a lot of
> charts in Europe... though maybe I don't know what i"m looking at.
>
>> which is interesting also. I do not have the number, but there
>> seems to be significant number (1/4?) of the NOAA files positioned wrong.
>
> you might look at a few and see if you can see a pattern.
>
> GDAL asside, there is a lot of info in the *.kap text header -- I
> think the first few GRPs are the bounds of the "actual" map (i.e.
> without the "collar) for instance. You may be abel to get what youwant
> by directly parsing teh header.
>
> Not that GDAL shouldn't report the correct values.
>
> -Chris
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the gdal-dev mailing list