I am trying to simplify several polygons part of one shapefile using Python and OGR. However, I am stuck with how to use the simplify function as mentioned in the documentation:
I tried this, for example:
data = ogr.Simplify(inData)
But then I get an AttributeError:
'module' object has no attribute 'Simplify'