Creating Territories from Centers of Density
Creating territories from centers of density allows you to create territories without seed points. You can build territories in a new market where you have minimal knowledge, with no brick-and-mortar locations to start. This option will search territory centers near most dense places in the base layer and create territories from found centers. Centers of density can be found using spatial locations of features in a base layer only or in combination with some attribute, such as population or diversity.
Spatial locations are the centers of geographic objects, such as centers of ZIP Code polygons. The clustering algorithm analyzes the density of these center points and forms clusters from points with the higher density value. Then centers of these clusters are processed to create the desired number of territory centers.
The use spatial locations only command uses actual distances between center points for calculating the density value. Values of attributes are not applied in this case.
The use spatial locations and summary attribute command uses a modified formula for distance calculation:
Modified Distance = Distance / Density Coefficient
Where Density Coefficient = (Value of attribute from Feature 1 + Value of attribute from Feature 2) / 2;
This formula means that features with bigger values of attributes are closer to each other.
As a sample use case, suppose you create territories using an income summary attribute. A few families with an ordinary income live in a 10-square-mile area. In this case, the territory will not be created because the area is too large for a small number of families, and their income is ordinary. Conversely, consider a different area with the same geographic size and same number of families, but with large incomes. The territory will be created in this case because the calculated density value takes into account their large income.
How Territories are Created from Centers of Density
Source data analysis
In this phase, the base layer feature centers are analyzed to calculate the average density of the layer.
Density clusters calculation
The algorithm searches groups of feature centers with density more than the average of the whole layer density. This density creates the clusters.
Calculation of territory centers based on density clusters
For each density cluster, a calculated weight is based on balancing and capacity variables of the density cluster features. The density cluster centers are processed with help of the "k-means" algorithm accounting for the clusters weight. K-means finds the cluster's desired number of territory centers. Using the weight of clusters helps locate territory centers in positions most suitable to create equally balanced territories.
Import Territory Names from a Layer or Table
This feature allows you to select names for territories using a user database or a feature layer with territory names. This can be a table or layer containing a territory manager's list or other data suitable for naming territories. If it is a feature layer with a geometric field, then this field will be taken into account for assigning the name to a nearest territory. Importing territory names is available for Create Territories from Seed Points, Create Territories from centers of density, and Manually create territories.
As a primary use case, suppose you have a managers feature layer where the location field is the office location of the manager and the name field contains managers names. After creating territories, each territory will have the name of the nearest manager.
How does it work?
The source layer or table for importing territory names (Name Table) from can be selected in the Create Territories wizard.
If Use unique names only is checked, the names table will be filtered, and duplicates will not be used.
If you select a table without a location attribute, names will be assigned to territories one by one.
If you select a feature layer, each territory will search for the nearest name. Each name can be assigned only once (to only one territory). The selected feature layer can have any location field type. Nonpoint geometries will be converted to points using the Area Centroid method.
In Manual create territories mode, if you create a new empty territory, it uses the first unassigned name, even if the name has location information. Name tables are linked to the level selected in the Create territories wizard, allowing manually created territories to be selected from different name tables for each level. Name tables are serialized within the territory solution, so you can continue using selected name tables after loading the territory solution.
The Create Territories from Seed Points and Create Territories from centers of density commands will reset the name table after use, so it is not possible to use half of the names in auto mode and continue to create territories manually using the second half of the names.
If a Territory Extent is assigned, it will be applied to the names feature layer. Only names located inside the extent will be used for naming territories.
The names table has a limit on the number of records. Only the first 200,000 names will be used if this is a simple table, and the first 100,000 names located in the Territory Extent will be used if this is a feature layer.
If you decide to import territory names, then additional service options will be available on the page where the number of territories to create is selected.
Setting Capacity Values
Setting capacity values is an important feature to constrain your territories. A capacity value is a threshold you can set to ensure that a territory does not exceed one or more variable limits. For example, you can specify that all territories must stop growing in an area when a population of 150,000 is reached. The 150,000 figure is the capacity value. You can also set a tolerance value if more than one variable is used to create territories. A tolerance value gives a plus-or-minus range of the capacity value and allows more overall balanced territories. For example, if the capacity value is a population of 150,000 and the tolerance is set at 20,000 people, then the range is 130,000 as a floor and 170,000 as a ceiling.
Option 1: Each variable reaches capacity value
Territory creation is stopped only if all variables reach their specified values. As a result, some variables can be much greater than specified.
Option 1 with Tolerance activated: Territory creation stops if some variable(s) reaches the specified value and some variable(s) reaches the floor boundary (specified value minus tolerance).
Option 2: Any variable reaches capacity value
Territory creation is stopped if any variable reaches its specified values. As a result, some variables can be much less than specified.
Option 2 with Tolerance activated: The territory creation will continue while any variable hasn't yet reached the ceiling boundary (specified value plus tolerance) or all variables haven't yet reached the specified value.