uber / uber/h3

polyfill return empty

Open
#456 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
6.5k
Forks
627
Avg merge
3d 21h
Merged PRs (30d)
6

Description

Use the following program to get result,but the result is empty

`geo = {
"type": "Polygon",
"coordinates": [
[
[28.988443, 117.523483],
[28.9885, 117.523633],
[28.988448, 117.523665],
[28.988331, 117.523665],
[28.988303, 117.523536],
[28.988443, 117.523483],
]
],
}

out = h3.polyfill(geo, 8)
print(out)`

return: set()

this area should be able to return results
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the Python program shown in the issue and inspect the polyfill behavior for this Polygon at resolution 8. The work is done when the supplied area returns the expected non-empty set of cells rather than set().

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.