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

Recalculate collection extents on item updates / deletes #640

Open
jisantuc opened this issue Mar 23, 2021 · 0 comments
Open

Recalculate collection extents on item updates / deletes #640

jisantuc opened this issue Mar 23, 2021 · 0 comments

Comments

@jisantuc
Copy link
Contributor

Improvement

#623 handles growing collection extents for item changes. This is the easy version -- get the new extent represented by any changed items, union it with the existing extent, go home. However, in the case where items are deleted, or their extents are smaller, updating the collection extent requires re-evaluating the combined extent of every item in the collection. Probably that's reasonably fast with geom indices from PostGIS, but it should still probably be moved to a background task so that users don't
have to wait for us to recalculate collection extents when they make an item slightly smaller.

@jisantuc jisantuc changed the title Recalculate collection extents on item updates / Recalculate collection extents on item updates / deletes Mar 23, 2021
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