Skip to content

Commit

Permalink
wip : updated data layers attribution #395
Browse files Browse the repository at this point in the history
  • Loading branch information
melanielassarade committed Oct 24, 2024
1 parent d857051 commit dc03e0d
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions api/config/layers/administrative/demography-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://catalogue-donnees.insee.fr/">licence ouverte</a>',
legend: [{
type: 'symbols',
label: 'Layers.POPULATION_DESCRIPTION',
Expand Down Expand Up @@ -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 <a href="https://catalogue-donnees.insee.fr/">licence ouverte</a>',
legend: [{
type: 'symbols',
label: 'Layers.POPULATION_DENSITY_DESCRIPTION',
Expand Down Expand Up @@ -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 <a href="https://catalogue-donnees.insee.fr/">licence ouverte</a>',
legend: [{
type: 'symbols',
label: 'Layers.POPULATION_DENSITY_DESCRIPTION',
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/administrative/osm-boundaries-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
}
},
tags: ['administrative'],
attribution: 'OpenStreetMap © <a href="https://www.geofabrik.de/">Geofabrik</a> contributors',
attribution: 'OSM Boundaries © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, distributed by <a href="https://www.geofabrik.de/">Geofabrik</a>, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a> license.',
type: 'OverlayLayer',
service: 'osm-boundaries',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/atmospheric/icos-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: "<a href='https://data.icos-cp.eu/'>ICOS</a>",
attribution: 'ICOS © <a href="https://data.icos-cp.eu/">ICOS</a>',
type: 'OverlayLayer',
service: 'icos-observations',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/basemap/cesium-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 © <a href="https://cesium.com/">Cesium</a> contributors.',
default: true,
type: 'TerrainLayer',
cesium: {
Expand Down Expand Up @@ -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 © <a href="https://cesium.com/">Cesium</a> contributors.',
type: 'TerrainLayer',
cesium: {
type: 'Cesium',
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/basemap/ign-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: '© <a href="https://ign.fr">IGN</a>',
attribution: 'IGN Plan © <a href="https://ign.fr">IGN</a> contributors, <a href="https://www.ign.fr/conditions-generales-utilisation">CC BY 4.0</a> license',
type: 'BaseLayer',
leaflet: {
type: 'tileLayer',
Expand Down Expand Up @@ -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: '© <a href="https://ign.fr">IGN</a>',
attribution: 'IGN Imagery © <a href="https://ign.fr">IGN</a> contributors, <a href="https://www.ign.fr/conditions-generales-utilisation">CC BY 4.0</a> license',
type: 'BaseLayer',
leaflet: {
type: 'tileLayer',
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/basemap/imagery-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://planetobserver.com/">PlanetObserver</a>, BDORTHO by <a href="http://www.ign.fr/">IGN</a>',
attribution: 'PlanetSAT by <a href="https://planetobserver.com/">PlanetObserver</a>, BDORTHO by <a href="http://www.ign.fr/">IGN</a>, <a href="https://www.ign.fr/conditions-generales-utilisation">CC BY 4.0</a> license',
type: 'BaseLayer',
leaflet: {
type: 'tileLayer',
Expand Down Expand Up @@ -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 © <a href="https://planetobserver.com/">PlanetObserver</a>, BDORTHO © <a href="http://www.ign.fr/">IGN</a>, OpenMapTiles © <a href="https://openmaptiles.com">OpenMapTiles</a>, OpenStreetMap © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
attribution: 'PlanetSAT © <a href="https://planetobserver.com/">PlanetObserver</a>, BDORTHO © <a href="http://www.ign.fr/">IGN</a>, OpenStreetMap © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a> license',
type: 'BaseLayer',
leaflet: {
type: 'tileLayer',
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/basemap/osm-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 © <a href="https://openmaptiles.com">OpenMapTiles</a> & OpenStreetMap © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
attribution: 'OpenStreetMap © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a> license',
type: 'BaseLayer',
leaflet: {
type: 'tileLayer',
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/hydrography/hubeau-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: '',
attribution: 'HUB\'EAU Hydro © <a href="https://www.hubeau.eaufrance.fr">Hub\'Eau</a>',
type: 'OverlayLayer',
service: 'hubeau-hydro-observations',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down Expand Up @@ -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 © <a href="https://www.hubeau.eaufrance.fr">Hub\'Eau</a>',
type: 'OverlayLayer',
service: 'hubeau-piezo-observations',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/hydrography/vigicrues-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
},
attribution: '',
attribution: 'Vigicrues © <a href="https://www.vigicrues.gouv.fr">VIGICRUES</a>',
type: 'OverlayLayer',
service: 'vigicrues-forecasts',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/infrastructure/centipede-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: '<a href="https://docs.centipede.fr/">Réseau Centipede RTK</a>',
attribution: 'CENTIPEDE Base © <a href="https://docs.centipede.fr/">Réseau Centipede RTK</a>',
type: 'OverlayLayer',
service: 'centipede-pings',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down Expand Up @@ -208,7 +208,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: "<a href='https://docs.centipede.fr/'>Centipeded/a>",
attribution: "CENTIPEDE Buffer © <a href='https://docs.centipede.fr/'>Centipede</a>",
type: 'OverlayLayer',
leaflet: {
type: 'kanvasLayer',
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/infrastructure/rte-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
},
attribution: "<a href='https://data.rte-france.com/'>RTE</a>",
attribution: "RTE © <a href='https://opendata.reseaux-energies.fr/'>ODRÉ</a> contributors",
type: 'OverlayLayer',
service: 'rte-generation',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/lab/lab-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
tags: [
'lab', 'measure'
],
attribution: 'Global Smart Rescue',
attribution: 'Global Smart Rescue © <a href="https://globalsmartrescue.com/">Global Smart Rescue</a> contributors',
type: 'OverlayLayer',
service: 'lab-observations',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/marine/openseamap-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function () {
],
iconUrl: '/OpenSeaMap-Logo-256.png',
icon: 'marine',
attribution: 'OpenSeaMap © <a href="http://www.openseamap.org">OpenSeaMap</a> contributors',
attribution: 'OpenSeaMap © <a href="http://www.openseamap.org">OpenSeaMap</a> contributors, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a> license',
type: 'OverlayLayer',
leaflet: {
type: 'tileLayer',
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/radioactivity/openradiation-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
type: 'variables',
label: 'Legend.OPENRADIATION_LABEL',
},
attribution: "<a href='https://openradiation.org'>OpenRadiation</a>",
attribution: 'OpenRadiation © <a href="https://openradiation.org">OpenRadiation</a>, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a> license',
type: 'OverlayLayer',
service: 'openradiation',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/radioactivity/teleray-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: '<a href="https://irsn.fr/">IRSN</a>',
attribution: 'Teleray © <a href="https://irsn.fr/">IRSN</a> contributors',
type: 'OverlayLayer',
service: 'teleray-measurements',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
2 changes: 1 addition & 1 deletion api/config/layers/shot/mapillary-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function () {
tags: [
'shot'
],
attribution: 'Images from <a href="https://www.mapillary.com">Mapillary</a>, CC BY-SA',
attribution: 'Images from <a href="https://www.mapillary.com">Mapillary</a>',
type: 'OverlayLayer',
leaflet: {
type: 'mapillary',
Expand Down
4 changes: 2 additions & 2 deletions api/config/layers/weather/awc-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -110,7 +110,7 @@ module.exports = function ({ wmtsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
]
}
}],
attribution: '',
attribution: 'METAR © <a href="https://aviationweather.gov/metar">NOAA Aviation Weather Center</a>',
type: 'OverlayLayer',
service: 'awc-metars',
dbName: (process.env.DATA_DB_URL ? 'data' : undefined),
Expand Down
8 changes: 4 additions & 4 deletions api/config/layers/weather/forecast-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
tags: [
'weather', 'forecast'
],
attribution: 'Forecast data from <a href="http://www.meteofrance.com">Météo-France</a>',
attribution: 'Forecast © <a href="http://www.meteofrance.com">Météo-France</a>',
type: 'OverlayLayer',
variables: [
{
Expand Down Expand Up @@ -151,7 +151,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
tags: [
'weather', 'forecast'
],
attribution: 'Forecast data from <a href="http://www.meteofrance.com">Météo-France</a>',
attribution: 'Forecast © <a href="http://www.meteofrance.com">Météo-France</a>',
type: 'OverlayLayer',
variables: [
{
Expand Down Expand Up @@ -246,7 +246,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
tags: [
'weather', 'forecast'
],
attribution: 'Forecast data from <a href="http://www.meteofrance.com">Météo-France</a>',
attribution: 'Forecast © <a href="http://www.meteofrance.com">Météo-France</a>',
type: 'OverlayLayer',
variables: [
{
Expand Down Expand Up @@ -341,7 +341,7 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
tags: [
'weather', 'forecast'
],
attribution: 'Forecast data from <a href="http://www.meteofrance.com">Météo-France</a>',
attribution: 'Forecast © <a href="http://www.meteofrance.com">Météo-France</a>',
type: 'OverlayLayer',
variables: [
{
Expand Down

0 comments on commit dc03e0d

Please sign in to comment.