yyy1000 commented on code in PR #887:
URL: https://github.com/apache/sedona/pull/887#discussion_r1255179690
##########
docs/api/sql/Function.md:
##########
@@ -1552,18 +1552,18 @@ SELECT
ST_AsText(ST_PointOnSurface(ST_GeomFromText('LINESTRING(0 5 1, 0 0 1, 0 1
```
-## ST_PrecisionReduce
+## ST_ReducePrecision
Introduction: Reduce the decimals places in the coordinates of the geometry to
the given number of decimal places. The last decimal place will be rounded.
-Format: `ST_PrecisionReduce (A:geometry, B:int)`
Review Comment:
I just noticed that `ST_ReducePrecision(geometry g, float8 gridsize);` in
postgis needs float as the second param. That means use '0.1' as 1, '0.01' as
2. Should we follow the function in postgis?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]