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

shape_bbox_indexer seems fragile with some geometries #280

Closed
huard opened this issue May 2, 2023 · 1 comment
Closed

shape_bbox_indexer seems fragile with some geometries #280

huard opened this issue May 2, 2023 · 1 comment

Comments

@huard
Copy link
Contributor

huard commented May 2, 2023

  • clisops version: 0.9.6
  • Python version: 3.10
  • Operating System: ubuntu

Description

When using clisops.core.average_shape, I'm getting GEOSException: TopologyException: unable to assign free hole to a shell with a multipolygon. This error is raised by shape_bbox_indexer unary_union operation.

The logic in shape_bbox_indexer is only meant to make a rough subset of the area of interest to reduce data transfers. We can probably compute a simple convex hull to get the rough shape of the bounding box.

@huard
Copy link
Contributor Author

huard commented Jul 5, 2023

Closed with #282

@huard huard closed this as completed Jul 5, 2023
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

1 participant