How to create circular sectors from table data?
July 29 2011 |
I need to create a map layer that contains a large number of features representing mobile phone network cells. The cellsshall have the form of a circular sector (part of circle enclosed by two radii and arc). My input is a table of some kind with several hundret rows (secors) and columns like (not yet fixed) X/Y center of circle, direction of centerline of sector and radius.
I need to find a way to automate the creation of the sectors, but I have no clue, how to accomplish this.
Any input is greatly appreciated!!!
Thank you, Manfred
Mapping Center Answer:
There isn't an out-of-the-box solution to create these features but attached to this reply is a custom built tool (for ArcGIS v10.0 SP2) that creates pie sector features using inputs from a table. To use the tool, save and unzip the file in a suitable location on your computer. This will create a toolbox (Sectors) and three directories that contain test data (Tooldata), documentation (Docs) and the scripts (Scripts) for the tool.
To run the tool, navigate to the Sectors toolbox using ArcCatalog in ArcMap, expand the toolbox and then double-click the Geodesic_Sectors tool which opens a dialog box. You should specify the input table (in dbf format), an output feature class (in a file geodatabase) and the required parameters:
- longitude, latitude (in decimal degrees) to define the origin of the sector
- sector bearing (decimal degrees with North as zero) to define the direction of the sector away from the origin
- sector radius (length in map units) to define the length of the sector
- sector angle (in decimal degrees) to define the angle of opening or spread of the sector
- distance units (in map units)
These parameters are defined by selecting the appropriate fields from your input table.
Once you have completed the required parameters, click OK to run the tool which will create the geodesic pie sectors and add them to your Table of Contents.
Let us know how you get on with this solution! We'll be writing a blog entry on Mapping Center that explains the tool in more detail.
If you would like to post a comment, please login.