Name
st_astext — Returns the well known text (WKT) representation of the geometry.
Synopsis
st_astext
(
|
in
g
any
); |
Description
Returns the well known text (WKT) representation of the geometry.
Parameters
g
Geometry point
Return Types
Returns varchar.
Examples
Example 24.142. Simple Use
SQL>SPARQL
SELECT DISTINCT (bif:st_astext(?geo))
WHERE
{
?m geo:geometry ?geo .
}
LIMIT 10;
callret-0
ANY
_________________________________
POINT(-139.267 -90)
POINT(-153.833 -86.9667)
POINT(-163 -85.4167)
POINT(-170.8 -85.1167)
POINT(-142.176 -85.06)
POINT(-142.258 -85.0478)
POINT(-85.0331 -85.0378)
POINT(-142.685 -85.0307)
POINT(-143.654 -84.9921)
POINT(-143.82 -84.9851)
No. of rows in result: 10