Related Documentation Download this Manual
PDF (US Ltr) - 35.3Mb
PDF (A4) - 35.5Mb
PDF (RPM) - 33.8Mb
EPUB - 8.6Mb
HTML Download (TGZ) - 8.4Mb
HTML Download (Zip) - 8.5Mb
HTML Download (RPM) - 7.3Mb
Eclipse Doc Plugin (TGZ) - 9.3Mb
Eclipse Doc Plugin (Zip) - 11.3Mb
Man Pages (TGZ) - 197.9Kb
Man Pages (Zip) - 301.8Kb
Info (Gzip) - 3.2Mb
Info (Zip) - 3.2Mb
Excerpts from this Manual


This page has moved or been replaced. The new page is located here:

Please update any bookmarks that point to the old page.

User Comments
  Posted by on November 12, 2006
there are more than just these functions available. I think this not clear enough in the docs.
for example, the MultiPolygon 'Centroid' function works for Polygons as well.

mysql> SET @poly = 'Polygon((0 0,0 3,3 3,3 0,0 0))';

mysql> select astext( Centroid(PolygonFromText(@poly)));
| astext( Centroid(PolygonFromText(@poly))) |
| POINT(1.5 1.5) |
Sign Up Login You must be logged in to post a comment.