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
What this map contains by default
This is how the map is built as-is — every setting can be changed in the constructor.
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)
| Category | GIS |
| File extension | .gpkg |
| Tier | Open Beta |
How to use GeoPackage for Spain
- QGIS (free) — drag the .gpkg into the program window; a list of layers appears, tick the ones you need.
- ArcGIS Pro — Add Data, choose the .gpkg: the feature classes connect as if from a geodatabase.
- 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
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)
Калмыкия
★★★★★
Дагестан
★★★★★
Винзили
★★★★★