- 12.15.1 Spatial Function Reference
- 12.15.2 Argument Handling by Spatial Functions
- 12.15.3 Functions That Create Geometry Values from WKT Values
- 12.15.4 Functions That Create Geometry Values from WKB Values
- 12.15.5 MySQL-Specific Functions That Create Geometry Values
- 12.15.6 Geometry Format Conversion Functions
- 12.15.7 Geometry Property Functions
- 12.15.8 Spatial Operator Functions
- 12.15.9 Functions That Test Spatial Relations Between Geometry Objects

MySQL provides functions to perform various operations on spatial data. These functions can be grouped into several major categories according to the type of operation they perform:

Functions that create geometries in various formats (WKT, WKB, internal)

Functions that convert geometries between formats

Functions that access qualitative or quantitative properties of a geometry

Functions that describe relations between two geometries

Functions that create new geometries from existing ones

For general background about MySQL support for using spatial data, see Section 11.5, “Extensions for Spatial Data”.