Skip to content

Mitre join erase holes when closing them #1403

@PetitMote

Description

@PetitMote

Hi there

I’ve encountered this really strange bug when doing a buffer with mitre_join.
I have this polygon (from a real work usage). It comes from a negative -3m buffer, and I’m applying a +3m buffer with 8 quarter segments, mitre joins, and 5 as the mitre limit.

Image

Instead of closing back the holes, it completely erases them

Image

When doing instead a +4m buffer, everything is ok

Image

This happens only on this precise configuration. I’ve tried doing -4m then +4m, and it was ok. Even -3.1 then +3.1 is ok. Here are my Qgis parameters (in French, sorry):

Image

And the polygon (gpkg):

polygon.zip

I’ve tried on PostgreSQL 13 with PostGIS (Ubuntu Server), Postgresql 16 with PostGIS (local Windows), Qgis 3.44.8 (osgeo installer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions