Skip to content

Commit

Permalink
Update STAC database
Browse files Browse the repository at this point in the history
Re-run code to include collection item (consensus is to show always one layer)
  • Loading branch information
EtienneKras committed Jun 3, 2024
1 parent 042af3f commit 73ed52b
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"id": "changerate-mapbox-value",
"properties": {
"deltares:item_key": "value",
"deltares:paint": {
"circle-color": [
"interpolate",
[
"linear"
],
[
"get",
"value"
],
0,
"hsl(110,90%,80%)",
1.5,
"hsla(55, 88%, 53%, 0.5)",
3.0,
"hsl(0, 90%, 70%)"
],
"circle-radius": [
"interpolate",
[
"linear"
],
[
"zoom"
],
0,
0.5,
1,
1,
5,
5
]
},
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-06-03T11:25:31.883235Z"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-180.0,
-90.0
],
[
180.0,
-90.0
],
[
180.0,
90.0
],
[
-180.0,
90.0
],
[
-180.0,
-90.0
]
]
]
},
"links": [
{
"rel": "collection",
"href": "../collection.json",
"type": "application/json",
"title": "The Shoreline Monitor"
},
{
"rel": "root",
"href": "../../catalog.json",
"type": "application/json",
"title": "GlobalCoastalAtlas STAC Catalog"
},
{
"rel": "parent",
"href": "../collection.json",
"type": "application/json",
"title": "The Shoreline Monitor"
}
],
"assets": {
"mapbox": {
"href": "mapbox://global-data-viewer.shoreline_monitor_changerate",
"title": "Point locations",
"description": "Mapbox url",
"type": "vector",
"source": "shoreline_monitor_changerate",
"roles": [
"mapbox"
]
}
},
"bbox": [
-180,
-90,
180,
90
],
"stac_extensions": [],
"collection": "shore_mon"
}
8 changes: 7 additions & 1 deletion STAC/data/current/shore_mon/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"stac_version": "1.0.0",
"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",
"links": [
{
"rel": "item",
"href": "./changerate-mapbox/changerate-mapbox-value.json",
"type": "application/json",
"properties": {}
},
{
"rel": "root",
"href": "../catalog.json",
Expand All @@ -19,7 +25,7 @@
],
"stac_extensions": [
"https://raw.githubusercontent.com/openearth/coclicodata/feat/update-deltares-stac-properties/json-schema/schema.json",
"https://stac-extensions.github.io/datacube/v2.0.0/schema.json"
"https://stac-extensions.github.io/datacube/v2.2.0/schema.json"
],
"deltares:units": "m",
"deltares:plotSeries": "sp",
Expand Down

0 comments on commit 73ed52b

Please sign in to comment.