Predicates for geolocation usage with DseGraph and Search indexes.

Classes

Constants

unit

The units of length definitions that the GEO search predicate can handle.

Properties:
Name Type Description
miles Number

Equal to 5,280 feet, or 1,760 yards, and standardised as exactly 1,609.344 metres.

kilometers Number

Equal to one thousand meters.

meters Number

The base unit of length in the International System of Units (SI).

degrees Number

The degree of arc, defined so that a full rotation is 360 degrees.

Functions

inside

(Point or Polygon centerOrShape, [Number radius], [Number unit])

Search any instance of a certain token within the text property targeted.

Parameters:
Name Type Description
centerOrShape Point or Polygon

The center of the area or the shape to look into.

radius optional Number

The radius of the circle to look into.

unit optional Number

The unit of the radius, as defined by the unit member. Defaults to degrees.

Returns:
Type Description
GeoP