[geos-devel] Second beta for ffi-geos extension now available
strk at keybit.net
Thu May 12 12:48:22 EDT 2011
On Thu, May 12, 2011 at 09:46:00AM -0700, Daniel Azuma wrote:
> Just a little opinion on this, as I'm actually starting to use ffi-geos. If it is to be the de facto ruby binding for GEOS, it should expose the same flexibility that GEOS provides, including control over when and whether to produce a prepared geometry, so that clients that need that level of control can have it. A transparent implementation is very useful and could also be done, but it should be an optional API that can be turned on or off.
So how do you like an explicit .prepare() on Geometry objects ?
And maybe an .unprepare() to release memory associated with the preparation.
() Free GIS & Flash consultant/developer
More information about the geos-devel