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
NUTS => geonames.org data #1977
Comments
@andrixnet @harrieklomp @deg-pl DB countries table has the list of "default" countries - list of countries which are on the list by default - before click on "all countries" which load the rest of that. Now default countries list is in config /config/site.*.php under: I add same list for all the nodes now - but I believe you should modified it according to your needs. |
Thank you. I shall review it for RO and set up accordingly. |
Question about data from geonames: importing data from them for offline local use or online via webservice? |
Doing some tests at OCNA using -current code, even though NUTS table is not filled properly, I can see US states correctly. Should I presume this is through geonames.org? Second, at OCRO we need layer level 3 data.
Wide regions such as "Sud - Muntenia" make little sense to us. Romania is structured around "judeţ" which is equivalent to German "land" or US "state", though most often translated into english as "county". Assuming geonames.org as data source, how can we set the level at OCRO? |
Nope, I also discovered that geonames data quality is variant... Conclusion: |
@kojoty OK, let's forget about geonames. At this time there is no US data in But if I try to publish a test cache, I get the following results:
Where do those US states come from in the drop-down? |
@kojoty Where did you get nuts region shapes for the whole world? ec.europa.eu site contains only European countries and regions (checked csv, LB and RG files). When moving to NUTS 2018, the Polish translation "województwo" for level 2 region is no more valid, because we have 16 regions of "województwo" status in Poland and there are 17 level 2 regions in NUTS 2018, with "Warszawski stołeczny" and "Mazowiecki regionalny" regions instead of single region corresponding with existing (NUTS 2013) "Mazowieckie" region. The codes for another regions have changed as well, f.ex. "Łódzkie" moved from PL11 in NUTS 2013 to PL71 in NUTS 2018. What about existing And finally: geonames.org uses ISO 3166-2. While the service itself data quality may be insufficient, ISO 3166-2 is a step in the right way in my opinion, as it really is meant to cover the whole world. |
OCPL code now uses NUTS data to provide for example list of regions/states/provinces for given country, but NUTS contains data for Europe only - we should migrate to data imported from http://www.geonames.org/ - it seems that there are quite OK data for all the world.
I will prepare scripts for import only data used by OCPL and the solution based on that.
The text was updated successfully, but these errors were encountered: