DonutBuilder
Cuts holes in polygonal features by making polygons completely enclosed in other polygons into holes of the containing polygon.
DONUTBUILDERS假设输入区域功能是拓扑清洁的。此外,假设组内的任何两个输入多边形都具有严格的容纳关系,或者不重叠。
聚合特征递归地分解到它们的组件,并且将通过该组件输出非区域特征
输出端口
这resulting donut and hole features will be output through this port.
Features with non-area or null geometry will be output through this port.
Rejected features will have anfme_rejection_code使用值属性INVALID_GEOMETRY_TYPE。
参数
变压器
默认行为是使用整个组我nput features as the group. This option allows you to select attributes that define which groups to form. Each set of features which have the same value for all of these attributes will be processed as an independent group.
Note:How parallel processing works with FME: see关于并行处理有关详细信息。
此参数确定变压器是否应跨行进程执行工作。如果启用了,将为每个组的组启动一个过程Group By范围。
并行处理水平
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.
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 theGroup Byparameter 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.
参数
When viewed in 2D (ignoring Z), a path (which may define the border of a polygon) may appear to be closed as shown in the left figure below. This same path, when viewed in 3D, may appear to be open as shown in the right figure below.
To specify how (and if) paths should be closed in 3D, select one of the listed modes.
Mode | Description | 例子 |
---|---|---|
Extend | 这Curve is extended so that all vertices are left at their original location. | |
平均数 | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值是原始两个的平均值。 | |
First 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 first encountered vertex. | |
最后的胜利 | 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. | |
Ignore | Z values are ignored. No change is made to the way the nodes are connected. |
这Drop Holesparameter indicates whether or not features used to cut holes in containing features should themselves be dropped or output.
This parameter will be added to each output feature and will contain "yes" if that feature was used to cut a hole into some containing feature, and "no" if that feature was not used as a hole.
可以基于一个或多个属性的值以组中的组特征来考虑区域特征。然后考虑同一组中的特征,用于孔嵌套。
保留内部边缘(for advanced FME users) specifies that coordinate "cycles" within a polygon are allowable and will be preserved. A "cycle" is a line segment that occurs twice in the same polygon's boundary (once in each direction).
Attribute Accumulation
如果Merge Hole是chosen, attributes from all features will be merged, and in case of conflicts, the value of the解决冲突将使用参数。如果字首Hole被选中,然后将呈现所有孔属性的前缀集中字首范围。如果Only Use Hole是chosen, only attributes from hole features will be used.
This parameter is enabled whenAccumulation Mode是set toMerge Hole。Use Outer Shelland使用孔将分别在属性冲突的情况下优先考虑外壳和孔。
该值用作孔属性的前缀Accumulation Mode是字首Hole。
如果you specify aHole List Name,将在每个输出甜甜圈上创建一个列表,其中包含成为一个孔的每个输入特征的元素,按照孔在甜甜圈上出现的顺序。
Note:List attributesare not accessible from the output schema in Workbench unless they are first processed using a transformer that operates on them, such asListExploderorListConcateator。所有列表属性转换器都显示在变压器帮助的内容窗格中Lists。或者,AttributeExposer可以使用。
例子
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, see变压器范围Menu Options。
变压器Categories
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。
标签关键词:岛屿滚珠