Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong city name showing for below information #769

Open
ReveProduct opened this issue Mar 21, 2024 · 1 comment
Open

Wrong city name showing for below information #769

ReveProduct opened this issue Mar 21, 2024 · 1 comment
Labels
bug Something isn't working missing-records Missing some records

Comments

@ReveProduct
Copy link

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

Copy link

dosubot bot commented Mar 21, 2024

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.

@dosubot dosubot bot added bug Something isn't working missing-records Missing some records labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working missing-records Missing some records
Projects
None yet
Development

No branches or pull requests

1 participant