GeoPackage Validator
Validate a GeoPackage file for SQLite integrity, spatial tables, and geometry compliance.
Upload a GeoPackage (.gpkg) file to inspect its internal SQLite database structure. The GDAL validator confirms the presence of mandatory GeoPackage system tables (gpkg_geometry_columns, gpkg_spatial_ref_sys, gpkg_contents), validates binary geometry records in spatial layers, and reports layer names, feature counts, geometry types, and coordinate reference systems for each table.
Drag file here to validate, or select file
Supported: .gpkg • Max 50MB
What We Validate
- Valid SQLite binary header and database integrity
- Presence of mandatory GeoPackage system tables (gpkg_contents, gpkg_geometry_columns, gpkg_spatial_ref_sys)
- Layer names, feature counts, and geometry types per spatial table
- Coordinate Reference System definitions in gpkg_spatial_ref_sys
- Binary geometry record headers (GPKG geometry blob format)
- Bounding box extents in gpkg_contents
Common Issues Detected
- File is not a valid SQLite database (wrong magic bytes)
- Missing mandatory GeoPackage system tables
- Spatial layers registered in gpkg_contents but containing zero features
- Geometry column referencing an undefined SRS entry
- Corrupted binary geometry blobs in spatial tables
Frequently Asked Questions
What is the difference between a GeoPackage and a regular SQLite database?
A GeoPackage is a SQLite database that follows the OGC GeoPackage standard. It must contain specific system tables (gpkg_contents, gpkg_geometry_columns, etc.) that describe spatial layers and their coordinate reference systems.
Can a GeoPackage contain multiple spatial layers?
Yes. GeoPackage supports multiple spatial layers as separate tables within the same SQLite file. The validator will report metadata for each registered layer.
What if the validator reports a missing CRS entry?
Each spatial layer must reference a valid SRS entry in the gpkg_spatial_ref_sys table. A missing or invalid SRS entry means spatial operations on that layer may produce incorrect results.