I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may I get a list of
ids of all existing city and country relations in OSM? Is there same standard like numbers from 50.000 - 100.000 are countries and numbers from 300.000 - 500.000 are cities?
The best is to have something like a table:
OSM relation id | area name | type 175905 | New York | city 1403916 | France | country