Closed nrabinowitz closed 9 months ago
@isaacbrodsky I believe the latest commit should close the holes in coverage.
Thanks for adding this functionality !! How mature is it? Are there any knows issues for overlapping functionality? Any known gaps ?
Thanks for adding this functionality !! How mature is it? Are there any knows issues for overlapping functionality? Any known gaps ?
Well, you can see it was merged two weeks ago, so that's how mature it is :). But we've done a fair amount of testing against the older algo, and it seems to behave as expected. Overlapping mode seems to work as expected, we aren't aware of any issues, but it's hard to extensively test this. The main (expected) issue is that overlapping mode is slower than the other modes, as discussed in this PR.
Ok, thanks for quick answer !
Look great! Has this been released yet? If not, is there a stable tag we could reference? We use the h3-py bindings and it looks like it’s been a bit since the last release.
Hello H3 friends! 👋
I use H3 often and this PR would be tremendously helpful. Is there any timeline for when a new release might come out with the new polyfill modes?
Thank you for all of the hard work that went into this!
Adds support for full containment mode and overlapping modes in
polygonToCellsExperimental
.iterStepPolygonCompact
. This was very straightforward as we already havecellBoundaryInsidePolygon
polygon available.iterStepPolygonCompact
. This checks center point inclusion first, then shares code with the full containment check, substituting a newcellBoundaryCrossesPolygon
check forcellBoundaryInsidePolygon
.0
forflags
.TODO:
CENTER_CONTAINMENT
instead of0
for the flag value in existing tests.