Forrest logo
back to the gdalinfo tool

gdalinfo:tldr:0e76d

gdalinfo: List information about a specific raster dataset.
$ gdalinfo ${path-to-input-tif}
try on your machine

The command "gdalinfo" is used to extract information about a raster file in GDAL (Geospatial Data Abstraction Library) supported formats. It provides details about the dataset, such as the size, resolution, coordinate reference system (CRS), bands' information, and metadata.

In the given command, "${path-to-input-tif}" represents the path of the input TIF (Tagged Image File Format) file. You would replace "${path-to-input-tif}" with the actual file path of the TIF file you want to get information about.

When you run the command, GDAL will read the specified TIF file and display detailed information about it. It can include the pixel size, number of bands, data type of each band, any georeferencing information (if available), and other metadata associated with the file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gdalinfo tool