Skip to content

Commit b986690

Browse files
committed
chore: upgraded to stac-browser 4.0.0
1 parent 1b85a7d commit b986690

File tree

10 files changed

+70
-897
lines changed

10 files changed

+70
-897
lines changed

themes/apex/config.js

Lines changed: 51 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,43 @@
11
module.exports = {
22
catalogUrl: null,
33
catalogTitle: "STAC Browser",
4+
catalogImage: null,
45
supportedCatalogues: [
56
{
6-
"id": 1,
7-
"url": "https://openeo.dataspace.copernicus.eu/openeo/1.2",
8-
"title": "Copernicus Data Space Ecosystem (openEO)",
9-
"summary": "This openEO service runs on the [Copernicus Data Space Ecosystem](https://dataspace.copernicus.eu/)\nand offers data access and processing on full archives of Copernicus data, such as the Sentinels.",
7+
id: 1,
8+
url: "https://openeo.dataspace.copernicus.eu/openeo/1.2",
9+
title: "Copernicus Data Space Ecosystem (openEO)",
10+
summary:
11+
"This openEO service runs on the [Copernicus Data Space Ecosystem](https://dataspace.copernicus.eu/)\nand offers data access and processing on full archives of Copernicus data, such as the Sentinels.",
1012
},
1113
{
12-
"id": 2,
13-
"url": "https://openeocloud.vito.be/openeo/1.0.0/",
14-
"title": "openEO Platform",
15-
"summary": "openEO platform provides intuitive programming libraries to process a wide variety of earth observation datasets. This large-scale data access and processing is performed on multiple infrastructures, which all support the openEO and STAC API.",
14+
id: 2,
15+
url: "https://openeocloud.vito.be/openeo/1.0.0/",
16+
title: "openEO Platform",
17+
summary:
18+
"openEO platform provides intuitive programming libraries to process a wide variety of earth observation datasets. This large-scale data access and processing is performed on multiple infrastructures, which all support the openEO and STAC API.",
1619
},
1720
{
18-
"id": 3,
19-
"url": "https://eoresults.esa.int/stac",
20-
"title": "ESA Project Results Repository",
21-
"summary": "ESA Project Results Repository (PRR) hosting the results of the ESA Scientific Projects",
21+
id: 3,
22+
url: "https://eoresults.esa.int/stac",
23+
title: "ESA Project Results Repository",
24+
summary:
25+
"ESA Project Results Repository (PRR) hosting the results of the ESA Scientific Projects",
2226
},
2327
{
24-
"id": 4,
25-
"url": "https://cds.climate.copernicus.eu/api/catalogue/v1/",
26-
"title": "Climate Data Store",
27-
"summary": "The CADS catalogue API is a STAC compliant API to access the CADS catalogues.The implementation is based on [Standalone Collections](https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#standalone-collections) while a custom extension is present to provide datasets search capabilities.",
28+
id: 4,
29+
url: "https://cds.climate.copernicus.eu/api/catalogue/v1/",
30+
title: "Climate Data Store",
31+
summary:
32+
"The CADS catalogue API is a STAC compliant API to access the CADS catalogues.The implementation is based on [Standalone Collections](https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#standalone-collections) while a custom extension is present to provide datasets search capabilities.",
2833
},
2934
{
30-
"id": 5,
31-
"url": "https://app-reverse-proxy.osc.earthcode.eox.at/open-science-catalog-metadata/catalog.json",
32-
"title": "ESA Open Science Catalog",
33-
"summary": "A catalog of publicly available geoscience products, datasets and resources developed in the frame of scientific research Projects funded by ESA EO (Earth Observation)"
34-
}
35+
id: 5,
36+
url: "https://app-reverse-proxy.osc.earthcode.eox.at/open-science-catalog-metadata/catalog.json",
37+
title: "ESA Open Science Catalog",
38+
summary:
39+
"A catalog of publicly available geoscience products, datasets and resources developed in the frame of scientific research Projects funded by ESA EO (Earth Observation)",
40+
},
3541
],
3642
allowExternalAccess: true, // Must be true if catalogUrl is not given
3743
allowedDomains: [],
@@ -41,48 +47,54 @@ module.exports = {
4147
fallbackLocale: "en",
4248
supportedLocales: [
4349
"de",
44-
// "de-CH",
50+
"ar",
51+
// "de-CH",
4552
"es",
4653
"en",
47-
// "en-GB",
48-
// "en-US",
54+
// "en-GB",
55+
// "en-US",
4956
"fr",
50-
// "fr-CA",
51-
// "fr-CH",
57+
// "fr-CA",
58+
// "fr-CH",
5259
"it",
53-
// "it-CH",
60+
// "it-CH",
5461
"ro",
5562
"ja",
5663
"pt",
57-
// "pt-BR"
64+
// "pt-BR"
65+
"id",
5866
],
5967
apiCatalogPriority: null,
6068
useTileLayerAsFallback: true,
6169
displayGeoTiffByDefault: false,
62-
buildTileUrlTemplate: ({href, asset}) => "https://tiles.rdnt.io/tiles/{z}/{x}/{y}@2x?url=" + encodeURIComponent(asset.href.startsWith("/vsi") ? asset.href : href),
63-
stacProxyUrl: null,
70+
displayPreview: true,
71+
displayOverview: true,
72+
buildTileUrlTemplate: null,
73+
getMapSourceOptions: null,
6474
pathPrefix: "/",
6575
historyMode: "history",
6676
cardViewMode: "cards",
6777
cardViewSort: "asc",
6878
showKeywordsInItemCards: false,
6979
showKeywordsInCatalogCards: false,
7080
showThumbnailsAsAssets: false,
71-
geoTiffResolution: 128,
72-
redirectLegacyUrls: false,
81+
searchResultsPerPage: null,
7382
itemsPerPage: 12,
83+
collectionsPerPage: null,
84+
maxEntriesPerPage: 1000,
7485
defaultThumbnailSize: null,
75-
maxPreviewsOnMap: 50,
7686
crossOriginMedia: null,
7787
requestHeaders: {},
7888
requestQueryParameters: {},
79-
socialSharing: ['email', 'bsky', 'mastodon', 'x'],
89+
socialSharing: [],
8090
preprocessSTAC: null,
8191
authConfig: {
82-
type: 'openIdConnect',
83-
openIdConnectUrl: 'https://auth.apex.esa.int/realms/apex/.well-known/openid-configuration',
92+
type: "openIdConnect",
93+
openIdConnectUrl:
94+
"https://auth.apex.esa.int/realms/apex/.well-known/openid-configuration",
8495
oidcConfig: {
85-
client_id: 'apex-catalogue-prod-browser'
86-
}
87-
}
96+
client_id: "apex-catalogue-prod-browser",
97+
},
98+
},
99+
crs: {},
88100
};

0 commit comments

Comments
 (0)