Skip to content

Commit

Permalink
Merge pull request #7 from Terradue/minor-fixes
Browse files Browse the repository at this point in the history
fixes in the asset keys and duplication
  • Loading branch information
Emmanuel Mathot committed Jun 17, 2024
2 parents 2ae1874 + 6866f0f commit 23a74a7
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 23a74a7

Please sign in to comment.