Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JP2Lura: fix Identify() method #11098

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 23, 2024

I discovered accidentally the method was mis-identifying a EXR dataset as recognized by the JP2Lura driver while investigating #11095. This dates back to 2e650d8 where for some reason (I suspect wrong copy&paste) the Identify() logic was completely changed

I discovered accidentally the method was mis-identifying a EXR dataset as recognized
by the JP2Lura driver while investigating OSGeo#11095.
This dates back to 2e650d8 where for some reason (I
suspect wrong copy&paste) the Identify() logic was completely changed
@rouault rouault added the backport release/3.10 Backport to release/3.10 branch label Oct 23, 2024
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 69.452% (-0.003%) from 69.455%
when pulling 408b761 on rouault:fix_jp2lura_identify
into e24c37a on OSGeo:master.

@elpaso
Copy link
Collaborator

elpaso commented Oct 24, 2024

A test would be nice to have so that we don't break it in the future.

@rouault
Copy link
Member Author

rouault commented Oct 24, 2024

A test would be nice to have so that we don't break it in the future.

well, there's actually a test file for the JP2Lura, but it is entirely skipped on CI or even on my local machine because I no longer have access to the licensing key of the SDK.

@rouault rouault merged commit c735e6c into OSGeo:master Oct 24, 2024
38 checks passed
@rouault rouault added the funded through GSP Work funded through the GDAL Sponsorship Program label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release/3.10 Backport to release/3.10 branch funded through GSP Work funded through the GDAL Sponsorship Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants