Skip to content

Commit 17ea530

Browse files
committed
update examples
1 parent d52d88e commit 17ea530

File tree

2 files changed

+216
-87
lines changed

2 files changed

+216
-87
lines changed

examples/collection.json

Lines changed: 76 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,56 @@
11
{
2-
"stac_version": "1.0.0-rc.1",
2+
"stac_version": "1.0.0-beta.2",
3+
"type": "Collection",
34
"stac_extensions": [
4-
"collection-assets",
5-
"item-assets",
6-
"https://stac-extensions.github.io/template/v1.0.0/schema.json"
5+
"https://stac-extensions.github.io/processing/v1.0.0/schema.json"
6+
],
7+
"id": "Sentinel2-L2A",
8+
"title": "Sentinel-2 MSI: MultiSpectral Instrument, Level-2A",
9+
"description": "Sentinel-2 is a wide-swath, high-resolution, multi-spectral imaging mission.",
10+
"license": "proprietary",
11+
"keywords": [
12+
"copernicus",
13+
"esa",
14+
"eu",
15+
"msi",
16+
"radiance",
17+
"sentinel"
18+
],
19+
"providers": [
20+
{
21+
"name": "European Union/ESA/Copernicus",
22+
"roles": [
23+
"producer",
24+
"licensor"
25+
],
26+
"url": "https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi",
27+
"processing:lineage": "Generation of Level-1C User Product",
28+
"processing:level": "L1C",
29+
"processing:facility": "Copernicus S2 Processing and Archiving Facility",
30+
"processing:software_version": {
31+
"IPF-S2L1C": "02.06"
32+
}
33+
},
34+
{
35+
"name": "Processing Corp.",
36+
"roles": [
37+
"processor"
38+
],
39+
"processing:lineage": "Generation of Level-2A User Product",
40+
"processing:level": "L2A",
41+
"processing:software_version": {
42+
"Sentinel-2 Toolbox": "8.0.0"
43+
}
44+
}
745
],
8-
"type": "Collection",
9-
"id": "collection",
10-
"title": "A title",
11-
"description": "A description",
12-
"license": "Apache-2.0",
1346
"extent": {
1447
"spatial": {
1548
"bbox": [
1649
[
17-
172.9,
18-
1.3,
19-
173,
20-
1.4
50+
-180,
51+
-56,
52+
180,
53+
83
2154
]
2255
]
2356
},
@@ -30,42 +63,44 @@
3063
]
3164
}
3265
},
33-
"template:new_field": "test",
34-
"template:xyz": {
35-
"x": 1,
36-
"y": 2,
37-
"z": 3
38-
},
39-
"template:another_one": [
40-
1,
41-
2,
42-
3
43-
],
44-
"assets": {
45-
"example": {
46-
"href": "https://example.com/examples/file.xyz",
47-
"template:new_field": "test"
48-
}
49-
},
50-
"item_assets": {
51-
"data": {
52-
"template:new_field": "test"
53-
}
54-
},
5566
"summaries": {
5667
"datetime": {
5768
"minimum": "2015-06-23T00:00:00Z",
5869
"maximum": "2019-07-10T13:44:56Z"
59-
}
70+
},
71+
"platform": [
72+
"sentinel-2a",
73+
"sentinel-2b"
74+
],
75+
"constellation": [
76+
"sentinel-2"
77+
],
78+
"instruments": [
79+
"msi"
80+
],
81+
"gsd": [
82+
10,
83+
30,
84+
60
85+
]
6086
},
6187
"links": [
6288
{
63-
"href": "https://example.com/examples/collection.json",
64-
"rel": "self"
89+
"rel": "self",
90+
"href": "https://processing-corp.com/catalog/COPERNICUS_S2.json"
91+
},
92+
{
93+
"rel": "parent",
94+
"href": "https://processing-corp.com/catalog/catalog.json"
95+
},
96+
{
97+
"rel": "root",
98+
"href": "https://processing-corp.com/catalog/catalog.json"
6599
},
66100
{
67-
"href": "https://example.com/examples/item.json",
68-
"rel": "item"
101+
"rel": "license",
102+
"href": "https://scihub.copernicus.eu/twiki/pub/SciHubWebPortal/TermsConditions/Sentinel_Data_Terms_and_Conditions.pdf",
103+
"title": "Legal notice on the use of Copernicus Sentinel Data and Service Information"
69104
}
70105
]
71-
}
106+
}

examples/item.json

