- Download post codes for your country from here
- Extract it and move
xx.txtfile to this (locales) folder - Change the first variable in the
geonames-converter.pyscript file with your country code (xx) in lower case - Run the script with:
python3 geonames-converter.py - Commit two generated files. (
xx-municipalities.jsonandxx-postalCodeCoordinates.json)