gdal driver gpkg validate
Added in version 3.13.
Validate conformance of a GeoPackage dataset against the GeoPackage specification
Synopsis
Usage: gdal driver gpkg validate [OPTIONS] <DATASET>
Validate conformance of a GeoPackage dataset against the GeoPackage specification
Positional arguments:
--dataset <DATASET> GeoPackage dataset [required]
Common Options:
-h, --help Display help message and exit
--json-usage Display usage as JSON document and exit
--config <KEY>=<VALUE> Configuration option [may be repeated]
-q, --quiet Quiet mode (no progress bar or warning message) [not available in pipelines]
Options:
--full-check Whether to perform full check
-v, --verbose Turn on verbose mode
Description
Validate if GeoPackage dataset conforms to the GeoPackage specification.
Note
This program requires the GDAL Python bindings to be available.
Program-Specific Options
- --full-check
Enable extensive checks, that may go beyond what is mandated by the GeoPackage specification
Standard Options
Return status code
The program returns status code 0 in case of success, and non-zero in case of error (non-blocking errors emitted as warnings are considered as a successful execution).
Examples
Example 1
Check if a GeoPackage file is conformant
gdal driver gpkg validate my.gpkg