Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Latest commit

 

History

History
7 lines (6 loc) · 498 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 498 Bytes

How to create list of municipalities and postcal code coordinates

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