.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GDAL-DATASET-CHECK" "1" "Jun 05, 2026" "" "GDAL" .SH NAME gdal-dataset-check \- Check whether there are errors when reading the content of a dataset .sp Added in version 3.13. .sp \fBgdal dataset check\fP check whether there are errors when reading the content of a dataset and return 1 as the program exit code (or in the \fBreturn\-code\fP output parameter of the algorithm) if that happens, or 0 when no errors are detected. .sp \fBWARNING:\fP .INDENT 0.0 .INDENT 3.5 Most drivers or data formats do not have a built\-in integrity mechanism. Thus a successful run of that program does not necessarily mean that the dataset is identical to the state it had just after being generated. The checks performed are generally sufficient to detect whether the dataset is truncated compared to its expected size, but this is not even necessarily guaranteed for some formats (for example the CSV driver may not be able to detect truncation). .UNINDENT .UNINDENT .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX Usage: gdal dataset check [OPTIONS] Check whether there are errors when reading the content of a dataset. Positional arguments: \-i, \-\-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 = Configuration option [may be repeated] \-q, \-\-quiet Quiet mode (no progress bar or warning message) [not available in pipelines] Advanced Options: \-\-oo, \-\-open\-option = Open options [may be repeated] \-\-if, \-\-input\-format Input formats [may be repeated] .EE .UNINDENT .UNINDENT .SH OPTIONS .INDENT 0.0 .TP .B \-\-input Input vector, raster or multidimensional dataset. Required. .UNINDENT .SH RETURN STATUS CODE .sp 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). .SH EXAMPLES .SS Example 1: Check whether there are errors when reading a dataset .INDENT 0.0 .INDENT 3.5 .sp .EX $ gdal dataset check NE1_50M_SR_W.tif .EE .UNINDENT .UNINDENT .SH AUTHOR Even Rouault .SH COPYRIGHT 1998-2026 .\" Generated by docutils manpage writer. .