Converts each given mesh into a grid. Each pixel value of the grid represents
the maximum height of the mesh within the position of the corresponding pixel.
The spatial extent of the grid corresponds to the bounding box of the mesh.
With nodata
a number can optionally be specified, which is set where no mesh
is present.