WITHIN (by distance)

Matches objects with an element location that lies within the specified distance of the given location.

Example Requests

DescriptionEndpoint
Find all Events with a location element that lies within 500 miles of 40.703987, -73.986759:

Available distance units are MILES, FEET, METERS, KILOMETERS.
curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/event/<stream_id>' -d 'filter=location WITHIN 500 MILES OF [40.703987, -73.986759]'