- better exception message for "ridge line must intersect ..." RuntimeError
- added Python 3.10 support
- update dependencies
- fixed warnings for updated dependencies
This is a major update that changes the default behavior and accepted arguments of voronoi_regions_from_coords()
.
You will most likely need to update your scripts. See the examples in this repository and the function documentation.
- complete rewrite of Voronoi region polygon construction
- usually quicker and more memory efficient
- much quicker when dealing with duplicate points
- adds possibility to treat the geometries in a geographic area separately, if that area is a MultiPolygon shape;
this is actually the new default behavior; to reset to the former behavior, set
per_geom=False
when usingvoronoi_regions_from_coords()
- adds possiblity to also retrieve results separately for each geometry in a geographic area
voronoi_regions_from_coords()
now returns dicts instead of list that map region IDs to region geometries and assigned points
- updated, better function documentation
- added and updated tests
- new and updated examples
- dependency updates
- dropped official Python 3.5 support (may still work, though), added Python 3.9 support
- fix issue #7 (thanks @AtelierLibre)
- update dependencies / make compatible with GeoPandas 0.7.0
- introduce more and better tests
- use tox for testing
- fix bug if centroid of boundary area is outside convex hull of generator set (thanks @mjziebarth)
- made compatible with GeoPandas 0.5.0
- added missing requirement descartes in setup.py
- initial release