Open lexman opened 8 years ago
i like the first option. i also appreciate your initiative here. after looking into this last year, i came to a wall.
Those countries are available "Admin 0 - Countries" available here:
http://www.naturalearthdata.com/downloads/10m-cultural-vectors/
If this is the canonical data package for geo/country data, I don't see how we can leave out some internationally recognised countries, so perhaps this zip is a better source from Natural Earth than the one currently being used.
Also for ref. https://github.com/openspending/cosmopolitan/issues/25
So @pwalsh you're heading towards solution 3 or 4. The zip you are speaking about is 200MB instead of 1MB. Should we simplify the geographic shapes to reduce size (but as the simplification is independant on each country, we'll have no guaranty that the counries won't overlap, oce simplified) or keep it big (estimaton 100MB) ?
@lexman I don't know, but this is an interesting case for DataPackage, as our use case in Cosmopolitan is to generate an API with decent resolution of polygons per country, I'm not that interested in:
a) the size of the source data package b) a source lossy to the point of removing countries
So, obviously, a compromise would need to be found, and the compromise is dependant on the expected use cases for the data package in question. My personal though would be that we want, at least, higher resolution than we currently have.
I've updated data with the more accurate source. Now there are 255 countries in the package. Good news, the geojson is only 25MB, wich seems reasonable to me.
@pwalsh tell me how it goes with the updated data. I'll be happy to know if it solves your issue...
@pwalsh how did it go ? Can I close this issue ?
coming here from this issue; countries missing being:
-Hawaii
-Republic of Moldova - is Moldova
-Tahiti
-Zanzibar
What about Kosovo ? The city is present however we can't find its ISO_A3 code it should be XKX Source : https://countrycode.org/
As stated previously in https://github.com/datasets/geo-boundaries-world-110m/issues/1, some countries are missing.
There are not present in the source data from NaturalEarth, likely because they are too small for the scale (1:110m). I see 4 options :
Any idea anyone ?