gavinr / world-countries-centroids

Center points of world countries - CSV and GeoJSON
https://gavinr.github.io/geojson-viewer/?url=https://cdn.jsdelivr.net/gh/gavinr/world-countries-centroids@v1/dist/countries.geojson
MIT License
31 stars 15 forks source link

Use COUNTRYAFF instead of COUNTRY #9

Open tfeig opened 1 year ago

tfeig commented 1 year ago

Thanks for creating this comprehensive CSV.

I'd have one suggestion for improvement: Having an extra entry for Canarias (additionaly to mainland Spain) seems wrong as there's no such thing for other countries with disconnected areas, and it's also not in line with this statement in the README:

Version 1.0 has been updated to use the centroid of the largest land mass. This way large countries with many disparate areas (like USA, New Zealand, Chile, Portugal) have more rational center points.

gavinr commented 1 year ago

Hm, yeah in our data source we're using the "COUNTRY" attribute. It seems like if we use "COUNTRYAFF" attribute it may be more correct