Name

ST_RemoveRepeatedPoints — Returns a version of the given geometry with duplicated points removed.

Synopsis

geometry ST_RemoveRepeatedPoints(geometry geom);

Description

Returns a version of the given geometry with duplicated points removed. Will actually do something only with (multi)lines, (multi)polygons and multipoints but you can safely call it with any kind of geometry. Since simplification occurs on a object-by-object basis you can also feed a GeometryCollection to this function.

Availability: 2.0.0

This function supports Polyhedral surfaces.

This function supports 3d and will not drop the z-index.

See Also

ST_Simplify