-
Notifications
You must be signed in to change notification settings - Fork 28
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
In Spain there are two provinces left #27
Comments
technically, Asturies is not a province, it's a principality... though I now realise there is a province of the same name that's co-existent with the principality, so point taken |
Thank's Erik. What are the next steps? You will push some changes to province JSON or you prefer to create a branch where I could push the changes and wait to a pull request? We already modify the provinces.json until the update is done, because it cause some problems in our checkout integrations. These are the the changes applied:
|
I'll integrate your changes but I notice too that the Balearic islands is also missing. I think the problem is that the concept of the province in general is mal-apropriated in Spain where the "autonomous communities" are a super-ceding subdivision. so by rights we shouldn't have La Coruña as a province but Galicia |
also, where did you get "O" for Asturies? |
I'm noticing other problems... things missing, for example Betanzos, a province of Galicia is missing. you can see the provinces here: https://en.wikipedia.org/wiki/Galicia_(Spain) -- could you do a review of Spain and fill in what I've missed? I originally sourced these data from the Wikipedia tables project but I think it needs review |
oh, my bad, Betanzos is no longer valid, as of 1833. but we should also think about adding the local names to the data, such as "Ourense" for "Orense", or "Uvieu" for "Oviedo" |
I created this in support of these changes: #28 |
actually, I already had a ticket for it: #9 -- haha |
Hi Erik. I checked what you say about Balearic and other provinces. Here in Spain we have autonomous communities. provinces and another subdivision called "Diputación". I checked the official information about the provinces, their local names and the shorten name and I think the JSON bellow is correct.
I hope i could help you with that. |
actually, I've found that the denominations for the sub-divisions change from place to place. sometimes they are parroquias, sometimes ayuntamientos, comarcas, municipios, concexos (concellu), etc. it's not standardised, or maybe it's a matter of allowing the local nomenclature for the level. I'm actually building a meta-layer to describe these things so it kinda looks like this:
so you can see from the above that the autonomous community is Galicia, the province A Coruña, Comarca Arteixo and municipality Armentón... I need to think about allowing overrides at lower levels, for example, Asturies doesn't have provinces; it has comarcas and beneath has municipalities, beneath which are parishes, so I would need to do something like:
or some such structure. if you have thoughts I'm all ears p.s. the advantage is that we could then list cities under the lowest level of the tree and that would allow us fine-grain control to distribute postal codes, telephone codes, etc. |
Working with the npm module, we find 2 provinces left in Spain. This provinces are Navarra and Asturias, both of this provinces have the same name as the region, maybe this is the reason why are not in the province JSON.
The text was updated successfully, but these errors were encountered: