Skip to content

geodalib / core/src / getDistanceNeighborsFromBinaryGeometries

Function: getDistanceNeighborsFromBinaryGeometries() ​

getDistanceNeighborsFromBinaryGeometries(input): Promise<number[][]>

Defined in: core/src/weights/distance-neighbors.ts:25

Calculates the neighbors within a distance band for a given set of geometries or latitude/longitude arrays.

Parameters ​

input ​

DistanceNeighborsFromBinaryGeometriesProps

The input parameters.

Returns ​

Promise<number[][]>

  • The nearest neighbors as an array of indices.