Advertise GTiff batch outputs as Cloud-Optimized GeoTIFF media type#502
Open
Copilot wants to merge 2 commits into
Open
Advertise GTiff batch outputs as Cloud-Optimized GeoTIFF media type#502Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/Open-EO/openeo-python-driver/sessions/c41b0960-0d3f-4b14-949d-a5fcd9d47aaf Co-authored-by: jdries <5937096+jdries@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix media type for COGs in asset
Advertise GTiff batch outputs as Cloud-Optimized GeoTIFF media type
May 14, 2026
jdries
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch job results were exposing COG files with the generic GeoTIFF media type (
image/tiff; application=geotiff), which causes downstream clients to treat them as non-cloud-optimized rasters. This change aligns GTiff result metadata with COG semantics by emitting the COG profile media type.Media type mapping update
IOFORMATSsoGTiffresolves to:image/tiff; application=geotiff; profile=cloud-optimizedBatch asset metadata consistency
.tiffoutputs to use the same COG media type.Expectation alignment in tests
ioformats, execute response headers, and batch job result/view assertions) to the COG media type.Example of the effective change:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
artifactory.vgt.vito.be/usr/bin/python /usr/bin/python /usr/lib/python3/dist-packages/pip/__pip-REDACTED__.py install --ignore-installed --no-user --prefix /tmp/pip-build-env-g5lftlm1/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i REDACTED --extra-index-url REDACTED -- setuptools>=40.8.0(dns block)/usr/bin/python python -m pip install -e .[dev] --extra-index-url REDACTED(dns block)schemas.stacspec.org/usr/bin/python python -m pytest -q tests/test_views.py::TestBatchJobs(dns block)/usr/bin/python python -m pytest -q tests/test_views.py::TestBatchJobs::test_get_job_results_100 tests/test_views.py::TestBatchJobs::test_get_job_results_110 tests/test_views.py::TestBatchJobs::test_get_job_results_public_href_asset_100 tests/test_views.py::TestBatchJobs::test_get_job_results_signed_100 tests/test_views.py::TestBatchJobs::test_get_job_results_signed_110 tests/test_views.py::TestBatchJobs::test_get_job_results_signed_with_expiration_100 tests/test_views.py::TestBatchJobs::test_get_job_results_signed_with_expiration_110 tests/test_views.py::TestBatchJobs::test_download_result tests/test_views.py::TestBatchJobs::test_download_result_nested_path tests/test_views.py::TestBatchJobs::test_download_result_with_s3_object_storage tests/test_views.py::TestBatchJobs::test_download_result_signed tests/test_views.py::TestBatchJobs::test_download_result_signed_with_expiration tests/test_views.py::TestBatchJobs::test_download_result_signed_with_expiration_supports_range_request tests/test_views.py::TestBatchJobs::test_download_result_with_s3_object_storage_with_expiration_supports_range_request(dns block)If you need me to access, download, or install something from one of these locations, you can either: