Copilot commented on code in PR #2309:
URL: https://github.com/apache/sedona/pull/2309#discussion_r2299754473
##########
docs/api/sql/geography/Function.md:
##########
@@ -38,3 +38,25 @@ Output:
```
POLYGON ((177.3 -18.3, -179.8 -18.3, -179.8 -16, 177.3 -16, 177.3 -18.3))
```
+
+## ST_AsEWKT
+
+Introduction: Return the Extended Well-Known Text representation of a
geography.
+EWKT is an extended version of WKT which includes the SRID of the geography.
+The format originated in PostGIS but is supported by many GIS tools.
+
+Format: `ST_AsEWKT (A: Geography)`
+
+Since: `v1.8.0`
+
+SQL Example
+
+```sql
+SELECT ST_AsEWKT(ST_GeomFromWKT('LINESTRING (1 2, 3 4, 5 6)', 4326))
Review Comment:
The documentation example uses `ST_GeomFromWKT` but this appears to be a
geography function. Consider using `ST_GeogFromWKT` to match the geography
context of this documentation file.
```suggestion
SELECT ST_AsEWKT(ST_GeogFromWKT('LINESTRING (1 2, 3 4, 5 6)', 4326))
```
--
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]