Label | Explanation | Data Type |
Input Cell Site Points
| The point feature class derived from the Cell Site Records to Feature Class or Cell Phone Records to Feature Class tool. | Feature Layer |
Output Sector Lines
| The output feature class containing the sector lines. | Feature Class |
Summary
Creates line features that represent the extent of cell site antenna sectors.
Usage
The tool requires an input point feature class derived from the Cell Site Records to Feature Class or Cell Phone Records to Feature Class tool.
The output features are determined by the azimuth (direction), beamwidth (angle), and radius (signal distance) fields of the input features.
The tool creates output lines used to represent the azimuth positioning of the cell site antenna sectors as well as the beamwidth. Visualizing cell site sectors using lines is important because it illustrates that extent of the cell site antenna sector is not definitive.
Parameters
arcpy.ca.GenerateSectorLines(in_site_features, out_feature_class)
Name | Explanation | Data Type |
in_site_features | The point feature class derived from the Cell Site Records to Feature Class or Cell Phone Records to Feature Class tool. | Feature Layer |
out_feature_class | The output feature class containing the sector lines. | Feature Class |
Code sample
The following Python window script demonstrates how to use the GenerateSectorLines function in immediate mode.
import arcpy
arcpy.env.workspace = r"C:/data/city_pd.gdb"
arcpy.ca.GenerateSectorLines("CDR_Phone_1_Sites", "sector_lines")
The following Python script demonstrates how to use the GenerateSectorLines function in a stand-alone script.
# Name: GenerateSectorLines.py
# Description: Create cell site antenna sector lines.
# Import module
import arcpy
# Set environmental variables
arcpy.env.workspace = r"C:\data\city_pd.gdb"
# Set local variables
in_features = "CDR_Phone_1_Sites"
out_features = "sector_lines"
# Execute the GenerateSectorLines tool
arcpy.ca.GenerateSectorLines(in_features, out_features)
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes