[geos-devel] SingleSidedBuffer and OffsetCurve

Sandro Santilli strk at keybit.net
Wed Apr 27 10:22:31 EDT 2011


As of r3306 GEOS supports both offset curves (lines)
_and_ single-sided buffers (polygons).

This was a bit of a pain to districate as a GEOSSingleSidedBuffer
interface entered C-API as of GEOS-3.2.0 but had the lineal semantic
(offset curve) rather than the areal one (buffer on one side only).

So what we'll have in 3.3.0 is:

 1. A new GEOSOffsetCurve function deprecates GEOSSingleSidedBuffer 
 2. A new GEOSBufferParams opaque type is introduced and serves the purpose
    of configuring operation of a new GEOSBufferWithParams function

With GEOSBufferWithParams you can have proper (areal) single sided buffers.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list