[geos-devel] missing python functions?

Ramie Blatt rblatt at warmlyyours.com
Mon Feb 25 17:54:22 EST 2008


Hi there,

While you're looking at this, Charlie, a lot of the tests in the swig/ 
ruby/test/ directory don't work either, especially those using  
Geos::GeometryFactory plus others.

Regards,
Ramie


On Feb 25, 2008, at 10:49 AM, Charlie Savage wrote:

> Hi Russell,
>
>> Just compiled and installed geos-3.0.0 and would like to write  
>> some python code.  However, I can't figure out how to create a  
>> geometry collection in python.  I checked out example.py.  It  
>> doesn't work either.
>
> Yeah - a lot of the python examples are out of date since they were  
> originally done when the bindings worked against the C++ api and  
> not the  c api.
>
>  It appears to me that a bunch of stuff is missing from the
>> python bindings.  Here is a dir() of the geos module.
>
> Hmm, looks like for some reason I never exposed the  
> createCollection method to Python/Ruby (see around line 947 in  
> geos.i).   I could add it easily enough if you need it.
>
> Charlie
>
>
>
> _______________________________________________
> 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