Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5152 closed defect (fixed)

False northing in BAG georeferencing is ignored

Reported by: jdvarner Owned by: Kurt Schwehr
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: BAG
Cc: jdvarner, warmerdam


The GDAL BAG driver seems to ignore any false northing value present in the georeferencing info stored in the XML block near the end of the BAG file.

Here's an example BAG near American Samoa. It should be NAD83 UTM zone 2, with a false northing of 1000000 meters, which would make it "NAD83 UTM Zone 2 Southern Hemisphere".

However, gdalinfo reports it as "UTM Zone 2, Northern Hemisphere" with a false northing of zero.

A colleague of mine reports that CARIS software correctly reads the BAG false northing value.

Attachments (1)

W00158_MB_128m_MLLW_8of8.bag (902.5 KB ) - added by jdvarner 11 years ago.
Sample BAG file near American Samoa

Download all attachments as: .zip

Change History (5)

by jdvarner, 11 years ago

Sample BAG file near American Samoa

comment:1 by warmerdam, 11 years ago

Cc: Kurt Schwehr added
Status: newassigned

comment:2 by warmerdam, 11 years ago

Cc: warmerdam added; Kurt Schwehr removed
Owner: changed from warmerdam to Kurt Schwehr
Status: assignednew

Kurt (goatbar) is going to take this issue. I'll help upstream the change.

comment:3 by warmerdam, 11 years ago

Resolution: fixed
Status: newclosed

Kurt has patched downstream and I've applied the patch in trunk (r26159) and 1.10 branch (r26160).

comment:4 by warmerdam, 11 years ago

Added south hemisphere test (r26169) from Kurt.

Note: See TracTickets for help on using tickets.