gdal_grid --version (return code: 0)
GDAL 2.2.1, released 2017/06/23
gdal_grid --help (return code: 1)
Usage: gdal_grid [--help-general] [--formats]
[-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
CInt16/CInt32/CFloat32/CFloat64}]
[-of format] [-co "NAME=VALUE"]
[-zfield field_name] [-z_increase increase_value] [-z_multiply multiply_value]
[-a_srs srs_def] [-spat xmin ymin xmax ymax]
[-clipsrc <xmin ymin xmax ymax>|WKT|datasource|spat_extent]
[-clipsrcsql sql_statement] [-clipsrclayer layer]
[-clipsrcwhere expression]
[-l layername]* [-where expression] [-sql select_statement]
[-txe xmin xmax] [-tye ymin ymax] [-outsize xsize ysize]
[-a algorithm[:parameter1=value1]*] [-q]
<src_datasource> <dst_filename>
Available algorithms and parameters with their defaults:
Inverse distance to a power (default)
invdist:power=2.0:smoothing=0.0:radius1=0.0:radius2=0.0:angle=0.0:max_points=0:min_points=0:nodata=0.0
Inverse distance to a power with nearest neighbor search
invdistnn:power=2.0:radius=1.0:max_points=12:min_points=0:nodata=0
Moving average
average:radius1=0.0:radius2=0.0:angle=0.0:min_points=0:nodata=0.0
Nearest neighbor
nearest:radius1=0.0:radius2=0.0:angle=0.0:nodata=0.0
Various data metrics
<metric name>:radius1=0.0:radius2=0.0:angle=0.0:min_points=0:nodata=0.0
possible metrics are:
minimum
maximum
range
count
average_distance
average_distance_pts
Linear
linear:radius=-1.0:nodata=0.0