Is it possible to download the polygons of countries from OpenStreetMap using Nominatim web API? If so, how should I query its points?
In the example responses from Nominatim on OpenStreetMap wiki there is a
polygonpoints property (attribute) on
place object (tag), but it's not always present in search results when querying for countries. Also, what happens when the country "consists" of more than one polygon - several islands, for instance, can I query all of them?
If it's impossible to do with Nominatim, is there any other freely available API with such functionality?