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.16k stars 2.52k forks source link

Wrong cities listed (Philippines) #288

Open keiruu opened 3 years ago

keiruu commented 3 years ago

The cities in Western Visayas in the Philippines are all bunched up in the state Antique which is incorrect.

dr5hn commented 2 years ago

@keiruu Thanks for reporting. 🎉

I will take a look at it soon.

dr5hn commented 2 years ago

@keiruu Do you have a list of correct cities for the Philippines states?

keiruu commented 2 years ago

This should be a good list!

dr5hn commented 2 years ago

@keiruu Thanks for the list. Will fix it soon.

joshxyzhimself commented 2 years ago

The official data for this can be found at the Philippine Standard Geographic Code (PSGC) published by the Philippine Statistics Authority (PSA).

At the right part of the page, there is a "Latest Release" section with the "Publication.xlsx" file.

image

An example parsing of it can be found at the links below:

joshxyzhimself commented 2 years ago

Also it should be noted that the Philippines has the concept of "Municipalities" which are like small cities.

A municipality is a local government unit (LGU) in the Philippines. It is distinct from city, which is a different category of local government unit. Provinces of the Philippines are divided into cities and municipalities, which in turn, are divided into barangays (formerly barrios) – villages. As of 7 September 2019, there are 1,488 municipalities across the country.

The heirarchy goes like:

Region
District / Province
City / Municipality
Submunicipality / Barangay
Barangay