1gdalinfo(1) General Commands Manual gdalinfo(1)
2
3
4
6 gdalinfoLists information about a raster dataset.
7
9 gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
10 [-norat] [-noct] [-nofl] [-checksum] [-proj4]
11 [-listmdd] [-mdd domain|`all`]*
12 [-sd subdataset] [-oo NAME=VALUE]* datasetname
13
15 The gdalinfo program lists various information about a GDAL supported
16 raster dataset.
17
18 -json
19 Display the output in json format.
20
21 -mm
22 Force computation of the actual min/max values for each band in the
23 dataset.
24
25 -stats
26 Read and display image statistics. Force computation if no
27 statistics are stored in an image.
28
29 -approx_stats
30 Read and display image statistics. Force computation if no
31 statistics are stored in an image. However, they may be computed
32 based on overviews or a subset of all tiles. Useful if you are in a
33 hurry and don't want precise stats.
34
35 -hist
36 Report histogram information for all bands.
37
38 -nogcp
39 Suppress ground control points list printing. It may be useful for
40 datasets with huge amount of GCPs, such as L1B AVHRR or HDF4 MODIS
41 which contain thousands of them.
42
43 -nomd
44 Suppress metadata printing. Some datasets may contain a lot of
45 metadata strings.
46
47 -norat
48 Suppress printing of raster attribute table.
49
50 -noct
51 Suppress printing of color table.
52
53 -checksum
54 Force computation of the checksum for each band in the dataset.
55
56 -listmdd
57 (GDAL >= 1.11) List all metadata domains available for the dataset.
58
59 -mdd domain
60 Report metadata for the specified domain. Starting with GDAL 1.11,
61 'all' can be used to report metadata in all domains
62
63 -nofl
64 (GDAL >= 1.9.0) Only display the first file of the file list.
65
66 -sd subdataset
67 (GDAL >= 1.9.0) If the input dataset contains several subdatasets
68 read and display a subdataset with specified number (starting from
69 1). This is an alternative of giving the full subdataset name.
70
71 -proj4
72 (GDAL >= 1.9.0) Report a PROJ.4 string corresponding to the file's
73 coordinate system.
74
75 -oo NAME=VALUE:
76 (starting with GDAL 2.0) Dataset open option (format specific)
77
78 The gdalinfo will report all of the following (if known):
79
80 · The format driver used to access the file.
81 · Raster size (in pixels and lines).
82 · The coordinate system for the file (in OGC WKT).
83 · The geotransform associated with the file (rotational coefficients
84 are currently not reported).
85 · Corner coordinates in georeferenced, and if possible lat/long based
86 on the full geotransform (but not GCPs).
87 · Ground control points.
88 · File wide (including subdatasets) metadata.
89 · Band data types.
90 · Band color interpretations.
91 · Band block size.
92 · Band descriptions.
93 · Band min/max values (internally known and possibly computed).
94 · Band checksum (if computation asked).
95 · Band NODATA value.
96 · Band overview resolutions available.
97 · Band unit type (i.e.. 'meters' or 'feet' for elevation bands).
98 · Band pseudo-color tables.
100 Starting with GDAL 2.1, this utility is also callable from C with
101 GDALInfo().
103 gdalinfo ~/openev/utm.tif
104 Driver: GTiff/GeoTIFF
105 Size is 512, 512
106 Coordinate System is:
107 PROJCS["NAD27 / UTM zone 11N",
108 GEOGCS["NAD27",
109 DATUM["North_American_Datum_1927",
110 SPHEROID["Clarke 1866",6378206.4,294.978698213901]],
111 PRIMEM["Greenwich",0],
112 UNIT["degree",0.0174532925199433]],
113 PROJECTION["Transverse_Mercator"],
114 PARAMETER["latitude_of_origin",0],
115 PARAMETER["central_meridian",-117],
116 PARAMETER["scale_factor",0.9996],
117 PARAMETER["false_easting",500000],
118 PARAMETER["false_northing",0],
119 UNIT["metre",1]]
120 Origin = (440720.000000,3751320.000000)
121 Pixel Size = (60.000000,-60.000000)
122 Corner Coordinates:
123 Upper Left ( 440720.000, 3751320.000) (117d38'28.21"W, 33d54'8.47"N)
124 Lower Left ( 440720.000, 3720600.000) (117d38'20.79"W, 33d37'31.04"N)
125 Upper Right ( 471440.000, 3751320.000) (117d18'32.07"W, 33d54'13.08"N)
126 Lower Right ( 471440.000, 3720600.000) (117d18'28.50"W, 33d37'35.61"N)
127 Center ( 456080.000, 3735960.000) (117d28'27.39"W, 33d45'52.46"N)
128 Band 1 Block=512x16 Type=Byte, ColorInterp=Gray
130 Frank Warmerdam warmerdam@pobox.com, Silke Reimer silke@intevation.de
131
132
133
134GDAL Thu Jul 25 2019 gdalinfo(1)