Cluster Points
cluster_pointsGroups the points of one ingested layer into balanced clusters directly, with no ZIP or part layer and no territory alignment. Writes group_field (default group_id) on every point and colors the layer by it, replacing any prior color classification (size and shape channels stay). Needs build_mode (fixed_territory_count or fixed_workload_target), objective, and dwell_time, as in auto_build; a missing one returns CLARIFICATION_REQUIRED with the question. point_filter (e.g. {STATE: FL}) clusters a subset of the layer; unmatched points stay, ungrouped. Max 10,000 points after the filter. seed_point_layer, a second point layer such as technician homes, anchors one group per seed (the seed count matches the group count, else seed_count_mismatch); seed_attraction 0-100 (default 70) is the pull of each seed on its group. Returns a task; the result lists groups with point_count, workload_hours, and point_ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| objective | No | ||
| ts_handle | No | ||
| build_mode | No | ||
| dwell_time | No | ||
| group_field | No | group_id | |
| point_layer | Yes | ||
| point_filter | No | ||
| metric_fields | No | ||
| map_session_id | No | ||
| seed_attraction | No | ||
| seed_point_layer | No | ||
| expected_revision | No | ||
| group_label_prefix | No | Group | |
| visit_frequency_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||