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 grid tessellate h3 res #266

Merged
merged 6 commits into from
Dec 2, 2022

Conversation

tdikland
Copy link
Contributor

@tdikland tdikland commented Dec 1, 2022

Fixes calculation of the buffer radius used during tessellation with H3. Previous calculation assumed that the geometry representation of the cell boundary always contains 6 vertices. This is not always true (e.g. H3 grid cell gets crossed by projected edge of icosahedron)

Fixes #260

Copy link
Contributor

@edurdevic edurdevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done @TimDikland-DB !

@edurdevic edurdevic merged commit afeb028 into databrickslabs:main Dec 2, 2022
a0x8o added a commit to a0x8o/mosaic that referenced this pull request Feb 22, 2023
Update version to 0.3.6-SNAPSHOT (databrickslabs#268)

Update version to 0.3.5 (databrickslabs#267)

Fix grid tessellate h3 res (databrickslabs#266)

Feature/knn transformer (databrickslabs#258)

Merge pull request databrickslabs#254 from databrickslabs/fix/duplicated_indexes
a0x8o added a commit to a0x8o/mosaic that referenced this pull request Feb 22, 2023
Update version to 0.3.6-SNAPSHOT (databrickslabs#268)

Update version to 0.3.5 (databrickslabs#267)

Fix grid tessellate h3 res (databrickslabs#266)
sllynn pushed a commit that referenced this pull request Nov 20, 2023
* wip

* fix buffer radius calculation

* Revert "wip"

This reverts commit 2736277.

Co-authored-by: Tim Dikland <tim.dikland@databricks.com>
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.

grid_tessellate fails to return results for specific h3 resolution
3 participants