You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to also get regions, which would sit at a level higher than countries.
Each country could belong to a single region, and there could be a lookup table or something.
There are many ways to slice up the world, but I'm thinking these 12 (+ Antarctica) would give us a bunch of flexibility:
North America
Central America
South America
Western Europe
Eastern Europe
Middle East
North Africa
Sub-Saharan Africa
Central and South Asia
Southeast Asia
East Asia
Oceania
Antarctica
The text was updated successfully, but these errors were encountered:
@bhousel I discovered the UN M49 list which seems like a workable standard to support. It's a superset of ISO 3166-1 numeric-3 codes with a bunch of regions, including most of those you listed.
@bhousel I discovered the UN M49 list which seems like a workable standard to support. It's a superset of ISO 3166-1 numeric-3 codes with a bunch of regions, including most of those you listed.
The returned array will include the region features, then you can check the m49 property of each one to see if a particular point is in your region of interest.
This is sorta clunky so we should add endpoints for "give me all the features in the region with this code" and "is this point in the region with this code".
I'd like to be able to also get regions, which would sit at a level higher than countries.
Each country could belong to a single region, and there could be a lookup table or something.
There are many ways to slice up the world, but I'm thinking these 12 (+ Antarctica) would give us a bunch of flexibility:
The text was updated successfully, but these errors were encountered: