WKT_SPATIAL_CONTAINS
Checks if the first WKT formatted spatial object contains the second
Syntax
Arguments
Examples
Transformation job example
SQL
Query result
Last updated
Name | Type | Description | Default Value |
---|---|---|---|
first | second | Output |
---|---|---|
first | second | Output |
---|---|---|
first
string
The WKT formatted spatial object which should be contained by the second argument
second
string
The WKT formatted spatial object which should contain the first object
'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(15 0)'
false
'POLYGON((-10 30, -40 40, -10 -20, 40 20, 0 0, -10 30))'
'POINT(10 0)'
true