Skip to content

Error in validity (report) (was: multipolygon buffer result either invalid geometry or valid geometry but wrong) #1192

Open
@gastald88

Description

@gastald88

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):

image

When applying the buffer algorithm, I have encountered two problems:

  1. if the buffer amount is 0.05, we obtain an invalid geometry due to self-intersections in the external border;
  2. if the buffer amount is 0.050005, we obtain a valid geometry, but the result is wrong (see image below).
    image

Here below a godbolt link to replicate this problem:
https://godbolt.org/z/vM9ex7MrW

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions