On Fri, Mar 14, 2014 at 12:11 PM, Roman Luštrik <roman.lustrik@gmail.com>wrote:

> Can you plot a circle (or some other shape) around each store and find the
> difference between your polygon and the 'store buffer'? Alternatively, you
> can shrink your entire polygon. See `rgeos` package, say `gBuffer`
> function.
>

Yes, you use gBuffer with a negative distance.:

 > require(rgeos)
 > p2 = readWKT("POLYGON((2 2,-2 2,-2 -2,2 -2,2 2),(1 1,-1 1,-1 -1,1 -1,1
1))")
 > plot(p2)
 > plot(gBuffer(p2,width=-0.2),add=TRUE,col="red")

	[[alternative HTML version deleted]]

