add_feature

io.GeomSource.add_feature(ft)

Add a feature to the layer.

Only in write ('w') mode.

Note! Everything needs to already be compliant with the created/ edited dataset.

Parameters

Name Type Description Default
ft ogr.Feature A feature object defined by OGR. required
Back to top