[GIS] Download a region as KML/OSM from internet Maps

exportkmlmapsopenstreetmap

I need to create a custom Euro Region map from several regions of neighborhood countries.

Say Spanish "Galicia" and Portugal "Norte" regions. So, I need to combine 2 KML/OSM/… files. My question is how to get that 2 files. Can I use the openstreetmap project to EXPORT desired regions as KML, by eg?

If not openstreet map, maybe google earth/maps, bing or other tools are available to export a desired region as KML?

PS. I don't mind using any of mapping formats like GeoJSON or OSM, KML was just an example

Best Answer

The best way to get boundaries of countries, provinces and regions is to use the OSM Boundaries application:

https://osm.wno-edv-service.de/boundaries/

Extracting boundaries from generic tools like Overpass Turbo is not always easy, as the boundaries may contain errors and are likely complex multipolygons consisting of many parts.

The OSM Boundaries application seems to deal very well with most of these issues, and supplies you with completely resolved boundary polygons for many administrative levels in OSM.