Creates a raster grid based on a triangular irregular network (TIN) fitted to vector points and linear interpolation within each triangular-shaped plane. The TIN creation algorithm is based on Delaunay triangulation.

The user must specify the attribute field containing point values (`field`). Alternatively, if the input Shapefile contains z-values, the interpolation may be based on these values (`use_z`). Either an output grid resolution (`cell_size`) must be specified or alternatively an existing base file (`base`) can be used to determine the output raster's (`output`) resolution and spatial extent. Natural neighbour interpolation generally produces a satisfactorily smooth surface within the region of data points but can produce spurious breaks in the surface outside of this region. Thus, it is recommended that the output surface be clipped to the convex hull of the input points (clip).

## See Also

lidar_tin_gridding, construct_vector_tin, natural_neighbour_interpolation

## Function Signature

`def tin_interpolation(self, points: Vector, field_name: str = "FID", use_z: bool = False, cell_size: float = 0.0, base_raster: Raster = None, max_triangle_edge_length: float = float('inf')) -> Raster: ...`

## Project Links

WbW Homepage User Manual Support WbW