Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rdw_data/src/providers/mod.ts>Where.withinCircle

Get data from RDW using Deno/Node
Latest
method Where.withinCircle
import { Where } from "https://deno.land/x/rdw_data@0.7.0/src/providers/mod.ts";

This function is used on fields of type Location to find records within a given circle

Parameters

field: string | FieldObject<DataType.Location>

The field to search

lat: number

The latitude of the center of the circle

lon: number

The longitude of the center of the circle

radius: number

The radius of the circle in meters