rio info

Print metadata about the dataset as JSON.

Optionally print a single metadata item as a string.

rio info [OPTIONS] INPUT

Options

--meta

Show data file structure (default).

--tags

Show data file tags.

--namespace <namespace>

Select a tag namespace.

--indent <indent>

Indentation level for pretty printed output

--count

Print the count of bands.

-t, --dtype

Print the dtype name.

--nodata

Print the nodata value.

-f, --format, --driver

Print the format driver.

--shape

Print the (height, width) shape.

--height

Print the height (number of rows).

--width

Print the width (number of columns).

--crs

Print the CRS as a PROJ.4 string.

--bounds

Print the boundary coordinates (left, bottom, right, top).

-r, --res

Print pixel width and height.

--lnglat

Print longitude and latitude at center.

--stats

Print statistics (min, max, mean) of a single band (use –bidx).

--checksum

Print integer checksum of a single band (use –bidx).

--subdatasets

Print subdataset identifiers.

-v, --tell-me-more, --verbose

Output extra information.

-b, --bidx <bidx>

Input file band index (default: 1).

--masked, --not-masked

Evaluate expressions using masked arrays (the default) or ordinary numpy arrays.

Arguments

INPUT

Required argument