GeomDisjoint
How to use the GeomDisjoint operator
The GeomDisjoint
operator returns the items for which the specified geometry attribute has nothing in common with the provided geometry (GeoJSON Specifications).
Allowed Children
Attributes nodes of type geometry and Geometry nodes
Requirements
Must have 2 children of geometry
type, one on the item and one as a primitive
Return Type
Item Ids Set
Example: Simple polygon query
Find items with a geometry attribute outside a specified polygon:
{
"type": "Query",
"properties": {
"dodiCode": "designs_exampleJobs",
"attributes": ["all"]
},
"children": [
{
"type": "GeomDisjoint",
"children": [
{
"type": "Attribute",
"properties": {
"attributeCode": "attributes_jobsSiteLocation"
}
},
{
"type": "Geometry",
"properties": {
"value": {
"type": "Polygon",
"coordinates": [
[
[10, 12],
[12, 12],
[12, 10],
[10, 10]
]
]
}
}
}
]
}
]
}