[geos-devel] SingleSidedBuffer and OffsetCurve

Paul Ramsey pramsey at opengeo.org
Fri May 6 19:02:53 EDT 2011


Hey an API break... that'll affect PostGIS perhaps (I think we had a
offset curve tied in?) and probably other folks, so we'll have to note
that change prominently in the release notes.

P.

On Wed, Apr 27, 2011 at 7:22 AM, Sandro Santilli <strk at keybit.net> wrote:
> 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
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>


More information about the geos-devel mailing list