wradlib.zonalstats.DataSource.load_vector

DataSource.load_vector(filename, source=0, driver='ESRI Shapefile')

Read Layer from OGR Vector File

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

  • source (int or str) – number or name of wanted layer, defaults to 0

  • driver (str) – driver string