Data Structures - Ouranosinc/panacees-web GitHub Wiki

index.json

General information about project.

{
  "municipalities": [
    {
      "id": "nddp",
      "name": "Notre Dame...",
      "geo": "nddp.geojson",
      "cells": [
        {
          "id": "nddp-1",
          "name": "Section 1",
          "geo": "nddp-1.geojson"
        }
      ]
    },
    ...
  ]
}

For each hydrosedimentary cell

In its own folder, cells/<cell id>/<password>/cell.json

{
  "bounds": { 
    "n": 43.455,
    "s": 42.455,
    "e": -73.455,
    "w": -74.455
   },
   // This is in the cell folder so doesn't need unique name
   "coastline": "coastline.geojson",
   "infrastructure": "infrastructure.geojson",
   "adaptations": [
     {
       "id": "aucune",
       "name": "Aucune",
       "erosionNA": false,
       "floodingNA": false
     },
    ...
   ],
   "erosionGeo": [
     {
       "adaptation": "aucune",
       "timeline": "2040",
       // Not present if erosionNA
       "erosionScenario": "low",
       // This is in the folder for the cell
       "file": "erosion-2040-aucune-low.geojson"
     },
    ...
   ],
   "floodingGeo": [
    {
      "adaptation": "aucune",
      "timeline": "2040",
      // Needed?
      "erosionScenario": "low",
      // Not present if floodingNA
      "floodingScenario": "low",
      // This is in the folder for the cell
      "file": "flooding-2040-aucune-low.geojson"
    },
    ...
  ],
  "damageGeo": [
    {
      "adaptation": "aucune",
      "timeline": "2040",
      "erosionScenario": "low",
      "floodingScenario": "low",
      // This is in the folder for the cell
      "file": "damage-2040-aucune-low-low.geojson"
    },
    ...
  ]
}
⚠️ **GitHub.com Fallback** ⚠️