wradlib.zonalstats.ZonalDataPoly.dump_vector

ZonalDataPoly.dump_vector(filename, driver='ESRI Shapefile', remove=True)

Output source/target grid points/polygons to ESRI_Shapefile

target layer features are attributed with source index and weight

Parameters
  • filename (string) – path to shape-filename

  • driver (string) – OGR Vector Driver String, defaults to ‘ESRI Shapefile’

  • remove (bool) – if True, existing file will be removed before creation