wradlib.georef.vector.ogr_add_feature

wradlib.georef.vector.ogr_add_feature(ds, src, name=None)

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 (gdal.Dataset) – object

  • src (numpy:numpy.array) – source data

  • name (string) – name of wanted Layer