build_and_transform_weights
Build spatial weights matrices in memory with queen, rook, distance-band, or KNN methods, and apply transformations for spatial analysis.
Instructions
Build and transform spatial weights in memory. method is queen, rook, distance_band, or knn.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_path": "<data_path>"
},
"name": "build_and_transform_weights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| binary | No | ||
| method | No | queen | |
| id_field | No | ||
| data_path | Yes | ||
| threshold | No | ||
| transform_type | No | r |