OGC GeoPackage (`.gpkg`, standardized by the Open Geospatial Consortium under OGC 12-128) is an open, platform-independent, SQLite-based container format for storing vector features, raster map and imagery tile matrix sets, non-spatial attribute tables, and extensions inside a single self-describing file. Widely adopted across QGIS, GDAL/OGR, ArcGIS, GeoServer, and mobile GIS applications, GeoPackage eliminates multi-file Shapefile clutter and supports field mapping in low-connectivity or offline environments.
1. In-Depth Review: Why GIS Analysts & Developers Use GeoPackage
- Single Self-Describing File for Vectors, Tiles & Attributes: Combines multiple vector layers, multi-scale raster/imagery tile pyramids, and non-spatial tables inside one `.gpkg` file with built-in spatial reference and content metadata tables (`gpkg_contents`, `gpkg_spatial_ref_sys`).
- Broad Cross-Platform & Software Interoperability: Supported natively across QGIS, GDAL/OGR, ArcGIS, SpatiaLite, GeoServer, and mobile/web libraries without vendor lock-in.
- Reliable Offline & Mobile Field Data Exchange: Stores large datasets (up to ~140 TB theoretical SQLite limit, subject to filesystem limits) in a single portable file ideal for field surveys and intermittent network connections.
2. Key Features & Capabilities
- Vector Features & Spatial Indexing: Stores point, line, polygon, and related feature tables with R*Tree spatial index support.
- Raster & Imagery Tile Matrix Sets: Stores multi-scale map and imagery tiles (such as PNG/JPEG tiles) within tile matrix sets inside the same container.
- Non-Spatial Attribute Tables: Registers tabular/attribute data cleanly in `gpkg_contents` (introduced as a core capability starting in GeoPackage 1.2).
- Standard CRS Registry & Metadata: Documents coordinate reference systems in `gpkg_spatial_ref_sys` and layer metadata in `gpkg_contents`.
- Extensible Standard Architecture: Supports standardized and custom OGC extensions for specialized geometry, tiling, or application requirements.
- Open OGC International Standard: Maintained openly by the Open Geospatial Consortium with free specification access and test suites.

- Official Links: Free Trial, Free / Education & Pricing
Always consult official OGC and GDAL documentation for GeoPackage specifications, format details, and implementations:
- Official OGC GeoPackage Portal: https://www.geopackage.org/
- Official OGC GeoPackage Standard Page: https://www.ogc.org/standards/geopackage/
- Official OGC GeoPackage Encoding Standard Spec: https://www.geopackage.org/spec/
- Official GDAL GeoPackage Vector Driver Docs: https://gdal.org/en/stable/drivers/vector/gpkg.html
4. Step-by-Step Installation Guide
- Choose Your GIS or CLI Toolset: GeoPackage is a file format standard supported by desktop GIS apps (such as QGIS) and command-line/developer libraries (such as GDAL/OGR) rather than a standalone commercial installer.
- Install QGIS or GDAL/OGR: Install QGIS Desktop or GDAL (`ogr2ogr` / `gdal_translate`) on Windows, macOS, or Linux using your preferred installer or package manager.
- Verify `.gpkg` Read/Write Support: Open QGIS or run a quick `ogrinfo` / `gdalinfo` check on a sample `.gpkg` file to confirm vector and tile support.
- Check Filesystem & Storage Limits: Store `.gpkg` files on a filesystem suited to your dataset size (note that FAT32 imposes a 4 GB file limit on some mobile storage cards).
5. How to Use GeoPackage in QGIS / GDAL: Beginner Workflow
- Create a New GeoPackage Layer in QGIS: Open QGIS, go to `Layer > Create Layer > New GeoPackage Layer...`, set the `.gpkg` file path, table name, geometry type, and CRS, and click `OK`.
- Add Layers into an Existing GeoPackage: Right-click existing vector or raster layers in QGIS (`Export > Save Features As...` or `Export > Save As...`), choose `GeoPackage`, select the same `.gpkg` file, and give each layer a distinct layer name.
- Convert Shapefiles via GDAL CLI (Optional): Run `ogr2ogr -f GPKG output_parcels.gpkg input_parcels.shp` to convert Shapefiles into a GeoPackage with spatial indexing enabled by default in GDAL.
- Edit Attributes & Geometries Directly: Toggle editing on your GeoPackage layer in QGIS to add, reshape, or update features and attributes directly inside the `.gpkg` container.
- Share the Single `.gpkg` File: Copy or transfer the single `.gpkg` file (keeping sidecar `-wal` / `-shm` files closed first) to teammates, field tablets, or web/GIS servers.
6. Frequently Asked Questions (FAQ)
- Is GeoPackage free and open to use without licensing fees?Yes. GeoPackage is an open geospatial encoding standard published by the Open Geospatial Consortium (OGC).
- Can a single `.gpkg` file hold both vector layers and raster map tiles?Yes. The GeoPackage standard defines conventions for storing vector features, raster/imagery tile matrix sets, attributes, and extensions inside one SQLite `.gpkg` file.
- How does GeoPackage differ from MBTiles?While MBTiles influenced GeoPackage tile support, GeoPackage is an OGC standard that can store multiple tile sets, vector features, attributes, and metadata in a single file, whereas MBTiles is limited to a single tileset per file and uses different tile numbering conventions.