Refer to https://kivancguckiran.github.io/turkish-zipcodes-visualized/.
ZipCodes of Turkey: http://postakodu.ptt.gov.tr/ Click "Posta Kodu Özet Tablosu" at the middle-center of the page.
yarn install
You need to get API Key with active GeoCoding API from Google and set environment variable googleAPIKey
first. GeoCoding is done by requesting address information as town, district/city
.
node index.js
Excel sheets contains some town information as Merkezköyler (center villages), so GeoCoding was missing some post codes. To fix this, I've used village information and encoded address as neighborhood, district/city
.
node missing.js
After getting every post codes, we need to generate a total locations.json
.
node location.js
This file contains zipcodes with latitude and longitude values.