Re: [geos-devel] PHP bindings anyone ?
On Wed, Jun 16, 2010 at 12:57 AM, Robert Coup robert.c...@koordinates.com wrote: On Tue, Jun 15, 2010 at 11:16 PM, strk s...@keybit.net wrote: I'm plaing with drupal recently and be wondering if the SWIG binding for GEOS are still in use by anyone or not. In particular, I think Shapely and GeoDjango are using a direct interface rather than swig, right ? Yep, they both access the C library using the Python ctypes module. AFAIK they just wanted to expose clean pythonic interfaces rather than the hybrid stuff SWIG produces... From time to time I hear from some one who is using the SWIG bindings for Ruby. Are there any libffi (used by ctypes) intefaces for PHP? If so, I'd recommend giving that a try. Cheers, -- Sean ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel
Re: [geos-devel] PHP bindings anyone ?
On Wed, Jun 16, 2010 at 09:53:00AM +0200, Sean Gillies wrote: Are there any libffi (used by ctypes) intefaces for PHP? If so, I'd recommend giving that a try. Found this: http://pecl.php.net/package/ffi Last release (0.3-alpha) is from 2004 :! --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel
Re: [geos-devel] PHP bindings anyone ?
On 16/06/10 09:21, strk wrote: On Wed, Jun 16, 2010 at 09:53:00AM +0200, Sean Gillies wrote: Are there any libffi (used by ctypes) intefaces for PHP? If so, I'd recommend giving that a try. Found this: http://pecl.php.net/package/ffi Last release (0.3-alpha) is from 2004 :! Sandro, You may find this interesting: http://wiki.github.com/moriyoshi/boost.php/ Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel
Re: [geos-devel] PHP bindings anyone ?
On 6/16/2010 1:53 AM, Sean Gillies wrote: On Wed, Jun 16, 2010 at 12:57 AM, Robert Coup robert.c...@koordinates.com wrote: On Tue, Jun 15, 2010 at 11:16 PM, strks...@keybit.net wrote: I'm plaing with drupal recently and be wondering if the SWIG binding for GEOS are still in use by anyone or not. Yes, we use the Ruby ones. Charlie In particular, I think Shapely and GeoDjango are using a direct interface rather than swig, right ? Yep, they both access the C library using the Python ctypes module. AFAIK they just wanted to expose clean pythonic interfaces rather than the hybrid stuff SWIG produces... From time to time I hear from some one who is using the SWIG bindings for Ruby. Are there any libffi (used by ctypes) intefaces for PHP? If so, I'd recommend giving that a try. Cheers, -- Charlie Savage http://cfis.savagexi.com ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel
[geos-devel] PHP bindings anyone ?
I'm plaing with drupal recently and be wondering if the SWIG binding for GEOS are still in use by anyone or not. In particular, I think Shapely and GeoDjango are using a direct interface rather than swig, right ? Is anyone else interested in a PHP binding for GEOS ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel
Re: [geos-devel] PHP bindings anyone ?
On Tue, Jun 15, 2010 at 11:16 PM, strk s...@keybit.net wrote: I'm plaing with drupal recently and be wondering if the SWIG binding for GEOS are still in use by anyone or not. In particular, I think Shapely and GeoDjango are using a direct interface rather than swig, right ? Yep, they both access the C library using the Python ctypes module. AFAIK they just wanted to expose clean pythonic interfaces rather than the hybrid stuff SWIG produces... Rob :) ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel