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

use spatial_extent and datetime_extent everywhere #164

Merged

Conversation

hrodmn
Copy link
Contributor

@hrodmn hrodmn commented Jan 11, 2024

What I am changing

  • We added the spatial_extent and datetime_extent parameters to register_collection_catalog but they were only getting used in one of the calls to the function. After deploying tipg again on a database with some really large tables with spatial and temporal columns I realized that the extent calculations were still getting run but not at application startup!

How I did it

  • pass the spatial_extent and datetime_extent settings to all calls to register_collection_catalog (not just the first one).

Related Issues

@vincentsarago vincentsarago merged commit c3efc80 into developmentseed:main Jan 11, 2024
7 checks passed
@hrodmn hrodmn deleted the optional-extent-middleware branch January 11, 2024 12:19
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

Successfully merging this pull request may close these issues.

2 participants