База данных: MySQL
Two geometries spatially cross if their spatial relation has the
o Unless g1 and g2 are both of dimension 1: g1 crosses g2 if the
interior of g2 has points in common with the interior of g1, but g2
does not cover the entire interior of g1.
o If both g1 and g2 are of dimension 1: If the lines cross each other
in a finite number of points (that is, no common line segments, only
single points in common).
This function returns 1 or 0 to indicate whether g1 spatially crosses
ST_Crosses() handles its arguments as described in the introduction to
this section except that the return value is NULL for these additional
o g1 is of dimension 2 (Polygon or MultiPolygon).
o g2 is of dimension 1 (Point or MultiPoint).