JP2OpenJPEG EPSG:4326 - axis order different depending OpenJPEG version

Description

Reported in the forum:

After investigations, it was noticed that the latest OpenJPEG versions (for this specific EPSG::4326) produce something like this:

 

while older versions produce something like:

 

Therefore the axis order should not be always interpreted as (y,x) for EPSG::4326 (it should be read as it is in JP2 header, since we don’t know the tool version it was produced with) and also the values within offsetVector should be considered depending on their logic. For example the result produced with the newer versions of OpenJPEG don’t respect the order given in the axis. E.g. the first offsetVector is for stepX (when the first axisName is “x“) and it should have the Y component (the second value) set to 0. [which is not respected if we look at the first example]

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Relevance

Default

Sprint

Fix versions

Affects versions

Components

Priority

Created 2 March 2023 at 13:43
Updated 24 March 2023 at 10:08
Resolved 13 March 2023 at 16:55