knn_weights
Generate a k-nearest neighbors spatial weights object from point data for geospatial analysis using shapefile or GeoPackage input with specified neighbor count and optional ID field.
Instructions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_path | Yes | ||
id_field | No | ||
k | Yes |