WKT_SPATIAL_INTERSECT
Last updated: 9/21/2026Checks if the WKT formatted spatial objects intersect.
Syntax
WKT_SPATIAL_INTERSECT(first, second)
Arguments
| Name | Type | Description | Default Value |
|---|---|---|---|
| first | string | A WKT formatted spatial object | |
| second | string | A WKT formatted spatial object |
Examples
| first | second | Output |
|---|---|---|
| "POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))" | "POINT(10 0)" | true |
| "POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))" | "POINT(16 0)" | false |