VectorSource.dump_raster(filename, *, driver='GTiff', attr=None, pixel_size=1.0, **kwargs)[source]#

Output layer to GDAL Rasterfile

  • filename (str) – path to shape-filename

  • driver (str, optional) – GDAL Raster Driver, defaults to “GTiff”.

  • attr (str, optional) – attribute to burn into raster, defaults to None.

  • pixel_size (float, optional) – pixel Size in source units

Keyword Arguments:
  • remove (bool, optional) – if True removes existing output file. Defaults to True.

  • silent (bool, optional) – If True no ProgressBar is shown. Defaults to False.