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

Move to shapely 2 for minimum bounding rectangle (rotated) and minimum bounding circle #75

Open
ljwolf opened this issue Jun 2, 2021 · 1 comment
Milestone

Comments

@ljwolf
Copy link
Member

ljwolf commented Jun 2, 2021

This would address #70, #69

@ljwolf ljwolf added this to the Next Release milestone Jun 2, 2021
@martinfleis martinfleis changed the title Move to pygeos for minimum bounding rectangle (rotated) and minimum bounding circle Move to shapely 2 for minimum bounding rectangle (rotated) and minimum bounding circle Jul 2, 2023
@martinfleis
Copy link
Member

I would wait with minimum bounding rectangle for GEOS 3.12 that will contain a fixed algorithm for this, resulting in identical geoms OpenCV produces. The circle can be done now, we just need to extract the tuple of x, y and radius from the actual polygon (as centroid and a distance to first point).

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