OS Manuals

/usr/bin/gdal_translate

gdal-3.8 tools for Python 3.10

From gdal-3.8-tools-py3.10 3.8.5-r21 (enterprise-packages), captured 2026-11-08 by running gdal_translate --help (exit 0). permalink

Usage: gdal_translate [--help] [--help-general] [--long-usage]
       [-ot {Byte/Int8/Int16/UInt16/UInt32/Int32/UInt64/Int64/Float32/Float64/
             CInt16/CInt32/CFloat32/CFloat64}] [-strict]
       [-if <format>]... [-of <format>]
       [-b <band>] [-mask <band>] [-expand {gray|rgb|rgba}]
       [-outsize <xsize>[%]|0 <ysize>[%]|0] [-tr <xres> <yres>]
       [-ovr <level>|AUTO|AUTO-<n>|NONE]
       [-r {nearest,bilinear,cubic,cubicspline,lanczos,average,mode}]
       [-unscale] [-scale[_bn] [<src_min> <src_max> [<dst_min> <dst_max>]]]... [-exponent[_bn] <exp_val>]...
       [-srcwin <xoff> <yoff> <xsize> <ysize>] [-epo] [-eco]
       [-projwin <ulx> <uly> <lrx> <lry>] [-projwin_srs <srs_def>]
       [-a_srs <srs_def>] [-a_coord_epoch <epoch>]
       [-a_ullr <ulx> <uly> <lrx> <lry>] [-a_nodata <value>]
       [-a_gt <gt0> <gt1> <gt2> <gt3> <gt4> <gt5>]
       [-a_scale <value>] [-a_offset <value>]
       [-nogcp] [-gcp <pixel> <line> <easting> <northing> [<elevation>]]...
       |-colorinterp{_bn} {red|green|blue|alpha|gray|undefined}]
       |-colorinterp {red|green|blue|alpha|gray|undefined},...]
       [-mo <META-TAG>=<VALUE>]... [-q] [-sds]
       [-co <NAME>=<VALUE>]... [-stats] [-norat] [-noxmp]
       [-oo <NAME>=<VALUE>]...
       <src_dataset> <dst_dataset>

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.