diff --git a/current/cba/collection.json b/current/cba/collection.json index ab35b47223..4eb3bc8d03 100644 --- a/current/cba/collection.json +++ b/current/cba/collection.json @@ -230,7 +230,7 @@ ] }, "geoserver_link": { - "href": "https://coclico.avi.deltares.nl/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=cfhp:lau_nuts_cfhp&STYLE=&TILEMATRIX=EPSG:900913:{z}&TILEMATRIXSET=EPSG:900913&FORMAT=application/vnd.mapbox-vector-tile&TILECOL={x}&TILEROW={y}", + "href": "https://coclico.avi.deltares.nl/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=cba:GCF_open_CBA_country_all_EPSG4326&STYLE=&TILEMATRIX=EPSG:900913:{z}&TILEMATRIXSET=EPSG:900913&FORMAT=application/vnd.mapbox-vector-tile&TILECOL={x}&TILEROW={y}", "type": "application/vnd.apache.parquet", "title": "Geoserver Parquet link" } diff --git a/scripts/create_stacs/33_cba_stacs.py b/scripts/create_stacs/33_cba_stacs.py index 1d27cb782c..55cd81ea72 100644 --- a/scripts/create_stacs/33_cba_stacs.py +++ b/scripts/create_stacs/33_cba_stacs.py @@ -259,6 +259,16 @@ def create_collection( media_type=pystac.MediaType.JPEG, ), ) + + collection.add_asset( + "geoserver_link", + pystac.Asset( + "https://coclico.avi.deltares.nl/geoserver/gwc/service/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=cba:GCF_open_CBA_country_all_EPSG4326&STYLE=&TILEMATRIX=EPSG:900913:{z}&TILEMATRIXSET=EPSG:900913&FORMAT=application/vnd.mapbox-vector-tile&TILECOL={x}&TILEROW={y}", + title="Geoserver Parquet link", + media_type="application/vnd.apache.parquet", + ), + ) + # collection.links = links collection.keywords = metadata["KEYWORDS"] @@ -449,7 +459,7 @@ def create_item( # Also upload the Front-end geopackage if it exists if FE_gpkg_fp != None: - # upload directory to the cloud (files already parquet) + # upload directory to the cloud (files already parquet) file_to_google_cloud( file_path=str(FE_gpkg_fp), gcs_project=GCS_PROJECT,