Skip to content

Commit

Permalink
fixes in the asset keys and duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Jun 17, 2024
1 parent 2ae1874 commit 6866f0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
6 changes: 0 additions & 6 deletions examples/item-landsat8.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions examples/item-sentinel2.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"sir": {
"title": "Shortwave Infra-red",
"assets": [
"swir22",
"nir2",
"red"
"B12",
"B08",
"B04"
],
"rescale": [
[
Expand Down

0 comments on commit 6866f0f

Please sign in to comment.