From 6866f0f1236a8e3d0a2dedb90db209230070d084 Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Mon, 17 Jun 2024 17:35:40 +0200 Subject: [PATCH] fixes in the asset keys and duplication --- README.md | 2 +- examples/item-landsat8.json | 6 ------ examples/item-sentinel2.json | 6 +++--- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d2a55a1..da03dba 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ From the [Sentinel-2 item](https://github.com/stac-extensions/virtual-assets/blo "sir": { "title": "Shortwave Infra-red", - "assets": [ "swir22", "nir2", "red" ], + "assets": [ "swir22", "nir", "red" ], "rescale": [[0,5000],[0,7000],[0,9000]], "resampling": "nearest" } diff --git a/examples/item-landsat8.json b/examples/item-landsat8.json index 576a01f..b6baa25 100644 --- a/examples/item-landsat8.json +++ b/examples/item-landsat8.json @@ -110,12 +110,6 @@ "href": "https://api.cogeo.xyz/stac/preview.png?url=https://raw.githubusercontent.com/stac-extensions/raster/main/examples/item-landsat8.json&expression=(B5–B4)/(B5+B4)&max_size=512&width=512&resampling_method=average&rescale=-1,1&color_map=ylgn&return_mask=true", "render": "ndvi" }, - { - "rel": "xyz", - "type": "image/png", - "title": "NDVI", - "href": "https://api.cogeo.xyz/stac/preview.png?url=https://raw.githubusercontent.com/stac-extensions/raster/main/examples/item-landsat8.json&expression=(B5–B4)/(B5+B4)&max_size=512&width=512&resampling_method=average&rescale=-1,1&color_map=ylgn&return_mask=true" - }, { "rel": "collection", "href": "https://landsat-stac.s3.amazonaws.com/collections/landsat-8-l1.json", diff --git a/examples/item-sentinel2.json b/examples/item-sentinel2.json index 787dd88..8988a4d 100644 --- a/examples/item-sentinel2.json +++ b/examples/item-sentinel2.json @@ -65,9 +65,9 @@ "sir": { "title": "Shortwave Infra-red", "assets": [ - "swir22", - "nir2", - "red" + "B12", + "B08", + "B04" ], "rescale": [ [