uzwil_analysis

City Potential Dashboard Generator

Generate standalone Leaflet dashboards for Swiss city opportunity analysis.

The generator reads city-specific GeoJSON files from data/ and writes an HTML dashboard to maps/.

Data Convention

For a city slug such as uzwil, provide:

The modal split panel reads shared values from data/MS.json:

{
  "MIV": null,
  "LV": null,
  "OV": null
}

Generate a Dashboard

python3 scripts/generate_dashboard.py uzwil

This writes:

maps/uzwil_dashboard.html

You can customize the display name:

python3 scripts/generate_dashboard.py uzwil --city-name "Uzwil"

If data/<city>_people_per_day.geojson is missing, the script can extract the embedded GeoJSON from maps/<city>_people_per_day.html and save it into data/.