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

Output layer to GDAL Rasterfile


filename (str) – path to shape-filename

Keyword Arguments
  • driver (str) – GDAL Raster Driver

  • attr (str) – attribute to burn into raster

  • pixel_size (float) – pixel Size in source units

  • remove (bool) – if True removes existing output file

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