gdal.grid

Interpolate scattered point data onto a regular raster grid.

  • Kind: standard
  • Network: no
  • Wraps: gdal_grid

Inputs🔗

NameTypeDescription
pointsfile (CSV)CSV with columns x, y, z.
algorithmstringInterpolation algorithm spec, e.g. "invdist:power=2.0:radius1=0:radius2=0". Common: invdist, average, nearest, linear. Default "invdist:power=2.0".
widthnumberOutput width in pixels (default 64).
heightnumberOutput height in pixels (default 64).
z_fieldstringColumn/attribute name carrying the value to grid (default "z").
x_fieldstringColumn name for the X coordinate (default "x").
y_fieldstringColumn name for the Y coordinate (default "y").

Outputs🔗

NameTypeDescription
rasterfile (GeoTIFF)Gridded raster.