[geos-devel] GEOS FFI Ruby bindings

strk strk at keybit.net
Fri Dec 3 04:58:08 EST 2010


On Thu, Dec 02, 2010 at 07:21:06PM -0500, J Smith wrote:
> Howdy folks.
> 
> Well, Charlie Savage planted the idea in my mind, so I'm currently in
> the process of re-writing the GEOS bindings for Ruby in Ruby using
> FFI.
> 
> After a hack-fest last night, I've gotten the basics down, and am
> writing a unit test suite that can be used to compare against the
> current SWIG-based library. So far I've only implemented
> CoordinateSequence, WktReader, a couple of utility functions and the
> various constants defined in the Geos module along with the very
> basics of Geometry and the geometry classes that derive from it (i.e.
> Point, LineString, etc.) and am currently messing around with the
> callbacks to initGEOS to handle errors properly.

Make sure to use the reentrant interface, worth, for new projects.
We may add support for precision models and things like that with its
use (contextual settings).

--strk; 

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


More information about the geos-devel mailing list