Hi.

I see that gdaljp2metadata.cpp has lots of code for extracting
something useful but I got files that still escape the effort.

Some Pleiades jp2 images that gdalinfo fails to find the
Origin and Pixel Size and reports wrong Corner Coordinates.
gdalinfo only reports (seemingly correct) GeoTransform

I verified that just the order of    <gml:offsetVector/>s matter.
If i switch the values inside jp2 <gml:offsetVector/> then gdal detects correct
Origin, Pixel Size and correct Corner Coordinates.

GDAL 3.10.2, released 2025/02/11

Full description in a gist
https://gist.github.com/rkolka/70ef4ac1172d6ed98b51d0412ff73d49
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to