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

refactor: add core.utils.bounds_to_geometry to reuse in factories #1047

Merged
merged 6 commits into from
Dec 19, 2024

Conversation

pratapvardhan
Copy link
Contributor

At 5 places piece of code is used to convert bounds to geometry. This PR adds titiler.core.utils.bounds_to_geometry and updates core, mosaic and xarray factories to use the function instead.

cc @vincentsarago –– totally fine if you decide to close this PR – it may or may not be essential to the immediate focus of the project.

@vincentsarago
Copy link
Member

🙌 this is great.

I'll try to merge this week but I'm pretty hands down and focused on one other project right now

@vincentsarago vincentsarago merged commit f978c3e into developmentseed:main Dec 19, 2024
10 checks passed
@pratapvardhan pratapvardhan deleted the core-bounds-geom branch December 20, 2024 09:35
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