GeoPackage converters
GeoPackage is an open OGC standard from 2014 built on SQLite. It is the default format in QGIS and can hold many layers, any coordinate system and long field names in a single file.
Convert GeoPackage
- KML → GPKGConvert KML to GeoPackage (GPKG)
- GPKG → KMLConvert GeoPackage to KML
- GeoJSON → GPKGConvert GeoJSON to GeoPackage
- GPKG → GeoJSONConvert GeoPackage to GeoJSON
- SHP → GPKGConvert shapefile to GeoPackage
- GPKG → SHPConvert GeoPackage to Shapefile
- GeoPackage Viewer
What to know about GeoPackage
- One file can contain many vector layers and tables, and raster tiles.
- No 10-character limit on field names, unlike shapefiles.
- Stores the coordinate system of each layer inside the file, so there is no separate .prj.
- Has no 2 GB size limit per layer, unlike the .shp and .dbf files of a shapefile.
File extensions: .gpkg
Where you meet GeoPackage files
GeoPackage has been the default vector format in QGIS since version 3.0, and many national mapping agencies offer their downloads as GeoPackage. ArcGIS Pro reads and writes it. Older ArcMap versions have only limited support, which is the most common reason people still ask for a shapefile instead.
GeoPackage compared with other formats
- GPKG or Shapefile
- A shapefile is understood by more, and older, software. A GeoPackage is one file with many layers, long field names, date and time values, no 2 GB limit and the coordinate system inside.
- GPKG or GeoJSON
- GeoJSON is plain text for the web and always WGS84. A GeoPackage is a SQLite database with a spatial index, so it stays fast with millions of features and keeps any coordinate system.
Common problems with GeoPackage files
The recipient cannot open a .gpkg
Users of ArcMap or older CAD and GIS software often cannot read GeoPackage. Convert each layer to a shapefile; long field names are then cut to 10 characters, so check them. Tool: Convert GeoPackage to Shapefile.
Extra .gpkg-wal and .gpkg-shm files next to it
GeoPackage is SQLite, and while QGIS has the file open SQLite keeps recent changes in the -wal file (the -shm file is its index). Close the project before copying or sending the GeoPackage, or the copy may miss the latest edits.
The file does not shrink after deleting data
SQLite reuses the space but does not give it back. Running VACUUM, for example from QGIS's DB Manager, rewrites the file at its real size.
A layer mixes geometry types
A GeoPackage layer can have the generic type Geometry and contain points, lines and polygons together. Formats such as the shapefile need one type per file, so such a layer is split when converting. Tool: Convert GeoPackage to Shapefile.
Questions about GeoPackage
Can ArcGIS open a GeoPackage?
ArcGIS Pro can add GeoPackage layers to a map and write to them. ArcMap 10.x reads GeoPackage with limitations, depending on the version.
Is GeoPackage better than a shapefile?
Technically yes: no field-name or size limits, many layers in one file and proper dates. A shapefile is still the safer choice when you do not know which software the recipient uses.
Can a GeoPackage hold raster data?
Yes, as tiles, for example orthophotos or map tiles. FileReshape's converters handle only the vector layers and say which tables they skip.