weights column containing every record in a dataframe within a specified threshold distance.
The weights column is an array of structs containing the attributes from each neighbor and that neighbor’s weight. Since this is a binary distance band function, weights of neighbors within the threshold will always be
1.0.
Signatures
Parameters
Geometry
required
The input geometry.
Double
required
The maximum distance threshold for including neighbors.
Boolean
required
Whether to include neighbors at zero distance.
Boolean
required
Whether to include the record itself as its own neighbor.
Boolean
required
Whether to use spheroidal distance calculation.
Struct
required
The struct of attribute columns to include from each neighbor.
Return type
A struct containing the result fields.

