Skip to content

Commit 23a74a7

Browse files
Merge pull request #7 from Terradue/minor-fixes
fixes in the asset keys and duplication
2 parents 2ae1874 + 6866f0f commit 23a74a7

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ From the [Sentinel-2 item](https://github.com/stac-extensions/virtual-assets/blo
125125
"sir":
126126
{
127127
"title": "Shortwave Infra-red",
128-
"assets": [ "swir22", "nir2", "red" ],
128+
"assets": [ "swir22", "nir", "red" ],
129129
"rescale": [[0,5000],[0,7000],[0,9000]],
130130
"resampling": "nearest"
131131
}

examples/item-landsat8.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@
110110
"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",
111111
"render": "ndvi"
112112
},
113-
{
114-
"rel": "xyz",
115-
"type": "image/png",
116-
"title": "NDVI",
117-
"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"
118-
},
119113
{
120114
"rel": "collection",
121115
"href": "https://landsat-stac.s3.amazonaws.com/collections/landsat-8-l1.json",

examples/item-sentinel2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
"sir": {
6666
"title": "Shortwave Infra-red",
6767
"assets": [
68-
"swir22",
69-
"nir2",
70-
"red"
68+
"B12",
69+
"B08",
70+
"B04"
7171
],
7272
"rescale": [
7373
[

0 commit comments

Comments
 (0)