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
6.81k stars 2.44k forks source link

Wrong city name showing for below information #769

Open ReveProduct opened 3 months ago

ReveProduct commented 3 months ago

Countries: Bangladesh State: Dhaka District Wrong data: Parvez Ali, Parvez Ali Hossain

dosubot[bot] commented 3 months ago

Sure, I can guide you on how to correct the city name in the Dhaka District of Bangladesh in the countries-states-cities-database repository.

First, you need to locate the entry for the Dhaka District in the yml/states+cities.yml file. Once you've found the Dhaka District section, look for the city entry that is incorrectly named "Parvez Ali, Parvez Ali Hossain". Replace the incorrect name with the correct name of the city. The entry should look something like this:

      -
        id: <unique_id> # Use the actual ID from the file
        name: Dhaka
        latitude: <latitude_value> # Use the actual latitude from the file
        longitude: <longitude_value> # Use the actual longitude from the file

After saving the changes to the yml/states+cities.yml file, you need to commit your changes with a meaningful commit message, such as "Corrected city name in Dhaka District, Bangladesh". If you do not have write access, you may need to fork the repository, commit your changes to your fork, and then submit a pull request to the original repository for the maintainers to review and merge.

Please note that the correct city name for the location in the Dhaka District of Bangladesh that is currently incorrectly displayed as "Parvez Ali, Parvez Ali Hossain" is not provided in the given context. You'll need to obtain the correct city name from a reliable source before making the correction.

The structure of the data in the yml/states+cities.yml file in the repository consists of entries for states and cities. Each state has attributes like id, name, state_code, latitude, longitude, country_id, and a list of cities. Each city within a state has its own attributes, including id, name, latitude, and longitude.

As for the process of correcting data errors in the repository, it is outlined in the Contributing Guidelines section of the README.md file. You need to fork the repository, make the necessary changes to the data in the specified SQL tables, and then create a pull request with a clear description of the modifications you've made.

Please note that while anyone can propose changes by following these steps, the actual incorporation of these changes into the database is controlled. The changes must be reviewed and accepted through the pull request process, which typically involves approval by the repository maintainers.

I hope this helps! If you have any other questions, feel free to ask.

Sources:

Sources

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.