OS Manuals

/usr/bin/gdal_rasterize

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_rasterize --help (exit 0). permalink

Usage: gdal_rasterize [--help] [--help-general]
       [-b <band>]... [-i] [-at]
       [-oo <NAME>=<VALUE>]...
       {[-burn <value>]... | [-a <attribute_name>] | [-3d]} [-add]
       [-l <layername>]... [-where <expression>] [-sql <select_statement>|@<filename>]
       [-dialect <dialect>] [-of <format>] [-a_srs <srs_def>] [-to <NAME>=<VALUE>]...
       [-co <NAME>=<VALUE>]... [-a_nodata <value>] [-init <value>]...
       [-te <xmin> <ymin> <xmax> <ymax>] [-tr <xres> <yres>] [-tap] [-ts <width> <height>]
       [-ot {Byte/Int8/Int16/UInt16/UInt32/Int32/UInt64/Int64/Float32/Float64/
             CInt16/CInt32/CFloat32/CFloat64}] [-optim {AUTO|VECTOR|RASTER}] [-q]
       <src_datasource> <dst_filename>

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