Skip to content

Commit c8120d2

Browse files
authored
Ajout de champs dans l'export livrables.geojson (#476)
1 parent 894fe23 commit c8120d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/export/stockage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export async function computeLivrablesGeoJSON() {
7171
initiative: refProjet,
7272
dateActualite: projetDateActualite || null,
7373
calendrier: projetCalendrier || null,
74+
nom: livrable.nom || null,
7475
format: getFormat(stockageMeta.result.raster.format),
7576
compression: stockageMeta.result.raster.compression,
7677
epsg: stockageMeta.result.raster.projection.code,
@@ -81,6 +82,7 @@ export async function computeLivrablesGeoJSON() {
8182
licence: livrable.licence || null,
8283
subventions: [...new Set(projetSubventions)],
8384
acteurs: [...new Set(projetActeurs)],
85+
diffusion: livrable.diffusion || null,
8486
diffusionUrl: livrable.diffusion_url || null,
8587
diffusionLayer: livrable.diffusion_layer || null
8688
}

0 commit comments

Comments
 (0)