You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Tiles & pyramids

GPKG raster — GeoPackage (raster tiles)

Raster tile pyramids stored in an OGC GeoPackage SQLite file for basemaps, imagery and offline mapping.

Type
Raster · Tiles & pyramids
Extension
.gpkg
Converter
Read & write
Coordinate system
Any (georeferenced)
Bands
Typically RGB or RGBA tiles; multiple tile sets possible.

What is a GPKG raster file?

GeoPackage is an open standard of the Open Geospatial Consortium (OGC) that stores geospatial data in a single SQLite database file with the .gpkg extension. Its raster side holds tile pyramids: images cut into fixed-size tiles at a series of zoom levels. These are used for basemaps, orthophotos and offline mapping on desktop and mobile devices.

Each tile set is a table whose rows contain a zoom level, tile column, tile row and the encoded image as a binary blob. Separate metadata tables define the tile matrix set, including its spatial reference system, extent and the dimensions of each zoom level. As a result, any coordinate system registered in the file can be used, with Web Mercator being common. The core specification allows PNG and JPEG tiles, typically 8-bit RGB or RGBA. WebP and gridded elevation data are covered by extensions. One file can hold several tile sets alongside vector layers.

GPKG raster files are usually exchanged by GIS teams, survey and mapping contractors, and mobile app developers who need a basemap or orthophoto in one portable file. Because tiles are pre-rendered at fixed zoom levels, the file is only useful within the tile matrix it defines. Check the spatial reference system, the zoom range and whether tiles are PNG or JPEG before use, since JPEG loses quality and has no transparency.

Typical uses

  • Offline basemaps for field data collection on tablets and phones.
  • Delivering orthophotos or scanned maps as a single portable file.
  • Storing a tile cache that GeoServer or desktop GIS can read directly.
  • Packaging imagery together with vector layers in one GeoPackage.
Files: Tiles stored in SQLite tables (OGC GeoPackage). A single file can hold multiple tile sets and metadata.

Sample GPKG raster files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena from Sentinel-2 (true colour) st-helena-sentinel2-rgb-tiles.gpkg

Sentinel-2 true colour (GeoPackage tiles)

Sentinel-2 L2A true-colour image of Saint Helena from 20 April 2024 (S2A_29LRC_20240420_0_L2A), 8-bit RGB with a contrast stretch, 10 m pixels (1812×1524), UTM zone 30S. GeoPackage tile pyramid (JPEG tiles, Web Mercator).

  • 4 bands · Byte
  • 1812 × 1524 px
  • 10 m
  • EPSG:3857
  • 2.1 MB

Contains modified Copernicus Sentinel data 2024

Preview of the sample data: Saint Helena shaded relief st-helena-relief-tiles.gpkg

Shaded relief (GeoPackage tiles)

Colour shaded relief of Saint Helena (hypsometric tint × multidirectional hillshade) from Copernicus DEM, 20 m, 8-bit RGB, UTM zone 30S. GeoPackage tile pyramid (PNG tiles, Web Mercator).

  • 4 bands · Byte
  • 906 × 762 px
  • 20 m
  • EPSG:3857
  • 980 kB

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA · © OpenStreetMap contributors, ODbL 1.0

Frequently asked questions

Yes. A GeoPackage is a SQLite database, so tile tables and vector feature tables can sit in the same .gpkg file. Some software shows only one type, so a file may look empty if you open it as the wrong kind.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.