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

Remove invalid "Campinas" brazilian city from database #800

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

skpeter
Copy link
Contributor

@skpeter skpeter commented Jul 4, 2024

This PR removes an invalid entry for "Campinas" in the Santa Catarina ('SC') state of Brazil ('BR').

This entry is not for an actual city, but for a district of the city of São José in SC. In fact, if you look up the coordinates on Google Maps, they point exactly to this district:

https://www.google.com/maps/place/27%C2%B035'40.0%22S+48%C2%B036'25.0%22W/@-27.59444,-48.6095203,17z/

Campinas is actually a city in the state of São Paulo ('SP'), for which there already is a valid entry on the entry right below this one. It's one of the largest cities in Brazil. However, due to both entries in the cities table having the same name, projects using this database may end up matching this city to the incorrect state.

I'm not sure if this deleting this city from the database is the best approach for this, as I'm aware cities in the table have incremental IDs manually assigned to them. Another possible solution would be changing the name to "Campinas (São José)". It still would not match a valid city, but it would keep the ID structure untouched.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. invalid This doesn't seem right labels Jul 4, 2024
@skpeter
Copy link
Contributor Author

skpeter commented Jul 6, 2024

@dr5hn mind checking in on whether this is the right way to go? thanks

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 7, 2024
@dr5hn dr5hn merged commit 0104e16 into dr5hn:master Jul 7, 2024
@dr5hn
Copy link
Owner

dr5hn commented Jul 7, 2024

@skpeter Thanks for the PR! ID structure doesn't bother.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants