MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17.4.5.2 Fetching Spatial Data in WKT Format

The AsText() function converts a geometry from internal format into a WKT string.

 
mysql> SELECT AsText(g) FROM geom;
+-------------------------+
| AsText(p1)              |
+-------------------------+
| POINT(1 1)              |
| LINESTRING(0 0,1 1,2 2) |
+-------------------------+



This document was generated by rdg (Feb 25 2004) using texi2html