Geometry Relations

Geometry relations

Title Description
CONTAINS Whether one geometry contains another.
CROSSES Whether two geometries spatially cross
DISJOINT Whether the two elements do not intersect.
EQUALS Indicates whether two geometries are spatially equal.
INTERSECTS Indicates whether two geometries spatially intersect.
OVERLAPS Indicates whether two elements spatially overlap.
ST_CONTAINS Whether one geometry is contained by another.
ST_CROSSES Whether two geometries spatially cross.
ST_DIFFERENCE Point set difference.
ST_DISJOINT Whether one geometry is spatially disjoint from another.
ST_DISTANCE The distance between two geometries.
ST_DISTANCE_SPHERE Spherical distance between two geometries (point or multipoint) on a sphere.
ST_EQUALS Whether two geometries are spatoially equal.
ST_INTERSECTS Whether two geometries spatially intersect.
ST_LENGTH Length of a LineString value.
ST_OVERLAPS Whether two geometries overlap.
ST_TOUCHES Whether one geometry g1 spatially touches another.
ST_WITHIN Whether one geometry is within another.
TOUCHES Whether two geometries spatially touch.
WITHIN Indicate whether a geographic element is spacially within another.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/geometry-relations/