Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 2.9 KB

README.md

File metadata and controls

50 lines (38 loc) · 2.9 KB

geo-locations

Repository to host geo locations files for other targeted countries

@all participant from codevscovid19.org you can make pull request to create files that containe geo locations.

Content overview

  1. Header description
  2. FAQ
  3. Links to sources
  4. Sources used for each country + parsing language

Header:

  • country_code: ISO 3166 Alpha-3 country code (see country-codes_csv.csv or country-codes_json.json)
  • postal_code: country specific postal_code
  • latitude: latitude in WSG84
  • latitude: longitude in WSG84
  • region_id: string in descending order state, region, community, neighborhood/village, where the different levels are merged by '::' with the last level containing multiple options with the same postal_code separated by '||'

example from Mexico

country_code postal_code latitude longitude region_id
mex 01460 19.376 -99.1954 Distrito Federal Ciudad de México::Álvaro Obregón::Alfonso XIII
mex 01470 19.374 -99.2011 Distrito Federal Ciudad de México::Álvaro Obregón::Molino de Rosas||Alfalfar

FAQ

In my country multiple cities can have the same postal code. What do I do?

Most of the time these cities are relatively small and are grouped together for convenience. Right now information at the postal code level is sufficient for the self-reporting process. Grouping should (if possible) occur to either the biggest or most important city in the region or to an appropriate name. Joining the cities by ";" is another possibility.

When we group together multiple cities, which location should we keep?

Location should be kept to the city selected for the location or can be set to the geometric mean of the locations involved.

Datasources

Source by country

Country Source language used for parsing
Switzerland Official postal_codes in WGS84 Python / Jupyter
Mexico Geonames.org MX Python / Jupyter
India Geonames.org IN Python / Jupyter