Skip to content

Commit 73ed52b

Browse files
committed
Update STAC database
Re-run code to include collection item (consensus is to show always one layer)
1 parent 042af3f commit 73ed52b

File tree

2 files changed

+119
-1
lines changed

2 files changed

+119
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"type": "Feature",
3+
"stac_version": "1.0.0",
4+
"id": "changerate-mapbox-value",
5+
"properties": {
6+
"deltares:item_key": "value",
7+
"deltares:paint": {
8+
"circle-color": [
9+
"interpolate",
10+
[
11+
"linear"
12+
],
13+
[
14+
"get",
15+
"value"
16+
],
17+
0,
18+
"hsl(110,90%,80%)",
19+
1.5,
20+
"hsla(55, 88%, 53%, 0.5)",
21+
3.0,
22+
"hsl(0, 90%, 70%)"
23+
],
24+
"circle-radius": [
25+
"interpolate",
26+
[
27+
"linear"
28+
],
29+
[
30+
"zoom"
31+
],
32+
0,
33+
0.5,
34+
1,
35+
1,
36+
5,
37+
5
38+
]
39+
},
40+
"deltares:type": "circle",
41+
"deltares:stations": "locationId",
42+
"deltares:onclick": {},
43+
"datetime": "2024-06-03T11:25:31.883235Z"
44+
},
45+
"geometry": {
46+
"type": "Polygon",
47+
"coordinates": [
48+
[
49+
[
50+
-180.0,
51+
-90.0
52+
],
53+
[
54+
180.0,
55+
-90.0
56+
],
57+
[
58+
180.0,
59+
90.0
60+
],
61+
[
62+
-180.0,
63+
90.0
64+
],
65+
[
66+
-180.0,
67+
-90.0
68+
]
69+
]
70+
]
71+
},
72+
"links": [
73+
{
74+
"rel": "collection",
75+
"href": "../collection.json",
76+
"type": "application/json",
77+
"title": "The Shoreline Monitor"
78+
},
79+
{
80+
"rel": "root",
81+
"href": "../../catalog.json",
82+
"type": "application/json",
83+
"title": "GlobalCoastalAtlas STAC Catalog"
84+
},
85+
{
86+
"rel": "parent",
87+
"href": "../collection.json",
88+
"type": "application/json",
89+
"title": "The Shoreline Monitor"
90+
}
91+
],
92+
"assets": {
93+
"mapbox": {
94+
"href": "mapbox://global-data-viewer.shoreline_monitor_changerate",
95+
"title": "Point locations",
96+
"description": "Mapbox url",
97+
"type": "vector",
98+
"source": "shoreline_monitor_changerate",
99+
"roles": [
100+
"mapbox"
101+
]
102+
}
103+
},
104+
"bbox": [
105+
-180,
106+
-90,
107+
180,
108+
90
109+
],
110+
"stac_extensions": [],
111+
"collection": "shore_mon"
112+
}

STAC/data/current/shore_mon/collection.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
"stac_version": "1.0.0",
55
"description": "The Shoreline Monitor is a dataset that incorporates a 500-m spaced shore-normal transect system, a sandy beach detection method and a change detection method called satellite derived shorelines (SDS) to provide annual shoreline positions over the period 1984-2021 for each of the 1.8 million transects in the world",
66
"links": [
7+
{
8+
"rel": "item",
9+
"href": "./changerate-mapbox/changerate-mapbox-value.json",
10+
"type": "application/json",
11+
"properties": {}
12+
},
713
{
814
"rel": "root",
915
"href": "../catalog.json",
@@ -19,7 +25,7 @@
1925
],
2026
"stac_extensions": [
2127
"https://raw.githubusercontent.com/openearth/coclicodata/feat/update-deltares-stac-properties/json-schema/schema.json",
22-
"https://stac-extensions.github.io/datacube/v2.0.0/schema.json"
28+
"https://stac-extensions.github.io/datacube/v2.2.0/schema.json"
2329
],
2430
"deltares:units": "m",
2531
"deltares:plotSeries": "sp",

0 commit comments

Comments
 (0)