Label | Explanation | Data Type |
Input Line Features
| The input line features with intersections that will be lettered. | Feature Set |
Output Intersection Points Feature Class
| The output point feature class. | Feature Class |
Field to Letter (New Field Name)
| The name of the field that will contain the letter designator for each intersection. | Field |
Input Area to Letter
(Optional) | The area that will limit the intersections identified; only intersections within this area will be identified and lettered. | Feature Set |
Spatial Sort Method
(Optional) | Specifies how features will be spatially sorted for the purpose of lettering. Features are not reordered in the table.
| String |
Lettering Format
(Optional) | Specifies the labeling format that will be used for each feature.
| String |
Starting Letter
(Optional) |
The value that will be used to begin lettering. | String |
Omit Letters
(Optional) |
The values that will be omitted from the lettering sequence. | String |
Minimum Distance Between Output Points
(Optional) | The minimum distance between intersections that are identified for lettering. | Linear Unit |
Center Point
(Optional) |
The center point that will be used to sort and letter 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 |
Summary
Identifies intersections in a line feature class and adds sequential letters to output point features.
Usage
When naming a new field to letter in the Field to Letter (New Field Name) parameter, the first letter must be an alpha character, and the remaining letters must be alphanumeric or underscores.
Parameters
arcpy.defense.LetterIntersections(in_features, out_feature_class, field_to_letter, {in_area}, {spatial_sort_method}, {lettering_format}, {starting_letter}, {omit_letters}, {min_out_point_distance}, {center_point}, {add_distance_and_bearing})
Name | Explanation | Data Type |
in_features | The input line features with intersections that will be lettered. | Feature Set |
out_feature_class | The output point feature class. | Feature Class |
field_to_letter | The name of the field that will contain the letter designator for each intersection. | Field |
in_area (Optional) | The area that will limit the intersections identified; only intersections within this area will be identified and lettered. | Feature Set |
spatial_sort_method (Optional) |
Specifies how features will be spatially sorted for the purpose of lettering. Features are not reordered in the table.
| String |
lettering_format (Optional) | Specifies the labeling format that will be used for each feature.
| String |
starting_letter (Optional) |
The value that will be used to begin lettering. | String |
omit_letters [omit_letters,...] (Optional) |
The values that will be omitted from the lettering sequence. | String |
min_out_point_distance (Optional) | The minimum distance between intersections that are identified for lettering. | Linear Unit |
center_point (Optional) |
The center point that will be used to sort and letter features. | Feature Set |
add_distance_and_bearing (Optional) | Specifies whether fields will be added to the output for distance and bearing to a center point.
| Boolean |
Code sample
The following Python window script demonstrates how to use the LetterIntersections function.
import arcpy
arcpy.env.workspace = r"C:/data.gdb"
arcpy.LetterIntersections_defense("streets", "intersections", "intersection_id")
The following example uses the LetterIntersections function in an example workflow script.
# Find intersections, assign a unique value, and create a buffer.
# Import system modules
import arcpy
# Set environment settings
arcpy.env.workspace = r"C:/data.gdb"
# Find intersections
input_lines = "Streets"
output_intersections = "intersection_subset"
arcpy.LetterIntersections_defense(input_lines,
output_intersections,
"intersection_id",
"aoi",
"UL",
"A_B_C",
"A",
"L;O",
"50 Feet",
None,
"ADD_DISTANCE")
# Create buffers
arcpy.Buffer_analysis(output_intersections,
"intersection_buffers",
"40 Feet")
Environments
Licensing information
- Basic: No
- Standard: No
- Advanced: Yes