[geos-devel] Geos Python bindings

Sandro Santilli strk at keybit.net
Mon Feb 20 11:58:35 EST 2012

On Mon, Feb 20, 2012 at 05:05:23PM +0100, Alessandro Candini wrote:
> Hi.
> I have compiled geos-3.3.2 with python bindings enabled.
> So I get the following python files:
> geos.py
> tests/runtests.py
> tests/example.py
> tests/test_geometry.py
> But in them I cannot find the MinimumDiameter object and its methods.
> Is it missing? If I would use it through python, have I to implement
> it from scratch?

Did you read the README.txt ? It tells you that the GEOS python
bindings  are unsupported and suggests you to become a maintainer
or to use Shapely. I think the majority of people did switch to Shapely.

Still, the MinimumDiameter is missing from the C-API, although present
at the C++ level, so first step would be to expose it there.


More information about the geos-devel mailing list