kvpankaj1999 commented on code in PR #615: URL: https://github.com/apache/incubator-sedona/pull/615#discussion_r855884229
########## docs/api/sql/Function.md: ########## @@ -1105,4 +1105,42 @@ Result: +---------------------------------------------------------------+ |LINESTRING (3 6, 2 4, 1 2, 0 0) | +---------------------------------------------------------------+ -``` \ No newline at end of file +``` + +## ST_XMax + +Introduction: Returns the maximum X coordinate of a geometry + +Format: `ST_XMax (A:geometry)` + +Since: `v1.2.1` + +Example: + +```SQL +SELECT ST_XMax(df.geometry) AS xmax +FROM df +``` + +Input: `POLYGON ((-1 1, 1 -1, -1 -1, 1 1))` Review Comment: Changed example in all docs -- 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]
