You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a specific polygon, when using the shapely function voronoi_polygons with only_edges=True on it, this leads to the following error: "IllegalArgumentException: point array must contain 0 or >1 elements".
This function basically only calls GEOSVoronoiDiagram_r with flag GEOS_VORONOI_ONLY_EDGES.
Tested using shapely 2.0.4 and GEOS 3.12.1 and GEOS 3.12.2.
The input polygon looks like this, so it is not super complicated (128 points):
Python script to reproduce, including the polygon as wkt:
For a specific polygon, when using the shapely function
voronoi_polygons
withonly_edges=True
on it, this leads to the following error: "IllegalArgumentException: point array must contain 0 or >1 elements".This function basically only calls GEOSVoronoiDiagram_r with flag
GEOS_VORONOI_ONLY_EDGES
.Tested using shapely 2.0.4 and GEOS 3.12.1 and GEOS 3.12.2.
The input polygon looks like this, so it is not super complicated (128 points):
Python script to reproduce, including the polygon as wkt:
reference to original issue: pygeoops/pygeoops#95
The text was updated successfully, but these errors were encountered: