#4496 closed defect (fixed)

ST_Simplify on TRIANGLETYPE doesn't do anything

Reported by: Algunenano Owned by: pramsey
Priority: medium Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description

I don't think this is consistent with polygons, that might collapse depending on the preserve_collapsed flag.

IMO, lwgeom_simplify_in_place should do nothing if preserve_collapsed is passed, but it should try to simplify (and maybe collapse) if preserve_collapsed is false.

Support for TRIANGLETYPE was introduced in https://trac.osgeo.org/postgis/ticket/4380

@pramsey as you implemented this, thoughts?

Change History (2)

comment:1 Changed 11 months ago by Raul Marin

In 17804:

Make ST_Simplify(TRIANGLE) collapse if requested

References #4496
Closes https://github.com/postgis/postgis/pull/474

comment:2 Changed 11 months ago by Raul Marin

Resolution: fixed
Status: newclosed

In 17805:

Make ST_Simplify(TRIANGLE) collapse if requested

Closes #4496

Note: See TracTickets for help on using tickets.