Function geoWithinRadius

  • Geospatial filter that matches points within a radius from a given point.

    Depending on the index type, the filter will match GeoJSON values contained in list or map values as well (requires Aerospike server version >= 3.8).

    Parameters

    • bin: string

      The name of the bin.

    • lng: number

      Longitude of the center point.

    • lat: number

      Latitude of the center point.

    • radius: number

      Radius in meters.

    • OptionalindexType: indexType

      One of indexType, i.e. LIST or MAPVALUES.

    • Optionalctx: Context

      The cdt.Context of the index.

    Returns GeoPredicate

    Secondary Index filter predicate, that can be applied to queries using Query#where.

    v2.0

MMNEPVFCICPMFPCPTTAAATR