Skip to content

Commit 2d65be1

Browse files
committed
Remove other extensions, simplify Item
1 parent ef68e1c commit 2d65be1

File tree

1 file changed

+16
-246
lines changed

1 file changed

+16
-246
lines changed

tests/data-files/render/item.json

Lines changed: 16 additions & 246 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
"type": "Feature",
33
"stac_version": "1.1.0",
44
"stac_extensions": [
5-
"https://stac-extensions.github.io/eo/v1.1.0/schema.json",
6-
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
7-
"https://stac-extensions.github.io/projection/v1.1.0/schema.json",
8-
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
9-
"https://stac-extensions.github.io/render/v1.0.0/schema.json",
10-
"https://stac-extensions.github.io/virtual-assets/v1.0.0/schema.json"
5+
"https://stac-extensions.github.io/render/v1.0.0/schema.json"
116
],
127
"id": "S2B_33SVB_20210221_0_L2A",
138
"bbox": [
@@ -32,16 +27,6 @@
3227
"constellation": "sentinel-2",
3328
"instruments": ["msi"],
3429
"gsd": 10,
35-
"view:off_nadir": 0,
36-
"proj:epsg": 32633,
37-
"sentinel:utm_zone": 33,
38-
"sentinel:latitude_band": "S",
39-
"sentinel:grid_square": "VB",
40-
"sentinel:sequence": "0",
41-
"sentinel:product_id": "S2B_MSIL2A_20210221T095029_N0214_R079_T33SVB_20210221T115149",
42-
"sentinel:data_coverage": 100,
43-
"eo:cloud_cover": 21.22,
44-
"sentinel:valid_cloud_cover": true,
4530
"renders": {
4631
"thumbnail": {
4732
"title": "Thumbnail",
@@ -66,7 +51,7 @@
6651
}
6752
}
6853
},
69-
"collection": "sentinel-s2-l2a-cogs",
54+
"collection": "sentinel-s2-l2a",
7055
"assets": {
7156
"metadata": {
7257
"title": "Original XML metadata",
@@ -79,303 +64,90 @@
7964
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
8065
"roles": ["data"],
8166
"gsd": 60,
82-
"eo:bands": [
83-
{
84-
"name": "B01",
85-
"common_name": "coastal",
86-
"center_wavelength": 0.4439,
87-
"full_width_half_max": 0.027
88-
}
89-
],
90-
"href": "B01.tif",
91-
"proj:shape": [1830, 1830],
92-
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1],
93-
"raster:bands": [
94-
{
95-
"data_type": "uint16",
96-
"nodata": 0,
97-
"stats_min": 1,
98-
"stats_max": 20567,
99-
"stats_mean": 2339.4759595597,
100-
"stats_stddev": 3026.6973619954,
101-
"stats_valid_percent": 99.83,
102-
"values": [
103-
{
104-
"name": "BOA reflectance"
105-
}
106-
]
107-
}
108-
]
67+
"href": "B01.tif"
10968
},
11069
"B02": {
11170
"title": "Band 2 (blue)",
11271
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
11372
"roles": ["data"],
11473
"gsd": 10,
115-
"eo:bands": [
116-
{
117-
"name": "B02",
118-
"common_name": "blue",
119-
"center_wavelength": 0.4966,
120-
"full_width_half_max": 0.098
121-
}
122-
],
123-
"href": "B02.tif",
124-
"proj:shape": [10980, 10980],
125-
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
126-
"raster:bands": [
127-
{
128-
"data_type": "uint16",
129-
"nodata": 0,
130-
"stats_min": 1,
131-
"stats_max": 19264,
132-
"stats_mean": 2348.069117847,
133-
"stats_stddev": 2916.5446249911,
134-
"stats_valid_percent": 99.99,
135-
"values": [
136-
{
137-
"name": "BOA reflectance"
138-
}
139-
]
140-
}
141-
]
74+
"href": "B02.tif"
14275
},
14376
"B03": {
14477
"title": "Band 3 (green)",
14578
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
14679
"roles": ["data"],
14780
"gsd": 10,
148-
"eo:bands": [
149-
{
150-
"name": "B03",
151-
"common_name": "green",
152-
"center_wavelength": 0.56,
153-
"full_width_half_max": 0.045
154-
}
155-
],
156-
"href": "B03.tif",
157-
"proj:shape": [10980, 10980],
158-
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
159-
"raster:bands": [
160-
{
161-
"data_type": "uint16",
162-
"nodata": 0,
163-
"stats_min": 1,
164-
"stats_max": 18064,
165-
"stats_mean": 2384.4680007438,
166-
"stats_stddev": 2675.410513295,
167-
"stats_valid_percent": 99.999,
168-
"values": [
169-
{
170-
"name": "BOA reflectance"
171-
}
172-
]
173-
}
174-
]
81+
"href": "B03.tif"
17582
},
17683
"B04": {
17784
"title": "Band 4 (red)",
17885
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
17986
"roles": ["data"],
18087
"gsd": 10,
181-
"eo:bands": [
182-
{
183-
"name": "B04",
184-
"common_name": "red",
185-
"center_wavelength": 0.6645,
186-
"full_width_half_max": 0.038
187-
}
188-
],
189-
"href": "B04.tif",
190-
"proj:shape": [10980, 10980],
191-
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1],
192-
"raster:bands": [
193-
{
194-
"data_type": "uint16",
195-
"nodata": 0,
196-
"stats_min": 1,
197-
"stats_max": 17200,
198-
"stats_mean": 2273.9667970732,
199-
"stats_stddev": 2618.272802792,
200-
"stats_valid_percent": 99.999,
201-
"values": [
202-
{
203-
"name": "BOA reflectance"
204-
}
205-
]
206-
}
207-
]
88+
"href": "B04.tif"
20889
},
20990
"B05": {
21091
"title": "Band 5",
21192
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
21293
"roles": ["data"],
21394
"gsd": 20,
214-
"eo:bands": [
215-
{
216-
"name": "B05",
217-
"center_wavelength": 0.7039,
218-
"full_width_half_max": 0.019
219-
}
220-
],
221-
"href": "B05.tif",
222-
"proj:shape": [5490, 5490],
223-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1],
224-
"raster:bands": [
225-
{
226-
"data_type": "uint16",
227-
"nodata": 0,
228-
"stats_min": 1,
229-
"stats_max": 16842,
230-
"stats_mean": 2634.1490243416,
231-
"stats_stddev": 2634.1490243416,
232-
"stats_valid_percent": 99.999,
233-
"values": [
234-
{
235-
"name": "BOA reflectance"
236-
}
237-
]
238-
}
239-
]
95+
"href": "B05.tif"
24096
},
24197
"B06": {
24298
"title": "Band 6",
24399
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
244100
"roles": ["data"],
245101
"gsd": 20,
246-
"eo:bands": [
247-
{
248-
"name": "B06",
249-
"center_wavelength": 0.7402,
250-
"full_width_half_max": 0.018
251-
}
252-
],
253-
"href": "B06.tif",
254-
"proj:shape": [5490, 5490],
255-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1],
256-
"raster:bands": [
257-
{
258-
"data_type": "uint16",
259-
"nodata": 0,
260-
"stats_min": 1,
261-
"stats_max": 16502,
262-
"stats_mean": 3329.8844628619,
263-
"stats_stddev": 2303.0096294469,
264-
"stats_valid_percent": 99.999,
265-
"values": [
266-
{
267-
"name": "BOA reflectance"
268-
}
269-
]
270-
}
271-
]
102+
"href": "B06.tif"
272103
},
273104
"B07": {
274105
"title": "Band 7",
275106
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
276107
"roles": ["data"],
277108
"gsd": 20,
278-
"eo:bands": [
279-
{
280-
"name": "B07",
281-
"center_wavelength": 0.7825,
282-
"full_width_half_max": 0.028
283-
}
284-
],
285-
"href": "B07.tif",
286-
"proj:shape": [5490, 5490],
287-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
109+
"href": "B07.tif"
288110
},
289111
"B08": {
290112
"title": "Band 8 (nir)",
291113
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
292114
"roles": ["data"],
293115
"gsd": 10,
294-
"eo:bands": [
295-
{
296-
"name": "B08",
297-
"common_name": "nir",
298-
"center_wavelength": 0.8351,
299-
"full_width_half_max": 0.145
300-
}
301-
],
302-
"href": "B08.tif",
303-
"proj:shape": [10980, 10980],
304-
"proj:transform": [10, 0, 399960, 0, -10, 4200000, 0, 0, 1]
116+
"href": "B08.tif"
305117
},
306118
"B8A": {
307119
"title": "Band 8A",
308120
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
309121
"roles": ["data"],
310122
"gsd": 20,
311-
"eo:bands": [
312-
{
313-
"name": "B8A",
314-
"center_wavelength": 0.8648,
315-
"full_width_half_max": 0.033
316-
}
317-
],
318-
"href": "B8A.tif",
319-
"proj:shape": [5490, 5490],
320-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
123+
"href": "B8A.tif"
321124
},
322125
"B09": {
323126
"title": "Band 9",
324127
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
325128
"roles": ["data"],
326129
"gsd": 60,
327-
"eo:bands": [
328-
{
329-
"name": "B09",
330-
"center_wavelength": 0.945,
331-
"full_width_half_max": 0.026
332-
}
333-
],
334-
"href": "B09.tif",
335-
"proj:shape": [1830, 1830],
336-
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1]
130+
"href": "B09.tif"
337131
},
338132
"B11": {
339133
"title": "Band 11 (swir16)",
340134
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
341135
"roles": ["data"],
342136
"gsd": 20,
343-
"eo:bands": [
344-
{
345-
"name": "B11",
346-
"common_name": "swir16",
347-
"center_wavelength": 1.6137,
348-
"full_width_half_max": 0.143
349-
}
350-
],
351-
"href": "B11.tif",
352-
"proj:shape": [5490, 5490],
353-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
137+
"href": "B11.tif"
354138
},
355139
"B12": {
356140
"title": "Band 12 (swir22)",
357141
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
358142
"roles": ["data"],
359143
"gsd": 20,
360-
"eo:bands": [
361-
{
362-
"name": "B12",
363-
"common_name": "swir22",
364-
"center_wavelength": 2.22024,
365-
"full_width_half_max": 0.242
366-
}
367-
],
368-
"href": "B12.tif",
369-
"proj:shape": [5490, 5490],
370-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
144+
"href": "B12.tif"
371145
},
372146
"AOT": {
373147
"title": "Aerosol Optical Thickness (AOT)",
374148
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
375149
"roles": ["data"],
376-
"href": "AOT.tif",
377-
"proj:shape": [1830, 1830],
378-
"proj:transform": [60, 0, 399960, 0, -60, 4200000, 0, 0, 1]
150+
"href": "AOT.tif"
379151
},
380152
"WVP": {
381153
"title": "Water Vapour (WVP)",
@@ -389,9 +161,7 @@
389161
"title": "Scene Classification Map (SCL)",
390162
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
391163
"roles": ["data"],
392-
"href": "SCL.tif",
393-
"proj:shape": [5490, 5490],
394-
"proj:transform": [20, 0, 399960, 0, -20, 4200000, 0, 0, 1]
164+
"href": "SCL.tif"
395165
}
396166
},
397167
"links": [

0 commit comments

Comments
 (0)