The Swiss Post had an API at
swisspost.opendatasoft.com where one could get the geo_shape for all PLZ-areas for all of Switzerland. Sadly they closed this API due to a small usage volume.
Now I need this data from somewhere else. I tried getting it from the GeoAdmin API but wasn't able to accomplish this until now. The layer "ch.swisstopo-vd.ortschaftenverzeichnis_plz" seems to be the one i'd need for the plz's. However I don't see geodata there.
The geodata i found was on the layer ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill.
Now I have 2 problems:
- How do i connect the data of these 2 layers? After all the same "Gemeinde" can have multiple ZIP-areas, right?
- Is there a way to get the needed data with a single request? Or do i have to send many requests due to pagination?
I would only update these values once per year in my application, so I hope the request volume is not a problem. And sorry if this is a basic question or has been asked multiple times already. I read through everything i could find in both the documentation and fitting threads in this group, but i'm no closer to the solution.
Best regards
Silvan