wradlib.georef.vector.ogr_add_feature#
- wradlib.georef.vector.ogr_add_feature(ds, src, *, name=None)[source]#
Creates OGR.Feature objects in OGR.Layer object.
OGR.Features are built from numpy src points or polygons.
OGR.Features ‘FID’ and ‘index’ corresponds to source data element
- Parameters:
ds (
osgeo.gdal.Dataset
) – objectsrc (
numpy.ndarray
) – source dataname (
str
) – name of wanted Layer