From dc03e0db4c3e5e48e1c15e3c01432e3e1a66c490 Mon Sep 17 00:00:00 2001 From: melanielassarade Date: Thu, 24 Oct 2024 09:25:09 +0200 Subject: [PATCH] wip : updated data layers attribution #395 --- api/config/layers/administrative/demography-layers.cjs | 6 +++--- .../layers/administrative/osm-boundaries-layers.cjs | 2 +- api/config/layers/atmospheric/icos-layers.cjs | 2 +- api/config/layers/basemap/cesium-layers.cjs | 4 ++-- api/config/layers/basemap/ign-layers.cjs | 4 ++-- api/config/layers/basemap/imagery-layers.cjs | 4 ++-- api/config/layers/basemap/osm-layers.cjs | 2 +- api/config/layers/hydrography/hubeau-layers.cjs | 4 ++-- api/config/layers/hydrography/vigicrues-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 | 2 +- api/config/layers/marine/openseamap-layers.cjs | 2 +- api/config/layers/radioactivity/openradiation-layers.cjs | 2 +- api/config/layers/radioactivity/teleray-layers.cjs | 2 +- api/config/layers/shot/mapillary-layers.cjs | 2 +- api/config/layers/weather/awc-layers.cjs | 4 ++-- api/config/layers/weather/forecast-layers.cjs | 8 ++++---- 18 files changed, 29 insertions(+), 29 deletions(-) diff --git a/api/config/layers/administrative/demography-layers.cjs b/api/config/layers/administrative/demography-layers.cjs index 98d83059..480bcbc6 100644 --- a/api/config/layers/administrative/demography-layers.cjs +++ b/api/config/layers/administrative/demography-layers.cjs @@ -21,7 +21,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: '', icon: 'las la-th', - attribution: 'INSEE', + attribution: 'Population © INSEE – données disponibles sous licence ouverte', legend: [{ type: 'symbols', label: 'Layers.POPULATION_DESCRIPTION', @@ -85,7 +85,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: '', icon: 'las la-th', - attribution: 'INSEE', + attribution: '© INSEE – données disponibles sous licence ouverte', legend: [{ type: 'symbols', label: 'Layers.POPULATION_DENSITY_DESCRIPTION', @@ -149,7 +149,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: '', icon: 'las la-male', - attribution: 'INSEE', + attribution: '© INSEE – données disponibles sous licence ouverte', legend: [{ type: 'symbols', label: 'Layers.POPULATION_DENSITY_DESCRIPTION', diff --git a/api/config/layers/administrative/osm-boundaries-layers.cjs b/api/config/layers/administrative/osm-boundaries-layers.cjs index 8f69ab4c..7f2eeb30 100644 --- a/api/config/layers/administrative/osm-boundaries-layers.cjs +++ b/api/config/layers/administrative/osm-boundaries-layers.cjs @@ -31,7 +31,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { } }, tags: ['administrative'], - attribution: 'OpenStreetMap © Geofabrik contributors', + attribution: 'OSM Boundaries © OpenStreetMap contributors, distributed by Geofabrik, ODbL license.', type: 'OverlayLayer', service: 'osm-boundaries', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/atmospheric/icos-layers.cjs b/api/config/layers/atmospheric/icos-layers.cjs index b8349837..5c250238 100644 --- a/api/config/layers/atmospheric/icos-layers.cjs +++ b/api/config/layers/atmospheric/icos-layers.cjs @@ -73,7 +73,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: "ICOS", + attribution: 'ICOS © ICOS', type: 'OverlayLayer', service: 'icos-observations', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/basemap/cesium-layers.cjs b/api/config/layers/basemap/cesium-layers.cjs index c749b08c..54ac85d9 100644 --- a/api/config/layers/basemap/cesium-layers.cjs +++ b/api/config/layers/basemap/cesium-layers.cjs @@ -21,7 +21,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: 'Cesium/Widgets/Images/TerrainProviders/Ellipsoid.png', icon: 'fiber_manual_record', - attribution: '', + attribution: 'CESIUM Ellipsoid © Cesium contributors.', default: true, type: 'TerrainLayer', cesium: { @@ -51,7 +51,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: 'Cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png', icon: 'terrain', - attribution: 'High-resolution, mesh-based terrain for the entire globe.\nBy https://cesiumjs.org', + attribution: 'CESIUM Terrain © Cesium contributors.', type: 'TerrainLayer', cesium: { type: 'Cesium', diff --git a/api/config/layers/basemap/ign-layers.cjs b/api/config/layers/basemap/ign-layers.cjs index aad9bb7e..c62fba2b 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', + attribution: 'IGN Plan © IGN contributors, 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', + attribution: 'IGN Imagery © IGN contributors, CC BY 4.0 license', type: 'BaseLayer', leaflet: { type: 'tileLayer', diff --git a/api/config/layers/basemap/imagery-layers.cjs b/api/config/layers/basemap/imagery-layers.cjs index e1547342..b0617ab2 100644 --- a/api/config/layers/basemap/imagery-layers.cjs +++ b/api/config/layers/basemap/imagery-layers.cjs @@ -21,7 +21,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: `${tmsUrl}/imagery@GLOBAL_WEBMERCATOR/0/0/0.jpeg`, icon: 'terrain', - attribution: 'PlanetSAT by PlanetObserver, BDORTHO by IGN', + attribution: 'PlanetSAT by PlanetObserver, BDORTHO by IGN, CC BY 4.0 license', type: 'BaseLayer', leaflet: { type: 'tileLayer', @@ -59,7 +59,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: `${tmsUrl}/hybrid@GLOBAL_WEBMERCATOR/0/0/0.jpeg`, icon: 'terrain', - attribution: 'PlanetSAT © PlanetObserver, BDORTHO © IGN, OpenMapTiles © OpenMapTiles, OpenStreetMap © OpenStreetMap contributors', + attribution: 'PlanetSAT © PlanetObserver, BDORTHO © IGN, OpenStreetMap © OpenStreetMap contributors, ODbL 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 00bed258..b603aa49 100644 --- a/api/config/layers/basemap/osm-layers.cjs +++ b/api/config/layers/basemap/osm-layers.cjs @@ -21,7 +21,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ], iconUrl: `${tmsUrl}/osm-bright@GLOBAL_WEBMERCATOR/0/0/0.png`, icon: 'streetview', - attribution: 'OpenMapTiles © OpenMapTiles & OpenStreetMap © OpenStreetMap contributors', + attribution: 'OpenStreetMap © OpenStreetMap contributors, ODbL license', type: 'BaseLayer', leaflet: { type: 'tileLayer', diff --git a/api/config/layers/hydrography/hubeau-layers.cjs b/api/config/layers/hydrography/hubeau-layers.cjs index b1135f81..f7f9caa4 100644 --- a/api/config/layers/hydrography/hubeau-layers.cjs +++ b/api/config/layers/hydrography/hubeau-layers.cjs @@ -73,7 +73,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: '', + attribution: 'HUB\'EAU Hydro © Hub\'Eau', type: 'OverlayLayer', service: 'hubeau-hydro-observations', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), @@ -231,7 +231,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { 'hydrography', 'measure' ], iconUrl: 'https://s3.eu-central-1.amazonaws.com/kalisioscope/assets/hubeau-hydrometrie-icon.png', - attribution: '', + attribution: 'HUB\'EAU Piezo © Hub\'Eau', type: 'OverlayLayer', service: 'hubeau-piezo-observations', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/hydrography/vigicrues-layers.cjs b/api/config/layers/hydrography/vigicrues-layers.cjs index 5423d182..31389693 100644 --- a/api/config/layers/hydrography/vigicrues-layers.cjs +++ b/api/config/layers/hydrography/vigicrues-layers.cjs @@ -62,7 +62,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }, - attribution: '', + attribution: 'Vigicrues © VIGICRUES', type: 'OverlayLayer', service: 'vigicrues-forecasts', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/infrastructure/centipede-layers.cjs b/api/config/layers/infrastructure/centipede-layers.cjs index 89a62749..917b05b8 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: 'Réseau Centipede RTK', + attribution: 'CENTIPEDE Base © Réseau Centipede RTK', 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: "Centipeded/a>", + attribution: "CENTIPEDE Buffer © Centipede", type: 'OverlayLayer', leaflet: { type: 'kanvasLayer', diff --git a/api/config/layers/infrastructure/rte-layers.cjs b/api/config/layers/infrastructure/rte-layers.cjs index 4510cea0..1b800def 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", + attribution: "RTE © ODRÉ contributors", 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 99ef50f1..9841bd0c 100644 --- a/api/config/layers/lab/lab-layers.cjs +++ b/api/config/layers/lab/lab-layers.cjs @@ -37,7 +37,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-observations', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/marine/openseamap-layers.cjs b/api/config/layers/marine/openseamap-layers.cjs index 9069bd9e..64dd2288 100644 --- a/api/config/layers/marine/openseamap-layers.cjs +++ b/api/config/layers/marine/openseamap-layers.cjs @@ -21,7 +21,7 @@ module.exports = function () { ], iconUrl: '/OpenSeaMap-Logo-256.png', icon: 'marine', - attribution: 'OpenSeaMap © OpenSeaMap contributors', + attribution: 'OpenSeaMap © OpenSeaMap contributors, ODbL license', type: 'OverlayLayer', leaflet: { type: 'tileLayer', diff --git a/api/config/layers/radioactivity/openradiation-layers.cjs b/api/config/layers/radioactivity/openradiation-layers.cjs index 49788495..d8c21c3a 100644 --- a/api/config/layers/radioactivity/openradiation-layers.cjs +++ b/api/config/layers/radioactivity/openradiation-layers.cjs @@ -35,7 +35,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { type: 'variables', label: 'Legend.OPENRADIATION_LABEL', }, - attribution: "OpenRadiation", + attribution: 'OpenRadiation © OpenRadiation, ODbL license', type: 'OverlayLayer', service: 'openradiation', 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 da3083a7..ac768857 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: 'IRSN', + attribution: 'Teleray © IRSN contributors', type: 'OverlayLayer', service: 'teleray-measurements', dbName: (process.env.DATA_DB_URL ? 'data' : undefined), diff --git a/api/config/layers/shot/mapillary-layers.cjs b/api/config/layers/shot/mapillary-layers.cjs index 6c03ba67..76e7bcb7 100644 --- a/api/config/layers/shot/mapillary-layers.cjs +++ b/api/config/layers/shot/mapillary-layers.cjs @@ -19,7 +19,7 @@ module.exports = function () { tags: [ 'shot' ], - attribution: 'Images from Mapillary, CC BY-SA', + attribution: 'Images from Mapillary', type: 'OverlayLayer', leaflet: { type: 'mapillary', diff --git a/api/config/layers/weather/awc-layers.cjs b/api/config/layers/weather/awc-layers.cjs index 455f53b6..dac23dc4 100644 --- a/api/config/layers/weather/awc-layers.cjs +++ b/api/config/layers/weather/awc-layers.cjs @@ -83,7 +83,7 @@ module.exports = function ({ wmtsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { label: 'Legend.AWC_METARS_CLOUDCOVER_SCT' }, { symbol: { 'media/KShape': { options: { shape: 'circle', color: '#666666', radius: 10, icon: { classes: 'fa fa-cloud', color: '#F1EEF6' } } } }, - label: 'Legend.AWC_METARS_CLOUDCOVER_BKN' + label: 'Legend.AWC_METARS_CLOUDCOVER_BKN' }, { symbol: { 'media/KShape': { options: { shape: 'circle', color: '#666666', radius: 10, icon: { classes: 'fa fa-cloud', color: '#BDC9E1' } } } }, label: 'Legend.AWC_METARS_CLOUDCOVER_OVC' @@ -110,7 +110,7 @@ module.exports = function ({ wmtsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) { ] } }], - attribution: '', + attribution: 'METAR © NOAA Aviation Weather Center', type: 'OverlayLayer', service: 'awc-metars', 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 5b066dc8..5ad857f0 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 data from Météo-France', + attribution: 'Forecast © 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 data from Météo-France', + attribution: 'Forecast © 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 data from Météo-France', + attribution: 'Forecast © 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 data from Météo-France', + attribution: 'Forecast © Météo-France', type: 'OverlayLayer', variables: [ {