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

AssertionFailedException: found two shells in EdgeRing list #1061

Open
hmy930303 opened this issue Mar 25, 2024 · 1 comment
Open

AssertionFailedException: found two shells in EdgeRing list #1061

hmy930303 opened this issue Mar 25, 2024 · 1 comment

Comments

@hmy930303
Copy link

hello~ i meet a promble and it raise the AssertionFailedException, but i dont know what happen.

it happens when i use shapely union operation (unary_union()), is_valid of all geoms is True and without repeat. But when i use set operation such as result = list(set(geoms_list)) , seems to make random order , the unary_union(result) runs successfully.

language: Python 3.11
geoms data in the txt
geoms_data.txt

@theroggy
Copy link

I suppose this is the same case as also posted in shapely/shapely#2029? In that case the same remark from my side applies:

I cannot reproduce the problem using geos 3.12.1, so most likely it has been solved.

You could try with shapely 2.0.3, which includes geos 3.11.3. geos 3.11.3 contains most of the same bugfixes as geos 3.12.1.

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

No branches or pull requests

2 participants