wradlib.io.gdal.VectorSource.get_data_by_geom

VectorSource.get_data_by_geom(geom=None, mode=None)

Returns DataSource geometries filtered by given geometry

Keyword Arguments
  • geom (osgeo.ogr.Geometry | geopandas.GeoDataFrame) – OGR.Geometry object or geopandas.GeoDataFrame containing the Geometry

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