Lines changed: 140 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,161 @@
11
{
2-
"stac_version": "1.0.0-rc.1",
32
"stac_extensions": [
4-
"https://stac-extensions.github.io/template/v1.0.0/schema.json"
3+
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
4+
"https://stac-extensions.github.io/sar/v1.0.0/schema.json",
5+
"https://stac-extensions.github.io/processing/v1.0.0/schema.json"
56
],
7+
"stac_version": "1.0.0-beta.2",
8+
"id": "S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF",
9+
"properties": {
10+
"datetime": "2016-08-22T18:28:23.368922Z",
11+
"start_datetime": "2016-08-22T18:28:23.368922Z",
12+
"end_datetime": "2016-08-22T18:28:48.368201Z",
13+
"created": "2016-08-23T00:38:22Z",
14+
"platform": "sentinel-1a",
15+
"constellation": "sentinel-1",
16+
"mission": "sentinel-1",
17+
"instruments": [
18+
"c-sar"
19+
],
20+
"sat:absolute_orbit": 12717,
21+
"sat:orbit_state": "ascending",
22+
"sat:relative_orbit": 45,
23+
"sat:anx_datetime": "2016-08-22T18:24:52.513706Z",
24+
"sar:instrument_mode": "IW",
25+
"sar:frequency_band": "C",
26+
"sar:polarizations": [
27+
"VV",
28+
"VH"
29+
],
30+
"sar:product_type": "GRD",
31+
"processing:lineage": "GRD Post Processing",
32+
"processing:level": "L1C",
33+
"processing:facility": "Copernicus S1 Core Ground Segment - DPA",
34+
"processing:software": {
35+
"Sentinel-1 IPF": "002.71"
36+
}
37+
},
38+
"links": [],
39+
"assets": {
40+
"manifest": {
41+
"type": "text/xml",
42+
"roles": [
43+
"metadata"
44+
],
45+
"title": "SAFE Manifest",
46+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/manifest.safe",
47+
"created": "2016-08-23T00:30:33.319454"
48+
},
49+
"quick-look": {
50+
"type": "image/png",
51+
"roles": [
52+
"overview"
53+
],
54+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/preview/quick-look.png"
55+
},
56+
"annotation-vv-iw": {
57+
"type": "text/xml",
58+
"roles": [
59+
"metadata"
60+
],
61+
"title": "Annotation VV IW",
62+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/s1a-iw-grd-vv-20160822t182823-20160822t182848-012717-013ffe-001.xml",
63+
"sar:polarizations": [
64+
"VV"
65+
]
66+
},
67+
"amplitude-vv-iw": {
68+
"type": "image/tiff; application=geotiff",
69+
"roles": [
70+
"data"
71+
],
72+
"title": "IW VV Amplitude pixel values",
73+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/s1a-iw-grd-vv-20160822t182823-20160822t182848-012717-013ffe-001.tiff",
74+
"gsd": 0,
75+
"sar:polarizations": [
76+
"VV"
77+
]
78+
},
79+
"annotation-vh-iw": {
80+
"type": "text/xml",
81+
"roles": [
82+
"metadata"
83+
],
84+
"title": "Annotation VH IW",
85+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/s1a-iw-grd-vh-20160822t182823-20160822t182848-012717-013ffe-002.xml",
86+
"sar:polarizations": [
87+
"VH"
88+
]
89+
},
90+
"amplitude-vh-iw": {
91+
"type": "image/tiff; application=geotiff",
92+
"roles": [
93+
"data"
94+
],
95+
"title": "IW VH Amplitude pixel values",
96+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/s1a-iw-grd-vh-20160822t182823-20160822t182848-012717-013ffe-002.tiff",
97+
"gsd": 0,
98+
"sar:polarizations": [
99+
"VH"
100+
]
101+
},
102+
"calibration-vv-iw": {
103+
"type": "text/xml",
104+
"roles": [
105+
"data"
106+
],
107+
"title": "Calibration VV IW",
108+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/calibration/calibration-s1a-iw-grd-vv-20160822t182823-20160822t182848-012717-013ffe-001.xml",
109+
"gsd": 0,
110+
"sar:polarizations": [
111+
"VV"
112+
]
113+
},
114+
"calibration-vh-iw": {
115+
"type": "text/xml",
116+
"roles": [
117+
"data"
118+
],
119+
"title": "Calibration VH IW",
120+
"href": "data/S1A_IW_GRDH_1SDV_20160822T182823_20160822T182848_012717_013FFE_90AF.SAFE/annotation/calibration/calibration-s1a-iw-grd-vh-20160822t182823-20160822t182848-012717-013ffe-002.xml",
121+
"gsd": 0,
122+
"sar:polarizations": [
123+
"VH"
124+
]
125+
}
126+
},
6127
"type": "Feature",
7-
"id": "item",
8-
"bbox": [
9-
172.9,
10-
1.3,
11-
173,
12-
1.4
13-
],
14128
"geometry": {
15129
"type": "Polygon",
16130
"coordinates": [
17131
[
18132
[
19-
172.9,
20-
1.3
133+
-5.730959,
134+
14.953436
21135
],
22136
[
23-
173,
24-
1.3
137+
-3.431006,
138+
15.388663
25139
],
26140
[
27-
173,
28-
1.4
141+
-3.136116,
142+
13.880572
29143
],
30144
[
31-
172.9,
32-
1.4
145+
-5.419919,
146+
13.441674
33147
],
34148
[
35-
172.9,
36-
1.3
149+
-5.730959,
150+
14.953436
37151
]
38152
]
39153
]
40154
},
41-
"properties": {
42-
"datetime": "2020-12-11T22:38:32Z",
43-
"template:new_field": "test",
44-
"template:xyz": {
45-
"x": 1,
46-
"y": 2,
47-
"z": 3
48-
},
49-
"template:another_one": [
50-
1,
51-
2,
52-
3
53-
]
54-
},
55-
"links": [
56-
{
57-
"href": "https://example.com/examples/item.json",
58-
"rel": "self"
59-
}
60-
],
61-
"assets": {
62-
"data": {
63-
"href": "https://example.com/examples/file.xyz",
64-
"template:new_field": "test"
65-
}
66-
}
67-
}
155+
"bbox": [
156+
-5.730959,
157+
13.441674,
158+
-3.136116,
159+
15.388663
160+
]
161+
}

0 commit comments

Comments
 (0)