ST_PrecisionReducer
Signature
GEOMETRY ST_PrecisionReducer(GEOMETRY geom, INT n);
Description
Reduces the precision of geom
to n
decimal places.
Examples
SELECT ST_PrecisionReducer(
'MULTIPOINT((190.1239999997 300), (10 11.1233))', 3);
-- Answer: MULTIPOINT((190.124 300), (10 11.123))