[Feature Req] Polyfill for multi level inclusion/exclusion
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- api, backend-api-design
Research direction
No implementation file, test, or entry point is named. Start by reviewing the existing polyfill API and the S2Polygon inclusion rule described in the issue; done should mean that nested inclusions and exclusions are supported without requiring explicit holes.
Written by the indexing model from the issue text.
Description
Curious if there is any plan to add polyfill support for more complex geofences that have inclusions within 'holes'
For instance in s2, inclusion/exclusion is determined by the number of geofences a point is contained by and therefore doesn't require an explicit 'holes' input in the api.
Snippet from s2 java comments:
/*
- An S2Polygon is an S2Region object that represents a polygon. A polygon
- consists of zero or more {@link S2Loop loops} representing "shells" and
- "holes". All loops should be oriented CCW, i.e. the shell or hole is on the
- left side of the loop. Loops may be specified in any order. A point is
- defined to be inside the polygon if it is contained by an odd number of
- loops.
*/
- Dominant language
- Java
- Stars
- 333
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uber/h3-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100