wradlib.io.gdal.VectorSource.get_data_by_att

VectorSource.get_data_by_att(attr=None, value=None, mode=None)

Returns DataSource geometries filtered by given attribute/value

Keyword Arguments
  • attr (str) – attribute name

  • value (str) – attribute value

  • mode (str) – return type (“numpy”, “geo”, “ogr”), defaults to “numpy”