[R-sig-Geo] Will rgeos support "negative" buffering

hi_ono2001 at ybb.ne.jp hi_ono2001 at ybb.ne.jp
Thu Jan 26 17:00:37 CET 2012


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:

> 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:
> > Hello.
> > 
> >  Although geos library package supports "negative" buffering(http://geos.osgeo.org/doxygen/classgeos_1_1operation_1_1buffer_1_1BufferOp.html), any plan to support this function in rgeos's gBuffer?
> > 
> > 
> >   Regards.
> > 
> > 
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 
> -- 
> Edzer Pebesma
> Institute for Geoinformatics (ifgi), University of Münster
> Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
> 8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
> http://www.52north.org/geostatistics      e.pebesma at wwu.de
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list