Error in validity (report) (was: multipolygon buffer result either invalid geometry or valid geometry but wrong)
Maintainers usually reply within 2 days
@barendgehrels is already working on this.
Since Sep 14, 2023.
Assessment
This issue has not been assessed yet.
Description
I want to buffer of a small amount the multipolygon in the following picture (I apologize if it is quite complicated, I tried to replicate the issue in a simpler shape but I could not make it):
When applying the buffer algorithm, I have encountered two problems:
- if the buffer amount is 0.05, we obtain an invalid geometry due to self-intersections in the external border;
- if the buffer amount is 0.050005, we obtain a valid geometry, but the result is wrong (see image below).
Here below a godbolt link to replicate this problem:
https://godbolt.org/z/vM9ex7MrW
- Dominant language
- C++
- Stars
- 519
- Forks
- 241
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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 boostorg/geometry
-
Difficulty 4/5 3-5 days Newbie friendliness 57/100
boostorg/geometry#1523 · 3 comments ·
Maintainers usually reply within 2 days
-
LLM generated regression case in differencePossibly taken @barendgehrels claimed this 13 days ago. Openbug
boostorg/geometry#1511 · 1 reaction · 1 assignee ·
Maintainers usually reply within 2 days
-
union_ of two valid polygons sharing an edge returns empty (argument order dependent)Possibly taken @barendgehrels claimed this 18 days ago. Open
boostorg/geometry#1506 · 1 comment · 1 reaction · 1 assignee ·
Maintainers usually reply within 2 days
-
difference() produces invalid (self-intersecting) result for valid polygon-with-hole inputMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 70/100
boostorg/geometry#1490 · 1 comment · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
boostorg/geometry#1476 · 6 comments ·
Maintainers usually reply within 2 days
All issues in boostorg/geometry
Similar issues
-
new issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
llvm/llvm-project#245835 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 72/100
EchoTools/nevr-runtime#2823 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
triton-lang/triton#12945 ·
Maintainers usually reply within 1 day
-
Releases do not move the `latest` Docker tag: the branch `30.12` is taken for the latest release branchPossibly taken @alexey-milovidov claimed this today. Opencomp-ci-infrastructure unexpected behaviour
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#134282 ·
Maintainers usually reply within 1 day