kmongo / org.litote.kmongo / kotlin.reflect.KProperty / geoIntersects

geoIntersects

infix fun <T> KProperty<T>.geoIntersects(geometry: Geometry): Bson (source)
infix fun <T> KProperty<T>.geoIntersects(geometry: Bson): Bson (source)

Creates a filter that matches all documents containing a property with geospatial data that intersects with the specified shape.

Parameters

geometry - the bounding GeoJSON geometry object

Return
the filter

Mongodb
.driver.manual reference/operator/query/geoIntersects/ $geoIntersects