Geospatial Operators

Operator

Description

Example

$within

Selects documents with geospatial data that exists entirely within a specified shape.

{"c_location": {"$within": {"$center": [-122.143019, 37.441883], "$radius": 10}}}