Interactive map of Swiss companies built with Open Data
- Download — company data fetched from opendata.swiss, one CSV per canton (26 total)
- Geocode —
scripts/geocode.pyqueries the Mapbox Geocoding API, building each query as"{street}, {postal_code} {locality}, Switzerland"; a local cache (geocode_cache.json) makes runs resumable; rate and mode are controlled via flags (--sleep,--append,--canton, …) - Chunk & compress — geocoded rows serialised to JSON arrays and gzip-compressed into numbered chunks; a
<CANTON>.jsonmetadata file records the chunk count ({"_chunks": N}) - Render — static files only, no backend; browser fetches chunks on demand, decompresses with pako, and renders with deck.gl on a MapLibre GL basemap using CartoDB Dark Matter tiles (OSM data, no token required)

