-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Italian fix #504
Italian fix #504
Conversation
…y are duplicated, I have put them again because they maybe have a special purpose)
Hi, @ionecum Thanks for your hard work on this. The files which you've edited, are being auto-generated by themselves. You just need to make edits in the Can you please do that for me? |
@ionecum Can you please follow https://github.com/dr5hn/countries-states-cities-database/blob/master/.github/CONTRIBUTING.md and make the updates in |
Yes, it doesn't matter if you approve the pull request or you work on this separately. The important thing is fixing the issue. Sure, I would like to be a contributor of this project. |
Hello, |
@ionecum |
I only changed the generated for testing purposes, while in vendor/base.php I only temprarly changed it to make it work on my local machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just pushed this file again.
Hello, |
Hello, as I told you in a message, Modena, Messina, Matera, etc are not provinces in the sense of primary divisions. In Italy a province is just a capital city. By keeping your current data as it was, you are doing a mistake. Ask to any Italian, ONLY REGIONS are primary divisions. |
Hello,
you have not answered my issue but it seems you have a similar problem
with several countries.
1. United Kingdom has no cities in your database, London is a city,
the boroughs of London are neighborhoods, not states.
2. Even with France, Paris is not a province, it's a city. Then you
have another Paris in Ile de France province, this latter being the
one in the right place.
But the big problem is that I have duplicate data
Paris and no cities
Ile de France and Paris
I think I should consider searching for another database, yours is not
reliable enough.
Sincerely
DR
…On 10/26/22, Darshan Gada ***@***.***> wrote:
@ionecum Thanks for the reminder. Sorry, I am running a bit busy and on
holiday here. I didn't get a chance to look at it.
Ok, I have created another PR with clean world.sql so that I can understand
changes. But I am able to do the review next weekend only.
#531
--
Reply to this email directly or view it on GitHub:
#504 (comment)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
@ionecum I've re-reviewed your updates and found them correct, I will update them soon. I am a bit tied up with personal chores, so I am not getting enough time to fix these issues. Thanks for letting me know about the other issues.
Btw apart from UK and France, do you see similar anomalies with any other countries? Also, if you can find a reliable source, please let me know. So that I can make this DB reliable enough for everyone. Thanks so much for all of your efforts so far. |
Primary divisions in Italy are "regions", not "provinces". A province in Italy is just a city and it is the capital of the region, just like Sacramento is the capital of California. Therefore if you define a city like "Milan" like a province, it will be then duplicate as a city of Lombardy. And you end up with lot of duplicated data. I fixed them. Below the changelog of this commit. I would like to be a contrubutor of this project. And I would agree if you accept this commit.
And check the project. You might have made the same mistake with other countries not only Italy. For example, Brazil is a very problematic one.
Here the changelog:
Rome is not a province. Is a city. Removed id 1711 (Duplicate)
Milan is not a province. Is a city. Removed id 1698 (Duplicate)
Modena is not a province. Is a city. Removed id 1757 (Duplicate)
Messina is not a province. Is a city. Removed id 1770 (Duplicate)
Matera is not a province. Is a city. Removed id 1760 (Duplicate)
Bari is not a province. Is a city. Removed id 1772 (Duplicate)
Ascoli Piceno is not a province. Is a city. Removed id 1681 (Duplicate)
Same thing with Asti. Removed id 1780 (Duplicate)
Agrigento id 1727
Alessandria id 1783
Ancona 1672
Barletta-Adria-Trani 1686
Latina 1674
Lecce 1675
Lecco 1677
Livorno 1745
Lodi 1747
Lucca 1749
Macerata 1750
Medio Campidiano 1761
Massa and Carrara 1759
Monza and Brianza 1769
Cagliari 1682
Belluno 1689
Benevento 1701
Bergamo 1704
Biella 1778
Brindisi 1714
Bologna 1684
Brescia 1717
Caltanissetta 1718
Campobasso 1721
Caserta 1731
Catania 1766
Catanzaro 1728
Chieti 1739
Como 1740
Cosenza 1742
Cremona 1751
Crotone 1754
Cuneo 1775
Enna 1723
Fermo 1744
Ferrara 1746
Foggia 1771
Florence 1680
Forlì-Cesena 1779
Frosinone 1776
Genoa 1699
Gorizia 1777
Grosseto 1787
Imperia 1788
Isernia 1789
L'Aquila 1781
La Spezia 1791
Mantua 1758
Naples 1724
Novara 1774
Nuoro 1790
Oristano 1786
Padua 1665
Palermo 1668
Parma 1666
Pavia 1676
Perugia 1691
Pesaro And Urbino 1693
Pescara 1694
Piacenza 1696
Pisa 1685
Pistoia 1687
Pordenone 1690
Potenza 1697
Prato 1700
Ragusa 1729
Reggio Calabria 1671
Reggio Emilia 1708
Rieti 1712
Rimini 1713
Rovigo 1719
Salerno 1720
Sassari 1722
Savona 1732
Siena 1734
Siracusa 1667
Sondrio 1741
South Sardinia (This is not a province) 1730
South Tyrol 1767 (This is not a province)
Taranto 1743
Teramo 1752
Terni 1755
Trapani 1733
Trentino 1748 (Same thing as Trentino-South Tyrol)
Treviso 1762
Trieste 1763
Turin 1710
Udine 1764
Varese 1765
Venice 1673
Verbano-Cussio-Ossola 1726
Vercelli 1785
Verona 1736
Vibo Valentia 1737
Vicenza 1738
Viterbo 1735
I also made several new commits removing another 3 "wrong provinces".
Avellino 1692
Sondrio 1741
Terni 1755