Progress will discontinue Telerik Platform on May 10th, 2018. Learn more




whereQuery.nearSphere(field, point, distance, [metrics])


Adds a Geospatial condition that a specified geopoint must be within a certain distance from another geopoint. Applicable to GeoPoint fields only.

Return Type



Parameter Name Type Default Description
field string Field name containing a {GeoPoint} in the following format: (decimal_degrees_latitude,decimal_degrees_longitude), where decimal_degrees_latitude ranges from -90 to 90 and decimal_degrees_longitude ranges from -180 to 180. Example: (42.6954322,123.3239467)
point Everlive.GeoPoint Comparison geopoint value.
distance number Distance value.
[metrics] string radians A string representing what unit of measurement is used for distance. Possible values: radians, km, miles.
Start a free trial Request a demo
Contact us: +1-888-365-2779
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.