Skip to content

Will rgeos support "negative" buffering

3 messages · Edzer Pebesma, Hisaji ONO

#
AFAICS, rgeos does:

require(rgeos)
Sr1 = Polygon(cbind(c(2,4,4,1,2),c(2,3,5,4,2)))
Srs1 = Polygons(list(Sr1), "s1")
SpP = SpatialPolygons(list(Srs1), as.integer(1))

plot(SpP)
plot(gBuffer(SpP, width=-0.5), col = 'red', add=TRUE)
On 01/26/2012 12:41 PM, hi_ono2001 at ybb.ne.jp wrote:

  
    
#
Thank you very much.

 I could check this function for generating buffer of shapefiles.


  Regards.
--- On Thu, 2012/1/26, Edzer Pebesma <edzer.pebesma at uni-muenster.de> wrote: