Your company here ā€” click to reach over 10,000 unique daily visitors

gdalmdiminfo - Man Page

Reports structure and content of a multidimensional dataset


gdalmdiminfo [--help] [--help-general]
             [-oo <NAME>=<VALUE>]... [-arrayoption <NAME>=<VALUE>]...
             [-detailed] [-nopretty] [-array <array_name>] [-limit <number>]
             [-stats] [-if <format>]... <datasetname>


gdalmdiminfo program lists various information about a GDAL supported multidimensional raster dataset as JSON output. It follows the following JSON schema

The following command line parameters can appear in any order


Show this help message and exit


Gives a brief usage message for the generic GDAL commandline options and exit.


Most verbose output. Report attribute data types and array values.


Outputs on a single line without any indentation.

-array <array_name>

Name of the array used to restrict the output to the specified array.

-limit <number>

Number of values in each dimension that is used to limit the display of array values. By default, unlimited. Only taken into account if used with -detailed.

-oo <NAME>=<VALUE>

Dataset open option (format specific). This option may be used several times.

-arrayoption <NAME>=<VALUE>

Option passed to GDALGroup::GetMDArrayNames() to filter reported arrays. Such option is format specific. Consult driver documentation. This option may be used several times.


Read and display image statistics. Force computation if no statistics are stored in an image.

New in version 3.2.

-if <format>

Format/driver name to be attempted to open the input file(s). It is generally not necessary to specify it, but it can be used to skip automatic driver detection, when it fails to select the appropriate driver. This option can be repeated several times to specify several candidate drivers. Note that it does not force those drivers to open the dataset. In particular, some drivers have requirements on file extensions.

New in version 3.2.


This utility is also callable from C with GDALMultiDimInfo().



Even Rouault <even.rouault@spatialys.com>


Jun 23, 2024 GDAL