I am trying to use ST_ReducePrecision to reduce the number of characters, because of the character limit in power bi cells.
ST_AsText(ST_ReducePrecision(ST_Transform(geom, 4326), 0.000001))
The result that I'm geting is not what I was expecting:
Original WKT: MULTIPOLYGON(((-42.49076772971744 -22.940101731323654,-42.492057937951515 -22.9399517863236,-42.492703038099 -22.93987681565973,...
Using ST_ReducePrecision: MULTIPOLYGON(((-42.492058 -22.939951999999998,-42.492703 -22.939877,-42.493992999999996 -22.939726999999998,...
Expected result: MULTIPOLYGON(((-42.490768 -22.940102,-42.492058 -22.939952,-42.492703 -22.939877,...