uber / uber/h3-java

H3 Polyfill skipping areas near the boundary

Open
#41 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
333
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Hi I have noticed, when using polyfill for a polygon, it randomly skips certain areas near the boundary. How can we solve this?

For example. In this image blue dots are polygon side, and red is center. Notice the area in Cayote Point is not part of any polygon. So, polyfill will skip it even if that is part of the boundary.

Seems like if center is not part of boudary, it skips the whole polygon.

Screen Shot 2019-03-20 at 7 26 30 AM

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 with the H3 Java polyfill API and reproduce the boundary case described in the issue, using the attached image as the only example provided. Trace how polygon centers and boundary areas are classified, then verify that the previously skipped boundary region is included without breaking other polyfill results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.