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

feat/precision #34

Merged
merged 2 commits into from
Jun 25, 2024
Merged

feat/precision #34

merged 2 commits into from
Jun 25, 2024

Conversation

noandrea
Copy link
Owner

  • feat: improve precision
  • feat: fail fast if a lat/lng is not found

first use rtree and afterwards check if the coordinates match a polygon
Stop the search if the first 5 timezone objects found by the index
do not contain the input lat/lng thus saving computing resources
@noandrea noandrea merged commit 37cff76 into main Jun 25, 2024
4 checks passed
@noandrea noandrea deleted the feat/precision branch June 25, 2024 21:28
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.

1 participant