From ff95d2211ac38eb0f4c104a378d870c62f3fc6b1 Mon Sep 17 00:00:00 2001 From: Emmanuel Mathot Date: Tue, 22 Sep 2026 07:43:14 +0200 Subject: [PATCH] Clarify 'nodata' behavior in README and CHANGELOG to specify it overrides existing values for referenced assets --- CHANGELOG.md | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b7a6d4..ddc23ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Document that `expression` accepts `string`, `object`, or `array`, matching the schema ([#8](https://github.com/stac-extensions/render/issues/8)) +- Clarify that `nodata` overrides any nodata value already defined on the referenced assets for this specific + render, rather than duplicating it ([#15](https://github.com/stac-extensions/render/issues/15)) ## [2.0.0] - 2024-11-19 diff --git a/README.md b/README.md index a919f80..a53e573 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The fields in the table below can be used in these parts of STAC documents: | assets | \[string] | **REQUIRED**. Array of asset keys [referencing the assets](#assets-reference) that are used to make the rendering | | title | string | Optional title of the rendering | | rescale | \[float] | 2 dimensions array of delimited Min,Max range per band. If not provided, the data will not be rescaled. | -| nodata | float, string | Nodata value to use for the referenced assets. | +| nodata | float, string | Nodata value to use for this render, overriding any nodata value already defined on the referenced assets (e.g. via the [raster](https://github.com/stac-extensions/raster) extension). If not set, implementations SHOULD fall back to the asset's own nodata value. | | colormap_name | string | Color map identifier that must be applied for a raster band | | colormap | object | [Color map JSON definition](https://developmentseed.org/titiler/advanced/rendering/#custom-colormaps) that must be applied for a raster band | | color_formula | string | [Color formula](https://developmentseed.org/titiler/advanced/rendering/#color-formula) that must be applied for a raster band |