countries-states-cities-database
countries-states-cities-database copied to clipboard
Turkey cities are wrong or missing, can you reload?
Hello, first of all thanks to all the contributor for this beautiful project.
Turkey cities are wrong or missing, can you reload?
@neonturk Thanks for reporting. 🎉
If you can provide me with the correct source of data for turkey, That would be great?
@neonturk Dostum bende bu db ile uğraşıyorum çok mu hata var örnek hangi kısımlarda hata var?.
@dr5hn Hello, the official data source is available at the link. link: https://postakodu.ptt.gov.tr/Dosyalar/pk_list.zip
This is the most accurate source for now. https://raw.githubusercontent.com/semihferik/il-ilce-semt-mahalle/master/Aktarilmis%20Sql%20Dosyalari/2022/2022-08-10%20Aktarilmis%20(yil-ay-gun).sql
I contacted government officials. I've officially requested an API resource. If I get a positive response from them, I will contact you again.
@AyYildizPilot Evet dostum türkçe karakter hataları ve mükerrer kayıtlar var. Ve ilçe bölümünde il isimleride var.
@dr5hn , @AyYildizPilot 's source is correct. We'll let you know if the official API becomes available. https://postakodu.ptt.gov.tr/Dosyalar/pk_list.zip The column names in this excel are as follows;
State => il city => ilçe zipcode => PK
@neonturk Ok thanks, i will take a look at it soon.
Hi, i changed the turkish cities table mistakes.
- Turkey's counties (cities table) has been updated.
- Updated data source: https://postakodu.ptt.gov.tr/
- Neighborhoods added as districts (cities table) have been deleted. (Turkey)
- Added missing six districts (cities table) (Turkey)
- District (cities table) records that should be 'Merkez' but added as the name of the province(city, states table) have been updated as 'Merkez'
Sql data source: https://drive.google.com/file/d/1wx-Jw-NeGUJoDX0dX2b7Te0N_VrXCa1f/view
Edit: Or you can execute the queries inside txt file and update existing data turkish-query-fixes.txt
@alidagli Thanks for all of your efforts. I am finding it a bit hard to get spare time to focus on this. But I will try to get on it ASAP.
Thanks for your patience. Please bear with me.
@alidagli Hocam veritabanın güncel hali ve ek olarak mahallelerin olduğu veritabanını sizin hazırlama imkanınız oldu mu ? Eğer siz hazırladıysanız bizimlede payalaşabilirmisiniz ? Yoksa ben sizin sunduğunuz düzeltmelere ilave olarak PTT'nin sunduğu excel ile merge edip ayrıca neighborhood tablosu oluşturacağım. Hızlı geri dönüş yaparsanız çok sevinirim. İyi çalışmalar dilerim :)
@neonturk güncellemeyi yaptığım tarihte ptt excelinde güncel ne varsa eksiksiz hali ile database’e ekledim. Tek tek uğraştım :) hatalı olanları da değiştirdim ve düzelttim. Google drive linkinde olan sql dosyası o tarihteki ptt exceli ile il ilçe mahalle olarak birebir aynı.
@alidagli Hocam sizin paylaştığınız dosyada Ülke (countries) İl(states) ve İlçe(cities) verileri mevcut. Mahalle(Neighborhood) verileri mevcut değil. Mahalle verilerinin de olduğu verileri paylaşmanız mümkünmüdür ?