gdal-dataset-check(1)

gdal-dataset-check1

Check whether there are errors when reading the content of a dataset added in version 3.13. gdal dataset check check whether there are errors when reading the content of a dataset and return 1 as the program exit code (or in the return-code output parameter of the algorithm) if that happens, or 0 when no errors are detected. warning:

Usage

Usage: gdal dataset check [OPTIONS] <INPUT>
Check whether there are errors when reading the content of a dataset.
Positional arguments:
  -i, --input <INPUT>                  Input raster, vector or multidimensional raster 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]
Advanced Options:
  --oo, --open-option <KEY>=<VALUE>    Open options [may be repeated]
  --if, --input-format <INPUT-FORMAT>  Input formats [may be repeated]

Options

--input <FILENAME>

Input vector, raster or multidimensional dataset. Required.

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 whether there are errors when reading a dataset

$ gdal dataset check NE1_50M_SR_W.tif

Author

Even Rouault <[email protected]>

From gdal 3.13.3-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.