I found some useful links in this SO question An algorithm for inflating/deflating (offsetting, buffering) polygons .
Sorry - no 'net access so sos
doesn't work, so does anyone have an implementation of the skeleton algorithm in R?
Edit: I would like to generate deflated polygons as in the StackOverflow link (top image); or as seen on http://en.wikipedia.org/wiki/Straight_skeleton .
gBuffer()
, from the elegant and powerful rgeos package accepts negative values in itswidth
argument, returningSpatialPolygons
that are 'shrunk' by the given amount.