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 distance weighted distance band, weights will be distance^alpha.
Signatures
Parameters
Geometry
required
The input geometry.
Double
required
The maximum distance threshold for including neighbors.
Double
required
The exponent applied to the distance for weight calculation (weight = distance^alpha).
Boolean
required
Whether to include neighbors at zero distance.
Boolean
required
Whether to include the record itself as its own neighbor.
Double
required
The weight value to assign when the record is 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.

