You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is that the original dataset was coming from https://www.cadastre.ch/.
They no longer have a downloadable dataset with all zipcodes for Switzerland.
The sister project php-swiss-cantons also had this "update" problem. I created a new major version earlier this year, which now takes the data from the Swiss Post. That package also has a CLI command to keep the dataset up to date.
Writting CLIs in Node.js is not my strength, but I will try to add a CLI to this project over the next few weeks; similar to the one in the PHP version. The CLI will then use the data from the Swiss Post.
However, this update will not solve all problems, as not all mentioned NPAs will be there in the new dataset. For example 1701 and 1705 Sarine will not be added, as "Sarine" is a river and not a village/city.
Multiple NPAs are missing. Here's a short list of examples:
1701 Sarine, Fribourg
1705 Sarine, Fribourg
6281 Hochdorf, Lucerne
4901 Oberaargau, Bern
1001 Lausanne, Vaud
Can we update the library to include the most recent NPA list?
The text was updated successfully, but these errors were encountered: