DataSource.dump_raster(filename, driver='GTiff', attr=None, pixel_size=1.0, remove=True, **kwargs)

Output layer to GDAL Rasterfile

  • filename (str) – path to shape-filename

  • 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

Keyword Arguments

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