wradlib.georef.vector.ogr_add_geometry

Contents

wradlib.georef.vector.ogr_add_geometry#

wradlib.georef.vector.ogr_add_geometry(layer, geom, attrs)[source]#

Copies single OGR.Geometry object to an OGR.Layer object.

Given OGR.Geometry is copied to new OGR.Feature and written to given OGR.Layer by given index. Attributes are attached.

Parameters: