wradlib.georef.raster.raster_to_polyvert

wradlib.georef.raster.raster_to_polyvert(dataset)

Get raster polygonal vertices from gdal dataset.

Parameters:dataset (gdal.Dataset) – raster image with georeferencing (GeoTransform at least)
Returns:polyvert (numpy.ndarray) – A N-d array of polygon vertices with shape (…, 5, 2).