AreaBuilder
Takes a set of topologically connected linework and creates topologically correct polygon features where the linework forms closed shapes.
输入端口
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The input lines must be topologically correct and must neither self-intersect nor intersect each other. They must close at their endpoints. If these conditions are met, any area features implied by the input lines are created. (You can use theSnapper,Intersector, andMRF2DCleanerto clean data that does not meet these conditions before it enters this transformer.) This transformer can also create polygons and donuts (holes/islands). Any lines that cannot be formed into polygons are joined together to create maximum length linestrings.
Output Ports
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Contains the output polygons.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Contains any lines that did not close. IfCreate Donutsis checked, it also contains degenerate polygons.
Parameters
Transformer
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
默认行为是使用整个组我nput features as the group. This option allows you to select attributes that define which groups to form – each set of features that have the same value for all of these attributes will be processed as an independent group.
No attributes other than the通过...分组ones will be carried across from the输入输出功能的功能。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Note:How parallel processing works with FME: seeAbout Parallel Processingfor detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by the通过...分组parameter.
Parallel Processing Levels
For example, on a quad-core machine, minimal parallelism will result in two simultaneous FME processes. Extreme parallelism on an 8-core machine would result in 16 simultaneous processes.
You can experiment with this feature and view the information in the Windows Task Manager and the Workbench Log window.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
No: This is the default behavior. Processing will only occur in this transformer once all input is present.
By Group: This transformer will process input groups in order. Changes on the value of the通过...分组parameter on the input stream will trigger batch processing on the currently accumulating group. This will improve overall speed if groups are large/complex, but could cause undesired behavior if input groups are not truly ordered.
Polygon Parameters
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Specifies whether curve endpoints must be connected in X,Y, and Z before being joined together (as opposed to just X, and Y). Note that if this is set toNo, then theConnect in Z Mode参数会指定段的Z值s that are not connected in 3D should be treated.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
当在2D中查看(忽略z)时,路径(可以定义多边形的边框)可能看起来是关闭的,如下图所示。在3D中查看时,该路径可能看起来可以打开,如下图所示。
要指定如何(和if)路径应在3D中关闭,选择其中一个列出的模式。
Mode | Description | Example |
---|---|---|
延长 | 曲线延伸,使所有顶点留在原始位置。 | ![]() |
Average | Subsequent vertices that are not connected, but share an x and a y value are combined into one vertex, whose Z value is the average of the original two. | ![]() |
First Wins | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值从第一个遇到的顶点取出。 | ![]() |
Last Wins | Subsequent vertices that are not connected, but share an x and a y value are combined into one vertex, whose Z value is taken from the last encountered vertex. | ![]() |
忽视 | Z values are ignored. No change is made to the way the nodes are connected. | ![]() |
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果set toYes, then when lines originating from different input curves are concatenated into a longer curve in the output, they will be left as separate segments in a path. The default isNo, which means that such lines will be joined into longer lines in the output unless they have different properties (for example, traits, measures, geometry name).
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Specifies that coordinate "cycles" within a polygon are allowable and will be constructed; such polygons might be considered invalid by other parts of FME or by output formats. A "cycle" is a line segment that occurs twice in the same polygon's boundary (once in each direction).
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Specifies if the direction of the input curves needs to be considered while building polygons. If set toYes, only curves that are tip-to-tail will result in polygons, all others will be output through the “Incomplete” port.
Create Donuts
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果checked, the resulting polygons will contain holes created by any other resulting polygons they completely contained. Following this, any holes that share a common edge will be dissolved together to make a larger hole.
如果unchecked, the resulting polygons are output via theAreaport. Note that if you want to create donut polygons, you will need to use theDonutBuilder.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Yes: Polygons that are holes of another polygon will not be output.
No: Polygons that are holes of another polygon will be output.
Attribute Accumulation
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果删除传入的属性选择,输出功能将不会保留任何输入属性。如果Merge Incoming Attributesis chosen, the output feature will merge all input attributes. If从一个代表功能获取属性is chosen, the output feature will get attributes from only one input feature.
Generate List
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
如果you enter aList Name, a list will be created on each output feature, containing an element for each input feature which contributed to that geometry, in order of appearance.
This parameter can also be used to preserve attributes from input features.
Note:List attributes从工作台中的输出架构无法访问,除非首先使用在它们上操作的变压器处理它们,例如ListExploderorListConcatenator. All list attribute transformers are displayed in the Contents pane of the Transformer Help underLists. Alternatively,AttributeExposercan be used.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
All Attributes:从创建输出功能的所有输入功能中的每个属性都将添加到指定的列表中List Name.
Selected Attributes: Only the attributes specified in theSelected Attributesparameter will be added to the list specified inList Name.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
要添加到列表的属性Add To ListisSelected Attributes.
Snapping Pre-Processing Parameters
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
When this parameter is set to没有, no snapping takes place.
When this parameter is set toEnd Point Snapping, the transformer:
- Snaps end points of lines together if their distances are within the specified tolerance.
When this parameter is set toVertex Snapping, the transformer does the following:
- Snaps vertices of lines together if their distances are within the specified tolerance.
When two features are snapped together, the feature that entered the factory most recently is the one that is modified.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Snapping Tolerancespecifies the distance, in ground units, that the snapping occurs between features.
Example
下面的示例说明了左侧左侧的一组拓扑连接的线路和右侧区域Builder变压器的输出。在输出中,拓扑正确的多边形以蓝色形成封闭形状的蓝色突出显示,而没有关闭的线条以红色显示。
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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.
TagsKeywords: CAD fenceline island ring PolygonBuilder Polygonizer