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:
http://www.gdal.org/classOGRGeometry.html#a0f4d7948332d9efd6548e1cf87bb6c8f
I tried this, for example:
data = ogr.Simplify(inData)
But then I get an AttributeError:
'module' object has no attribute 'Simplify'
Any tips?