Martin Andersson created SEDONA-182:
---------------------------------------
Summary: ST_AsText should not return SRID
Key: SEDONA-182
URL: https://issues.apache.org/jira/browse/SEDONA-182
Project: Apache Sedona
Issue Type: Bug
Reporter: Martin Andersson
There was a regression that changed the behavior of ST_AsText. Now it returns
EWKT instead of WKT. See
[https://github.com/apache/incubator-sedona/commit/26aba91ead4f06558880be7dda745cf3c05581e8]
ST_AsText should return WKT, without SRID. From postgis:
{code:java}
dw=> select ST_AsText(ST_SetSRID(ST_Point(1,1), 3021));
st_astext
------------
POINT(1 1)
(1 row)
dw=> select ST_AsEWKT(ST_SetSRID(ST_Point(1,1), 3021));
st_asewkt
----------------------
SRID=3021;POINT(1 1)
(1 row)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)