ST_RemoveRepeatedPoints — Returns a version of the given geometry with duplicated points removed.
geometry ST_RemoveRepeatedPoints(geometry geom
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.
This function supports Polyhedral surfaces.
This function supports 3d and will not drop the z-index.