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

Fix collection extent schema #278

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Fix collection extent schema #278

merged 2 commits into from
Jun 4, 2024

Conversation

hrodmn
Copy link
Collaborator

@hrodmn hrodmn commented Jun 4, 2024

update_collection_extents() was unaware that collection_extent was already creating the "extent" key in the collection properties json, so we wound up with a redundant "extent" key around the outside. The solution is to return the only the extent contents in the collection_extent and consistently set the key outside of collection_extent.

We are also adding a few tests to make sure the update_collection_extent flag is working as expected.

Resolves #274

@hrodmn hrodmn requested review from bitner and zacdezgeo June 4, 2024 01:57
@hrodmn hrodmn self-assigned this Jun 4, 2024
@bitner bitner merged commit a1e7c04 into main Jun 4, 2024
15 checks passed
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.

update_collection_extent setting results in wrong JSON structure
2 participants