https://dev.mysql.com/gis-general-property-functions.html
The functions listed in this section do not restrict their argument and accept a geometry value of any type. Unless otherwise specified, functions in this section handle their arguments as follows: If any argument is NULL, the return value is NULL.
https://dev.mysql.com/gis-geometry-class-hierarchy.html
The geometry classes define a hierarchy as follows: Geometry (noninstantiable) Point (instantiable) Curve (noninstantiable) LineString (instantiable) Line LinearRing Surface (noninstantiable) Polygon (instantiable) GeometryCollection (instantiable) ...All classes have properties, and instantiable classes may also have assertions (rules that define valid class ...
https://dev.mysql.com/gis-mysql-specific-functions.html
MultiPolygon(poly [, poly] ...) Constructs a MultiPolygon value from a set of Polygon or WKB Polygon arguments. Polygon(ls [, ls] ...) Constructs a Polygon value from a number of LineString or WKB LineString arguments. MySQL provides a set of ...
https://dev.mysql.com/using-spatial-indexes.html
The following query finds all objects that are in the given rectangle: mysql> SET @poly = -> 'Polygon((30000 15000, 31000 15000, 31000 16000, 30000 16000, 30000 15000))'; mysql> SELECT fid,ST_AsText(g) FROM geom WHERE -> ... The optimizer ...
https://dev.mysql.com/server-error-reference.html
Error number: 3727; Symbol: ER_POLYGON_TOO_LARGE; SQLSTATE: 22023 Message: Function %s encountered a polygon that was too large. The MySQL server writes some error messages to its error log, and sends others to client programs. Example server-side ...
https://dev.mysql.com/gis-property-functions.html
For example, the ST_Area() polygon function returns NULL if the object type is neither Polygon nor MultiPolygon. Each function that belongs to this group takes a geometry value as its argument and returns some quantitative or qualitative property ...
https://dev.mysql.com/spatial-type-overview.html
Some spatial data types hold single geometry values: GEOMETRY POINT LINESTRING POLYGON GEOMETRY can store geometry values of any type. The other single-value types (POINT, LINESTRING, and POLYGON) restrict their values to a particular geometry type.
https://dev.mysql.com/populating-spatial-columns.html
After you have created spatial columns, you can populate them with spatial data. Values should be stored in internal geometry format, but you can convert them to that format from either Well-Known Text (WKT) or Well-Known Binary (WKB) format. For ...
https://dev.mysql.com/spatial-function-argument-handling.html
The Open Geospatial Consortium guidelines require that input polygons already be closed, so unclosed polygons are rejected as invalid rather than being closed. Spatial values, or geometries, have the properties described at Section 11.5.2.2, ...
https://dev.mysql.com/gis-class-geometry.html
The dimensions of MultiPoint, MultiLineString, and MultiPolygon objects are the same as the dimensions of the elements they consist of. It is a noninstantiable class but has a number of properties, described in the following list, that are common to ...