Closed aydal closed 4 years ago
voronoi_diagram
was only added recently (https://github.com/Toblerity/Shapely/pull/881) and is not yet available in the released 1.7 release (it will be available in 1.8)
What is the timeline for 1.8 release?
I don't have any information on release timeline, but you can install from master (the code which will be the 1.8 release) like so:
$ pip install git+https://github.com/Toblerity/Shapely.git
Collecting git+https://github.com/Toblerity/Shapely.git
Cloning https://github.com/Toblerity/Shapely.git to /private/var/folders/2l/v2wjg8097bggqf8gkpkgjqtw0000gn/T/pip-req-build-bm15psqb
Running command git clone -q https://github.com/Toblerity/Shapely.git /private/var/folders/2l/v2wjg8097bggqf8gkpkgjqtw0000gn/T/pip-req-build-bm15psqb
Installing collected packages: Shapely
Running setup.py install for Shapely ... done
Successfully installed Shapely-1.8.dev0
WARNING: You are using pip version 19.2.3, however version 20.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ python
Python 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from shapely.ops import voronoi_diagram
>>>
Thanks a lot
I am using shapely 1.7.0 installed using pip3 for python 3.6.9
On using inspect on shapely.ops, I get the following
There is no mention of voronoi. I have tried reinstalling but no use. Also tried
Any help will be appreciated