How darkennel/dashboardgit works
DashboardGit is a web dashboard for exploring SICOVAL land-use and construction data. Users choose a theme and filters, then inspect commune-level map layers and summary tables; the dashboard also provides map, table, and definition exports. The six thematic datasets and their styling, popups, legends, and table callbacks are represented in the theme configuration. The excerpts show the main page invoking calculations and map operations, but do not show the HTML wiring or all initialization details. The repository also contains a standalone permit-to-parcel geometry preparation script; its relationship to dashboard data is not established.
Main entry points: themesConfig.js Theme configuration · main.js Dashboard workflow · map.js Interactive map · util.js Data utilities
Components 14
Dashboard interface
- Dashboard workflow
js/main.js - Interactive map
js/map.js - Data utilities
js/util.js
Thematic analysis
- Theme configuration
js/themesConfig.js - Summary calculations
js/calcul.js
Geospatial data
- Commune boundaries
datageojson/CommunesSico2.geojson - ENAF surfaces
datageojson/Enaf2022.geojson - Effective consumption
datageojson/ConsoEnaf0922vf.geojson - Effective construction
datageojson/Sicoval_SCEP_vf.geojson - Planned consumption
datageojson/ConsoPlanifieevf.geojson - Densification potential
datageojson/PotentielDensifBrut.geojson - Permit geometry preparation
script/PermisGeometrie.py
Other components
- Dashboard user
- OpenStreetMap tiles
Connections 12
- Dashboard user → Dashboard workflow: selects filters
- Dashboard workflow → Data utilities: loads communes
js/main.js - Dashboard workflow → Theme configuration: selects theme
js/main.js - Dashboard workflow → Interactive map: updates layers
js/main.js - Dashboard workflow → Summary calculations: calculates summaries
js/main.js - Theme configuration → ENAF surfaces: configures source
js/themesConfig.js - Theme configuration → Effective consumption: configures source
js/themesConfig.js - Theme configuration → Effective construction: configures source
js/themesConfig.js - Theme configuration → Planned consumption: configures source
js/themesConfig.js - Theme configuration → Densification potential: configures source
js/themesConfig.js - Interactive map → OpenStreetMap tiles: loads map tiles
js/map.js - Data utilities → Commune boundaries: fetches boundaries