Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robustness failure in VoronoiDiagramBuilder #20

Open
dbaston opened this issue Feb 10, 2016 · 1 comment
Open

Robustness failure in VoronoiDiagramBuilder #20

dbaston opened this issue Feb 10, 2016 · 1 comment
Labels

Comments

@dbaston
Copy link
Contributor

dbaston commented Feb 10, 2016

The following geometry (a 7-point MultiPoint) causes VoronoiDiagramBuilder to throw an exception, even with a very large tolerance value relative to the scale of the input points (such as 0.1).

01040000000700000001010000000f8b33e3d97742c038c453588d0423c001010000001171d6d1b45d42c06adc1693e78c22c001010000001c8b33e3d97742c062c453588d0423c00101000000afa5c71fda7742c04b93c61d8e0423c00101000000b0cddcb4b57942c026476887d7b122c00101000000e0678421dc7642c0f7736021e1fb22c00101000000e32fd565018d42c0c7ea1222167c22c0

Originally reported in PostGIS at https://trac.osgeo.org/postgis/ticket/3447

@dr-jts dr-jts added the type-bug label Nov 4, 2016
@dr-jts
Copy link
Contributor

dr-jts commented Jul 28, 2019

The error thrown is:

Invalid number of points in LinearRing (found 2 - must be 0 or >= 4)

The actual cause is that the Delaunay triangulation is not computed correctly for some reason (it has crossing edges).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants