2

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

  • For Spain you can use the WFS Services of the IGN – Jose Hermosilla Rodrigo Apr 30 '16 at 12:36
  • I gave Span as example, but in reality is not Span my country ;) Thanks however – Serge Apr 30 '16 at 13:03
  • Dont you just love it when several people answer a question but dont upvote it...(+1) – user35594 Apr 30 '16 at 19:27
4

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.

| improve this answer | |
  • I observed several errors when exporting some regions and them inporting them in umap of the openstreet maps. But the tool is extremly useful and practical, thanks a lot – Serge Apr 30 '16 at 13:51
  • What errors? And did you get the errors when downloading from OSM Boundaries, or importing in uMap? I am not familiar with uMap, and don't know if it can handle the type of very complex and large polygons that OSM boundaries may represent. You may need to simplify / generalize the boundaries first, before importing in uMap. – Marco_B Apr 30 '16 at 15:00
  • Url is outdated, page moved to wambachers-osm.website/boundaries – mmd Jul 16 '17 at 19:25
2

The easiest way to get OpenStreetMap extracts would probably be through Mapzen's Metro Extracts tool here

I would suggest exporting it in GeoJSON, then using a tool like ogr2gre (there's an online version here) to convert it to KML.

You may also be interested in looking at Overpass Turbo for exporting data from OpenStreetMap.

| improve this answer | |
2
  • Download administrative boundaries of the spain and portugal from in .shp format from http://www.gadm.org/

  • you can import the shapefiles into QGIS or another software

  • the filter with query builder to isolate the regions you are interested

  • in QGIS you can install openlayer plugin

  • from the vectors tab select- openstreetmap then select download data

  • points, lines and polygons of the selected region will be downloaded in OSM

  • Import OSM into QGIS and save as Shp or export as kml
| improve this answer | |
1

You could download data directly from Openstreetmap as .osm file, and convert it in QGIS as .kml, since QGIS supports export data as .kml.

Alternatively, you could download data from Geofabrik (also openstreeet map data, but country by country, as .gbd/mdb, and in ArcMap, export it as .kml.

Also, I would suggest you to use, if you have, shapefiles od Spain and Portugal, which contain data about regions, so you could clip your data to selected regions, because no matter which source you use, you will need to edit data to fit you regions.

| improve this answer | |
  • how can I download it from openstreetmap? I didn't find such an option – Serge Apr 30 '16 at 12:16
  • they have export button, but this does not work.... – Serge Apr 30 '16 at 14:58
  • There is an export button on the upper side. But, i this those regions are too big to export. On the left down side, you can see other options to download. Also, on this question here, you could find other good answers. Also, other part of my answer, still stands, no matter where you download your data – Dean7 May 2 '16 at 6:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.