[PostGIS] #6123: ST_MakeSimple
PostGIS
trac at osgeo.org
Wed Sep 2 10:27:15 PDT 2026
#6123: ST_MakeSimple
-------------------------+---------------------------
Reporter: strk | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 3.8.0
Component: postgis | Version: master
Keywords: |
-------------------------+---------------------------
The ST_MakeValid function internally would be able to turn a collapsed
linestring into a simple one, but `ST_MakeValid` never does it unless the
linestring is a ring of a polygon (because by definition a linestring is
never invalid).
An ST_MakeSimple function could deal with the non-simple linestring case
in a clear way, that is using the same promise of MakeValid (not loosing
vertices, adding intersection points, splitting when needed, dropping
collapses) but for lines.
Such a function (at liblwgeom level, not necessarely at SQL level) would
be useful for topology.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6123>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list