I have an irregularly shaped polygon, and I want to create a 'ring' of fixed width around the polygon. Basically I need a polygon vector which surrounds the given polygon.
I am reading in the polygons from an ESRI shapefile. There are >500 features (all polygons) in the shapefile. I need a ring around each of them to do some computation on a raster file.
How can I create the ring in python?