wradlib.io.gdal.VectorSource.get_data_by_idx#

VectorSource.get_data_by_idx(idx, *, mode=None)[source]#

Returns DataSource geometries from given index

Parameters

idx (sequence) – sequence of int indices

Keyword Arguments

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