Number Features By Sector (Defense Tools)
Summary
Adds a sequential number to a new or existing field of a set of input features based on a geographic grouping to which the features belong.
Usage
Adding a sequential number to an existing field will overwrite the values in that field.
When naming a new field to number in the Field to Number (Existing or New) parameter, the first letter must be an alpha character, and the remaining letters must be alphanumeric or underscores.
Features outside of the Sector Polygons parameter value will automatically set the Field to Number (Existing or New) parameter to Null.
When numbering features other than points, all features that are contained in or intersect the Sector Polygons parameter value will be numbered.
Each sector starts a new number sequence based on an increment value.
The Spatial Sort Method parameter will be inactive if a
SortMethodfield exists in the Sector Polygons parameter value. Values from theSortMethodfield will be used instead. Valid values for theSortMethodfield are the following:UR—Features will be sorted starting at the upper right corner.UL—Features will be sorted starting at the upper left corner.LR—Features will be sorted starting at the lower right corner.LL—Features will be sorted starting at the lower left corner.PEANO—Features will be sorted using a space-filling curve algorithm, also known as a Peano curve.CENTER—Features will be sorted starting from a center point (the mean center will be used if no center is supplied).CLOCKWISE—Features will be sorted starting from a center point and moving clockwise.COUNTERCLOCKWISE—Features will be sorted starting from a center point and moving counterclockwise.NONE—No spatial sort will be used. The same order as the feature class will be used.
The Increment Sectors By parameter will be inactive, if a
StartNumberfield exists in the Sector Polygons parameter value. Values from theStartNumberfield will be used instead. TheStartNumberfield type must be Long.The following sort methods do not use a center point and are applied per sector:
Upper right
Upper left
Lower right
Lower left
Peano curve
The following sort methods are applied on a per-sector basis when the Center Point parameter value is not specified:.
Center
Clockwise
Counterclockwise
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Features |
The input features that will be numbered. |
Feature Set |
|
Sector Polygons |
The input polygons representing sectors that will be used for numbering. |
Feature Set |
|
Field to Number (Existing or New) |
The input field that will be numbered. The field can be an existing short, long, or text field, or a new field. |
Field |
|
Field Type For New Field (Optional) |
Specifies the field type that will be used for the new field. This parameter is only used when the field name does not exist in the input table.
|
String |
|
Spatial Sort Method (Optional) |
Specifies how features will be spatially sorted for the purpose of numbering. Features are not reordered in the table.
|
String |
|
Increment Sectors By (Optional) |
The value that will be used to increment by from the previous sector. |
Long |
|
Center Point (Optional) |
The center point that will be used to sort and number features. |
Feature Set |
|
Add Distance and Bearing to Center (Optional) |
Specifies whether fields will be added to the output for distance and bearing to a center point.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Feature Class |
The updated feature class. |
Feature Class |
Environments
Extent, Current Workspace, Scratch Workspace
Licensing information
- Basic: No
- Standard: No
- Advanced: Yes