Skip to content

VW+midpoint smoothing creates broken polygon #1263

@wipfli

Description

@wipfli

Describe the bug
Running VW simplification followed by midpoint smoothing results sometimes in broken polygons.

To Reproduce
Steps to reproduce the behavior:

  1. clone https://github.com/wipfli/debug-assets/tree/main/midpoint
  2. Run command run-vw.sh
  3. See error in map at http://[::]:8080/data/pmtiles/[FEATURE] Add utility to abbreviate road names #14.3/47.12837/7.97538

Expected behavior
The forest should not have a hole.

Screenshots

Image

Environment (please complete the following information):
ubuntu laptop

Additional context
This came up while looking for a reproduction of #1262

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions