GEOMETRYINTERSECTS
Returns true when two geometries intersect.
Parameters
feature1
Feature (required) - input feature 1
feature2
Feature (required) - input feature 2
Returns
boolean - returns true if the features intersect
Examples
const point = GEOMETRYPOINT([2, 2]);
const line = GEOMETRYLINESTRING([[1, 1], [1, 2], [1, 3], [1, 4]]);
GEOMETRYINTERSECTS(line, point);
// returns
// true
Updated about 1 year ago