Download Spain map in GeoPackage format

A map built from OpenStreetMap data, ready to download

Customize the map

Open this place's area in the constructor and adjust everything to your needs

Open in constructor →

Map passport

Area627 507 km²

What this map contains by default

This is how the map is built as-is — every setting can be changed in the constructor.

FormatGeoPackage .gpkg
Stylestandard change
Detailoverview (auto) change
House numbersnot visible at this scale change
Points of interestnot visible at this scale change
Coordinate systemWGS 84 (auto) change
Sheet sizeauto change
Relief & gridoff change

About GeoPackage

Map of Spain in GeoPackage — an export of real OpenStreetMap data for the selected area.

GeoPackage is a modern OGC format for storing geodata in a single SQLite-based file. A replacement for the legacy Shapefile, supporting vector and raster layers in one container.

Which layers are in the file

The set of layers depends on the selected area.

File size

The expected size of the GeoPackage file for Spain is about 27.1 MB; the exact size depends on the chosen layers and area.

Coordinate systems

WGS 84 (EPSG:4326), selectable in the wizard

Units

Meters (projected in the chosen coordinate system)

CategoryGIS
File extension.gpkg
TierOpen Beta

How to use GeoPackage for Spain

  1. QGIS (free) — drag the .gpkg into the program window; a list of layers appears, tick the ones you need.
  2. ArcGIS Pro — Add Data, choose the .gpkg: the feature classes connect as if from a geodatabase.
  3. ogr2ogr — ogrinfo -so map.gpkg shows the list of layers, and ogr2ogr -f PostgreSQL PG:"..." map.gpkg loads them all into PostGIS in one command.

Programs that open GeoPackage

QGISArcGISGeoServerMapServerSpatiaLite GUIGDAL/OGR

FAQ: GeoPackage for Spain

Why is GeoPackage better than Shapefile?

GeoPackage stores all layers in one file, supports long field names, UTF-8, and has no size limit.

Can I open GeoPackage in QGIS?

Yes, QGIS is the best free editor for GeoPackage. Just drag the file into the window.

How do I find out which layers are inside the file?

In QGIS they are shown as a list when you add the file. On the command line — ogrinfo -so map.gpkg; in Python — fiona.listlayers("map.gpkg").

Which coordinate system do the layers arrive in?

WGS84 (EPSG:4326). You can reproject right inside QGIS when saving a layer, or with the ogr2ogr command and the -t_srs switch.

Can I edit the file and add my own layers?

Yes. A GeoPackage is a full-fledged SQLite database: QGIS writes edits and new layers into it, and any SQLite client runs SQL queries against the tables.

Other formats for Spain

All 128 formats for Spain →

Maps other customers made in this format (GeoPackage)

Калмыкия

187 633 km² · 35 layers

Дагестан

66 411 km² · 11 layers

Винзили

28 918 km² · 10 layers

All formats for Spain