Split Territory
territory_splitTerritory split: divides one territory (e.g. an oversized one) into two while changing the rest of the alignment as little as possible (N to N+1 territories). Needs source_tal_id and target_territory_id, plus the Territory Solution from map_session_id (the open map), ts_handle, or ts. Workload balance needs dwell_time; a missing id or dwell returns CLARIFICATION_REQUIRED with the question. Writes a new derived alignment; the source stays. Returns a task; the result carries disruption_summary (retention_pct).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| objective | No | ||
| ts_handle | No | ||
| dwell_time | No | ||
| part_layer | No | ||
| point_layer | No | ||
| new_tal_label | No | ||
| repair_policy | No | Topology repair for dissolved territories. default fills interior holes in the dissolved geometry (no part is added or reassigned; repair_summary.changed_part_ids lists the territories' own parts). report_only detects holes and changes nothing (warning REPAIR_AVAILABLE). strict fails with REPAIR_REQUIRED when a hole is found. | default |
| source_tal_id | No | ||
| map_session_id | No | ||
| balance_tolerance | No | ||
| disruption_weight | No | ||
| new_territory_label | No | ||
| target_territory_id | No | ||
| visit_frequency_field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||