From 72310a72bbe128b0217faa8263613abeefeda304 Mon Sep 17 00:00:00 2001 From: melanielassarade Date: Thu, 24 Oct 2024 11:03:05 +0200 Subject: [PATCH] wip : updated data layers attribution #395 --- api/config/layers/basemap/ign-layers.cjs | 4 ++-- api/config/layers/basemap/osm-layers.cjs | 2 +- api/config/layers/infrastructure/centipede-layers.cjs | 4 ++-- api/config/layers/infrastructure/rte-layers.cjs | 2 +- api/config/layers/lab/lab-layers.cjs | 4 ++-- api/config/layers/radioactivity/teleray-layers.cjs | 2 +- api/config/layers/weather/forecast-layers.cjs | 8 ++++---- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/api/config/layers/basemap/ign-layers.cjs b/api/config/layers/basemap/ign-layers.cjs index c62fba2b..9dfbf288 100644 --- a/api/config/layers/basemap/ign-layers.cjs +++ b/api/config/layers/basemap/ign-layers.cjs @@ -21,7 +21,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: 'https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&STYLE=normal&FORMAT=image/png&TILEMATRIXSET=PM&TILEMATRIX=9&TILEROW=187&TILECOL=260', icon: 'streetview', - attribution: 'IGN Plan © IGN contributors, CC BY 4.0 license', + attribution: 'IGN Plan © IGN, CC BY 4.0 license', type: 'BaseLayer', leaflet: { type: 'tileLayer', @@ -60,7 +60,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: 'https://data.geopf.fr/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM&TILEMATRIX=9&TILEROW=187&TILECOL=260', icon: 'satellite', - attribution: 'IGN Imagery © IGN contributors, CC BY 4.0 license', + attribution: 'IGN Imagery © IGN, CC BY 4.0 license', type: 'BaseLayer', leaflet: { type: 'tileLayer', diff --git a/api/config/layers/basemap/osm-layers.cjs b/api/config/layers/basemap/osm-layers.cjs index b603aa49..6ea255c8 100644 --- a/api/config/layers/basemap/osm-layers.cjs +++ b/api/config/layers/basemap/osm-layers.cjs @@ -59,7 +59,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: `${tmsUrl}/osm-dark@GLOBAL_WEBMERCATOR/0/0/0.png`, icon: 'streetview', - attribution: 'OpenMapTiles © OpenMapTiles & OpenStreetMap © OpenStreetMap contributors', + attribution: 'OpenStreetMap © OpenStreetMap contributors', type: 'BaseLayer', leaflet: { type: 'tileLayer', diff --git a/api/config/layers/infrastructure/centipede-layers.cjs b/api/config/layers/infrastructure/centipede-layers.cjs index 917b05b8..f498ee11 100644 --- a/api/config/layers/infrastructure/centipede-layers.cjs +++ b/api/config/layers/infrastructure/centipede-layers.cjs @@ -80,7 +80,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: 'CENTIPEDE Base © Réseau Centipede RTK', + attribution: 'Base Centipede © CentipedeRTK', type: 'OverlayLayer', service: 'centipede-pings', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), @@ -208,7 +208,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: "CENTIPEDE Buffer © Centipede", + attribution: "Couverture Centipede © CentipedeRTK", type: 'OverlayLayer', leaflet: { type: 'kanvasLayer', diff --git a/api/config/layers/infrastructure/rte-layers.cjs b/api/config/layers/infrastructure/rte-layers.cjs index 1b800def..3f3efea5 100644 --- a/api/config/layers/infrastructure/rte-layers.cjs +++ b/api/config/layers/infrastructure/rte-layers.cjs @@ -55,7 +55,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }, - attribution: "RTE © ODRÉ contributors", + attribution: "RTE © ODRÉ", type: 'OverlayLayer', service: 'rte-generation', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/lab/lab-layers.cjs b/api/config/layers/lab/lab-layers.cjs index 9841bd0c..e9b451cf 100644 --- a/api/config/layers/lab/lab-layers.cjs +++ b/api/config/layers/lab/lab-layers.cjs @@ -198,7 +198,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'lab', 'measure' ], - attribution: 'Global Smart Rescue', + attribution: 'Global Smart Rescue © Global Smart Rescue contributors', type: 'OverlayLayer', service: 'lab-measurements', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), @@ -287,7 +287,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'lab', 'measure' ], - attribution: 'Global Smart Rescue', + attribution: 'Global Smart Rescue © Global Smart Rescue contributors', type: 'OverlayLayer', service: 'lab-measurements', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/radioactivity/teleray-layers.cjs b/api/config/layers/radioactivity/teleray-layers.cjs index ac768857..898bb34e 100644 --- a/api/config/layers/radioactivity/teleray-layers.cjs +++ b/api/config/layers/radioactivity/teleray-layers.cjs @@ -77,7 +77,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: 'Teleray © IRSN contributors', + attribution: 'Teleray © IRSN', type: 'OverlayLayer', service: 'teleray-measurements', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/weather/forecast-layers.cjs b/api/config/layers/weather/forecast-layers.cjs index 5ad857f0..f1d4e20a 100644 --- a/api/config/layers/weather/forecast-layers.cjs +++ b/api/config/layers/weather/forecast-layers.cjs @@ -35,7 +35,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'weather', 'forecast' ], - attribution: 'Forecast © Météo-France', + attribution: 'GFS © NOAA, ARPEGE, AROME © Météo-France', type: 'OverlayLayer', variables: [ { @@ -151,7 +151,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'weather', 'forecast' ], - attribution: 'Forecast © Météo-France', + attribution: 'GFS © NOAA, ARPEGE, AROME © Météo-France', type: 'OverlayLayer', variables: [ { @@ -246,7 +246,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'weather', 'forecast' ], - attribution: 'Forecast © Météo-France', + attribution: 'GFS © NOAA, ARPEGE, AROME © Météo-France', type: 'OverlayLayer', variables: [ { @@ -341,7 +341,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { tags: [ 'weather', 'forecast' ], - attribution: 'Forecast © Météo-France', + attribution: 'GFS © NOAA, ARPEGE, AROME © Météo-France', type: 'OverlayLayer', variables: [ {