I am looking for elevation data for Swiss municipalities (Gemeinden). I'd like something simple that can be joined to other data sources, for example, as a CSV,
postal_code municipality_name elevation_meters 8000 Zürich 408
(to make it simple, elevation can be median or average over the entire surface, or just the elevation as a central point).
If the data isn't available, then some steps to generate the dataset from open data would be an acceptable answer.
OpenElevation project would work, but it involves passing individual latitude/longitude pairs, and the current API (github) seems to have spotty service. Another option is Google's Elevation API, but that would also require individual requests.
The official regional portrait doesn't have elevation, nor does it have the latitude/longitude that I could use to look up each municipality.
Official maps has municipality shape files and elevation, but I don't see any data download option.
License: for a hobby project, so most licenses will work