Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#5249 closed defect (fixed)

Irrelevant ERDAS GeoTIFF JP2Box read

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: jp2 geotiff


Under some circumstances, ERDAS Imagine can produce JPEG2000 with 2 embedded GeoTIFF JP2Box boxes. One of them (the first one) contains valid georeferencing whereas the other one (the second one) contains a LOCAL_CS with a geotransform = { 0, 1, 0, 0, 0, 1 }.

Currently, GDAL will take into account the last GeoTIFF JP2Box (the wrong one).

Change History (3)

comment:1 Changed 4 years ago by Even Rouault

Milestone: 2.0
Resolution: fixed
Status: newclosed

Fixed by r26485

comment:2 Changed 3 years ago by Even Rouault

trunk r26640 "JPEG2000: fix regression when reading a JPEG2000 file with GCPs (or geotransform), but no valid projection, from a GeoTIFF box (linked to #5249, trunk only)"

comment:3 Changed 3 years ago by Even Rouault

Note: See TracTickets for help on using tickets.