Outputs circular sectors of influence for point features that have directions defined by azimuths (degrees clockwise from North).
This transformer creates a number of sectors for each set of point features (collectively called a site), depending on each point’s direction of influence. Each sector fans out from the center point (site point) of the site it belongs to, and has a user-defined radius.
This transformer generates a Voronoi diagram that consists of polygons representing the closest areas around center points of sectors (site points). The final output will be the sectors truncated to the extents of their site’s corresponding Voronoi polygons.
This transformer has an additional output port that produces sectors truncated by Voronoi polygons, to eliminate possible overlaps between different sites.
Note: To create sectors that may overlap with sectors of other sites, use the SectorGenerator transformer instead.
In the telecommunications industry, directional antennas are used in conjunction with each other for better coverage and stronger signal reception. These antennas each cover a sector of a complete circle that an antenna tower covers, with some areas of overlap between each two sectors.
This transformer can be used to determine the “Nominal” (assuming a whole circle is covered and there are no overlaps between any two sectors) coverage field of directional antennas and receivers.
Input points and their azimuth values are received:
A center point is created for each site:
Note: Please note that after this step, the locations of input points play no part in the generation of sectors, and the values that determine sectors are the input points’ azimuths and radii.
Polygon sectors are generated. The sector corresponding to each point will span an area determined by the radius set and:
(The point's azimuth + adjacent azimuth (in degrees))/2
Two sides of a sector are found by one time choosing the closest azimuth clockwise and the next time counter-clockwise. Resulting sectors will look like this:
Voronoi polygons are generated, based on site points:
If two sites have overlapping sectors, the sectors are clipped by the Voronoi polygons to generate Cells:
This transformer accepts only points. All other geometries are rejected.
If 3D points enter this transformer, they are treated as if they were 2D points.
Sector polygons are output unclipped via this port. Output sectors of different sites may overlap each other.
These are the Voronoi polygons produced by the transformer and used to clip the output polygons of the Cells port.
Cells are sectors truncated by Voronoi polygons. The output sectors from this port do not overlap. To ensure correct output from this port, please refer to the Radius parameter.
For each site, a point is created with coordinates that are the average of the coordinates of all points accepted for that sector. This point is the center of all sectors generated for a site.
If a Sector Name Attribute is specified and there are points with the same sector and site names, only the first point meeting all requirements is considered for creating sectors and the rest are output from this port.
Upon entering transformer, if a point is found to be farther from any of the other points in its site than the specified Maximum Distance Between Site Points, it will be dropped from sector generation and output from this port.
Invalid features are left untouched and output via this port. Invalid features are non-point features and point features with missing or invalid values for required attributes.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.
Using the Text Editor
The Text Editor provides a convenient way to construct text strings (including regular expressions) from various data sources, such as attributes, parameters, and constants, where the result is used directly inside a parameter.
Using the Arithmetic Editor
The Arithmetic Editor provides a convenient way to construct math expressions from various data sources, such as attributes, parameters, and feature functions, where the result is used directly inside a parameter.
Set values depending on one or more test conditions that either pass or fail.
Expressions and strings can include a number of functions, characters, parameters, and more.
When setting values - whether entered directly in a parameter or constructed using one of the editors - strings and expressions containing String, Math, Date/Time or FME Feature Functions will have those functions evaluated. Therefore, the names of these functions (in the form @<function_name>) should not be used as literal string values.
|These functions manipulate and format strings.|
|A set of control characters is available in the Text Editor.|
|Math functions are available in both editors.|
|Date/Time Functions||Date and time functions are available in the Text Editor.|
|These operators are available in the Arithmetic Editor.|
|These return primarily feature-specific values.|
|FME and workspace-specific parameters may be used.|
|Creating and Modifying User Parameters||Create your own editable parameters.|
Dialog Options - Tables
Transformers with table-style parameters have additional tools for populating and manipulating values.
Enabled once you have clicked on a row item. Choices include:
Cut, Copy, and Paste
Enabled once you have clicked on a row item. Choices include:
Cut, copy, and paste may be used within a transformer, or between transformers.
|Start typing a string, and the matrix will only display rows matching those characters. Searches all columns. This only affects the display of attributes within the transformer - it does not alter which attributes are output.|
|Import populates the table with a set of new attributes read from a dataset. Specific application varies between transformers.|
Generally resets the table to its initial state, and may provide additional options to remove invalid entries. Behavior varies between transformers.
Note: Not all tools are available in all transformers.
The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.
Search for samples and information about this transformer on the FME Community.