#1906 closed defect (fixed)
GMLJP2 sometimes has srsName only on boundedBy.Envelope
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.3 |
Component: | GDAL_Raster | Version: | 1.4.2 |
Severity: | normal | Keywords: | jp2kak gmljp2 |
Cc: | gaopeng |
Description
some jpeg2000 files with gmljp2 coordinate system information only place the srsName on the boundedBy.Envelope object, not on the rectified grids origin and offset vectors as GDAL expects.
A small dummied up example is attached.
Attachments (1)
Change History (4)
by , 17 years ago
comment:1 by , 17 years ago
Status: | new → assigned |
---|
gdaljp2metadata.cpp code modified to search for boundedBy.Envelope to use as srsName source if other srsName sources not found.
Also had to restructure the urn handling a bit (to use OGRSpatialReference.importFromURN()) because this sample uses urn:x-ogc instead of urn:ogc.
A test script was added with the dummied up file (r12387).
Fixed applied in trunk (r12388).
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed ported into 1.4 branch as r12389.
Small file demonstrating issue.