Download OpenStreetMap Data for Spain

Select an area within Spain and choose a data type to download from OpenStreetMap via the Overpass API. Data is returned as GeoJSON.

1. Select Area

2. Choose Data Type

Data from OpenStreetMap contributors, licensed under ODbL.

Powered by the Overpass API. Please use responsibly and avoid excessive queries.

Download Spain Map Data from OpenStreetMap

Use this free tool to download geospatial data for Spain directly from OpenStreetMap. The map is pre-centered on Spain — draw a bounding box to select an area, choose a data type, and export the results as GeoJSON. No sign-up or software installation required.

Available Spain Data Types

Spain Roads & Highways

Download motorways, highways, residential streets, paths, and cycleways across Spain.

Spain Building Footprints

Extract building outlines including residential, commercial, and industrial structures in Spain.

Spain Waterways

Rivers, streams, canals, and drainage ditches throughout Spain.

Spain Railways

Rail lines, stations, and light rail networks in Spain.

Spain Land Use

Parks, forests, residential zones, commercial areas, and farmland in Spain.

Spain Amenities

Schools, hospitals, restaurants, shops, and public services across Spain.

Spain Natural Features

Water bodies, forests, coastlines, peaks, and wetlands in Spain.

Spain Power Infrastructure

Power lines, substations, and generators throughout Spain.

How to Download Spain OSM Data

  1. Select an area — Use Shift + drag on the map to draw a bounding box within Spain.
  2. Choose a data type — Pick from roads, buildings, waterways, railways, land use, amenities, natural features, or power infrastructure.
  3. Download — Click the download button to fetch data from the Overpass API. Preview the results on the map, then save as GeoJSON.

Output Format

Data is exported as GeoJSON, a widely supported open standard for geospatial data. GeoJSON files can be opened in QGIS, ArcGIS, Mapbox, Leaflet, Google Earth, and many other GIS tools. You can also use QuickMapTools to convert GeoJSON to Shapefile, convert GeoJSON to KML, or visualize GeoJSON on a map.