10000 Exposing Experimental PolygonToCells and Updating to Master by zachcoleman · Pull Request #68 · uber/h3-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Exposing Experimental PolygonToCells and Updating to Master #68

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

Conversation

zachcoleman
Copy link
Collaborator

Leaving this open as a draft given these features are unreleased still by the core C library.

@bert-huang-halter
Copy link

Hey @zachcoleman, given the new experimental stuff is in main now, could we get this in soon please?

@zachcoleman
Copy link
Collaborator Author

Hey @zachcoleman, given the new experimental stuff is in main now, could we get this in soon please?

Sounds good, I will update this and get it released ASAP.

@zachcoleman zachcoleman force-pushed the zcoleman/exposing-polygontocells-containment branch from 85b1c92 to 2220f81 Compare February 10, 2025 16:20
@zachcoleman zachcoleman force-pushed the zcoleman/exposing-polygontocells-containment branch from 6fdc651 to b90df62 Compare February 10, 2025 17:24
@zachcoleman zachcoleman marked this pull request as ready for review February 10, 2025 17:57
@zachcoleman zachcoleman requested a review from jogly February 10, 2025 17:57
…Test

changing module path

update test path

trying this?

adding CellsToMultiPolygon

fixing bad rebase thing

updating h3

clean up

updating h3

missed a file

adjusting to new api

updating to entire new h3 experimental api

linting

clean up
@zachcoleman zachcoleman force-pushed the zcoleman/exposing-polygontocells-containment branch from 085bbca to ed5d99c Compare February 10, 2025 17:59
Copy link
Collaborator
@jogly jogly left a comment

Choose a reason for hiding this comment

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

lgtm!

@zachcoleman zachcoleman merged commit 5f62a08 into uber:master Feb 10, 2025
5 checks passed
@zachcoleman
Copy link
Collaborator Author

Hey @zachcoleman, given the new experimental stuff is in main now, could we get this in soon please?

Done. Please refer to TestPolygonToCellsExperimental as an example. There's 2 flags exposed now: ContainmentMode and MaxNumCellsReturn (the second is new and from the C library). I have made MaxNumCellsReturn optional. If the number of cells from the query busts this number an error is returned.

Happy h3-ing and gophering.

@bert-huang-halter
Copy link

thank heaps for this!

@zachcoleman zachcoleman deleted the zcoleman/exposing-polygontocells-containment branch February 11, 2025 14:38
@coveralls
Copy link
coveralls commented Feb 13, 2025

Pull Request Test Coverage Report for Build 13247249870

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 19 of 21 (90.48%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 98.525%

Changes Missing Coverage Covered Lines Changed/Added Lines %
h3.go 19 21 90.48%
Totals Coverage Status
Change from base Build 12521357012: -0.3%
Covered Lines: 601
Relevant Lines: 610

💛 - Coveralls

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.

4 participants
0