WKT_SPATIAL_INTERSECT
Checks if the WKT formatted spatial objects intersect.
Syntax
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 |
Transformation job example
SQL
Query result
first | second | Output |
---|---|---|
'POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))' | 'POINT(10 0)' | true |
Last updated