Skip to content

Option to prevent simplification for simple polygons #82

@bylee20

Description

@bylee20

For instance, sometimes geojson-vt-cpp simplifies a very thin rectangle polygon to a sharp triangle.
Although a thin rectangle and a sharp triangle are similar in area and direction, the reduced vertex in such simple polygon shows noticeable change in human eye.

I think some option to prevent simplification for simple polygons would be useful.
For instance, with an integer n, geojson-vt-cpp would not simplify a geometry whose vertex count is less than n.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions