dr5hn / countries-states-cities-database

🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
https://dr5hn.github.io/countries-states-cities-database/
Open Data Commons Open Database License v1.0
7.19k stars 2.52k forks source link

Turkey cities are wrong or missing, can you reload? #549

Closed neonturk closed 1 week ago

neonturk commented 1 year ago

Hello, first of all thanks to all the contributor for this beautiful project.

Turkey cities are wrong or missing, can you reload?

dr5hn commented 1 year ago

@neonturk Thanks for reporting. 🎉

If you can provide me with the correct source of data for turkey, That would be great?

AyYildizPilot commented 1 year ago

@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

neonturk commented 1 year ago

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.

neonturk commented 1 year ago

@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

dr5hn commented 1 year ago

@neonturk Ok thanks, i will take a look at it soon.

alidagli commented 1 year ago

Hi, i changed the turkish cities table mistakes.

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

dr5hn commented 1 year ago

@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.

neonturk commented 1 year ago

@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 :)

alidagli commented 1 year ago

@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ı.

neonturk commented 1 year ago

@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 ?

dr5hn commented 1 week ago

Already done!