Топ-100
top of page
Волнистый абстрактный фон
CerebroSQL

ST_TOUCHES

База данных: MySQL

68747470733a2f2f7374796c65732e7265646469746d656469612e636f6d2f74355f32716d366b2f7374796c65

Topic

ST_Touches(g1, g2)

Two geometries spatially touch if their interiors do not intersect, but
the boundary of one of the geometries intersects either the boundary or
the interior of the other.

This function returns 1 or 0 to indicate whether g1 spatially touches
g2.

ST_Touches() handles its arguments as described in the introduction to
this section except that the return value is NULL for the additional
condition that both geometries are of dimension 0 (Point or
MultiPoint).

URL: https://dev.mysql.com/doc/refman/8.0/en/spatial-relation-functions-object-shapes.html

Example

bottom of page