Skip to content

feat: standardise RGBN imagery TDE-693#1460

Merged
amfage merged 27 commits intomasterfrom
feat/rgbnir-gdal-preset-tde-1740
Jan 26, 2026
Merged

feat: standardise RGBN imagery TDE-693#1460
amfage merged 27 commits intomasterfrom
feat/rgbnir-gdal-preset-tde-1740

Conversation

@rebclarke
Copy link
Contributor

@rebclarke rebclarke commented Dec 18, 2025

Motivation

As a remote sensing scientist I want RGBNIR + Alpha TIFFs available in a public bucket so that I don’t need to request data from several different councils and/or LINZ.

This requires handling RGBN which can be in the following forms:

  • R,G,B,Undefined - where the band labelled Undefined is NIR.
  • R,G,B,Alpha - where the band labelled Alpha is NIR.
  • R,G,B,Undefined,Alpha - where the band labelled Undefined is NIR and Alpha is Alpha.

The desired output bands are:
R/G/B/NIR/A 5-band TIFFs

Modifications

Added a new preset rgbnir_zstd
Updated bands checks to handle RGBNIR scenarios
Updated footprint creation to handle RGBNIR
Unit tests and doctests
End-to-end test for RGBNIR

Verification

PR container, unit tests, docstring tests, end-to-end tests.

@rebclarke rebclarke added the container Publish a container label Dec 18, 2025
@rebclarke rebclarke added container Publish a container and removed container Publish a container labels Dec 18, 2025
@rebclarke rebclarke added container Publish a container and removed container Publish a container labels Jan 13, 2026
@rebclarke rebclarke changed the title feat: rgbnir gdal preset tde-1740 feat: rgbnir gdal preset tde-693 Jan 13, 2026
@amfage amfage added container Publish a container and removed container Publish a container labels Jan 14, 2026
@amfage amfage changed the title feat: rgbnir gdal preset tde-693 feat: standardise RGBN imagery TDE-693 Jan 14, 2026
@amfage amfage removed the container Publish a container label Jan 14, 2026
@amfage amfage added the container Publish a container label Jan 14, 2026
@amfage amfage marked this pull request as ready for review January 16, 2026 03:21
@amfage amfage requested a review from a team as a code owner January 16, 2026 03:21
amfage and others added 2 commits January 27, 2026 10:16
Co-authored-by: paulfouquet <86932794+paulfouquet@users.noreply.github.com>
@amfage amfage requested a review from paulfouquet January 26, 2026 22:14
@amfage amfage added this pull request to the merge queue Jan 26, 2026
Merged via the queue into master with commit e99d791 Jan 26, 2026
2 checks passed
@amfage amfage deleted the feat/rgbnir-gdal-preset-tde-1740 branch January 26, 2026 23:04
@linz-li-bot linz-li-bot mentioned this pull request Jan 26, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[7.16.0](v7.15.0...v7.16.0)
(2026-01-26)


### Features

* standardise RGBN imagery TDE-693
([#1460](#1460))
([e99d791](e99d791))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
github-merge-queue bot pushed a commit to linz/topo-workflows that referenced this pull request Jan 26, 2026
📣 Don't merge until [TDE-1740 PR is merged and
released](linz/topo-imagery#1460), as the
`rgbnir_zstd` compression preset will not be handled by standardising
(which would only happen if someone uses that complression preset)
:mega:

### Motivation

To standardise RGBN imagery, we need a compression preset `rgbn_zstd`
and geospatial categories of `near-infrared-aerial-photos` and
`near-infrared-satellite-imagery`.

### Modifications

Added these values to workflowtemplate `compression` and `category`
enums. Skip the Basemaps overviews creation as ZSTD is not supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

container Publish a container

Development

Successfully merging this pull request may close these issues.

3 participants

Comments