geoIntersects

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

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

Return

the filter

Parameters

geometry

the bounding GeoJSON geometry object