Skip to content

MRF: check max interleaved bands#14665

Merged
rouault merged 3 commits into
OSGeo:masterfrom
lucianpls:MRF_max_interleaved_bands
May 27, 2026
Merged

MRF: check max interleaved bands#14665
rouault merged 3 commits into
OSGeo:masterfrom
lucianpls:MRF_max_interleaved_bands

Conversation

@lucianpls
Copy link
Copy Markdown
Contributor

What does this PR do?

MRF code only handled 63 bands in pixel interleaved mode, but it didn't check. This change makes it work with up to 64 bands in pixel interleaved mode and checks that no more than 64 bands are used. In band interleaved mode more than 64 bands are supported.

What are related issues/pull requests?

AI tool usage

  • AI (Y-a-t-il-un-Copilot-dans-l'avion, Chat-j'ai-pété, Jean-Claude Dusse or something similar) supported my development of this PR. See our policy about AI tool use. Use of AI tools must be indicated.

Tasklist

  • Make sure code is correctly formatted (cf pre-commit configuration)
  • Add test case(s)
  • Add documentation
  • Updated Python API documentation (swig/include/python/docs/)
  • Review
  • Adjust for comments
  • All CI builds and checks have passed
  • ADD YOUR TASKS HERE

Environment

Provide environment details, if relevant:

  • OS:
  • Compiler:

@rouault rouault added the backport release/3.13 Backport to release/3.13 label May 27, 2026
@rouault rouault merged commit 0083e2e into OSGeo:master May 27, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/3.13 Backport to release/3.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants