剪刀
执行几何剪裁操作。
此转换器接受多个剪辑边界(快船)以及一些需要裁剪的特征(剪子)。输出分为两组:部分剪子在剪辑边界内,以及剪子不在剪辑边界内的。这个剪子that intersect the clip boundaries will be cut into multiple sections (along the clip boundaries), and then each section will be added to the appropriate group. The剪子不相交的对象将直接添加到相应的组中,并在不进行修改的情况下输出。
输入端口
通过通过该功能路由到变压器剪刀端口确定了所有的区域克利普features are processed. The剪刀can consist of any area features (polygons, donuts, or aggregate polygons/donuts). The剪刀如果克利普输入由实体、点、点云或这些几何体的集合组成。遇到的任何无效剪辑功能都将被记录为警告并丢弃。
要剪裁的特征通过克利普港口。
输出端口
克利普完全在剪刀,和克利普相交于剪刀它们被分成了碎片。那些在盒子里面的碎片剪刀are output via this port.
克利普功能完全超出剪刀通过输出外面港口和克利普相交于剪刀它们被分成了碎片。那些在剪辑区域之外的片段通过这个端口输出。
无效剪刀特征(即非多边形特征)以及无效克利普features (that is, features with no geometry) are output via the
被拒绝的功能将具有FME_rejection_code具有以下值之一的属性:EXTRA_CLIPPER_FEATURE,INVALID_CLIPPER_GEOMETRY_TYPE.
参数
变形金刚
如果通过...分组attributes are selected, features with the same values in the通过...分组属性被放入相同的组中,并且在每个集合中发生剪切,与其他集合无关。
剪刀
- Single Clipper:只有一个剪刀将使用功能。
- 多人剪辑:全部剪刀将使用功能。
- 快船队首先:Clipper假设剪刀功能将在任何内容之前进入变压器克利普特征。还有吗剪刀在第一个克利普将记录警告并丢弃。
This attribute (if specified) will be added with a value ofyesto any features output via either theInside或外面被变压器切断的端口,值不到任何输出功能,没有被变压器改变。
z和测量参数
Specifies where to take the measures and Z values from. If只有Clippee选择时,将删除剪裁器的所有度量值和Z值。如果仅限Clipperis selected, all measures and Z values from the Clippee will be dropped.
当在2D中查看(忽略z)时,路径(可以定义多边形的边框)可能看起来是关闭的,如下图所示。在3D中查看时,该路径可能看起来可以打开,如下图所示。
To specify how (and if) paths should be closed in 3D, select one of the listed modes.
模式 | Description | 例子 |
---|---|---|
延伸 | 曲线延伸,使所有顶点留在原始位置。 | |
平均 | 未连接但共享x和y值的后续顶点将合并为一个顶点,其Z值是原始两个顶点的平均值。 | |
First Wins | 未连接的后续顶点,但共享x和y值组合成一个顶点,其z值从第一个遇到的顶点取出。 | |
最后的胜利 | 未连接但共享x和y值的后续顶点合并为一个顶点,其Z值取自最后遇到的顶点。 | |
忽视 | 忽略Z值。不会更改节点的连接方式。 |
此参数指定如何处理具有度量值但至少缺少一个值的几何体,或具有z值但至少缺少一个值的几何体。Dropwill cause the incomplete measure or z values to be removed.Use Default Value将用在中指定的默认值填充缺少的值Default Valueparameter.计算将查看缺失值的两侧的值,然后提供估计值。
此值与Default ValueMeasures/Z Conflict Mode标记缺少的度量值和z值。
当使用计算模式来计算缺失的度量值,可以考虑度量值连续,和linearly interpolated from their neighbors, or they can beDiscrete,和taken exactly from the nearest neighbor.
矢量参数
此参数指示应该对执行的操作克利普完全位于剪裁器边界上的特征。
- Treat as Inside:这些位于边界上的特征通过Inside港口。
- 外面对待:这些位于边界上的特征通过外面港口。
- 视为内部和外部:边界上的点和线段是复制和输出Inside和外面.
如果创建聚合参数为不,则裁剪到多个部分的特征将不会聚合,而是将每个部分作为单独的特征输出。
如果设置为Yes,则构成输出特征边界的连续线将作为路径中的单独线段保留。默认值为不,这意味着除非这些行具有不同的属性(例如,traits、measures和geometry name),否则它们将在输出中连接到较长的行中。
光栅参数
如果此参数设置为不,的Insiderasters which were clipped will be equal to the intersections of the clippers and clippees. Otherwise, the intersections will be padded by nodata so that the extents are identical to those of the input rasters.
Merge Attributes
如果Merge Attributes参数为enabled, attributes on the剪刀将合并到克利普as defined by the parameters within the expandable group. Otherwise, no attribute merging will take place.
如果剪刀和克利普要素共享相同的名称,但不是以FME_,则认为它们是冲突的。
合并裁剪器:的克利普特性将保留它自己的所有非冲突属性,并将另外获取剪刀功能已完成。此模式将基于冲突解决parameter.
前缀裁剪器:的克利普功能将保留其自身的所有属性。此外克利普将获得反映剪刀功能的属性,名称的前缀为前缀parameter.
只能使用剪子:的克利普feature will have all of its attributes removed, except geometry attributes that start withFME_.这个n, all of the attributes from one (arbitrary)剪刀feature will be placed onto the克利普.
使用clippee.: If a conflict occurs, the克利普将保留值。
Use Clipper: If a conflict occurs, the values of the剪刀将被转移到克利普.
如果积累模式参数设置为前缀裁剪器,此值将作为要添加到克利普来自剪刀功能。
Usage Notes
- 此转换器可用于光栅、点云和矢量数据。
- This transformer is unaffected by raster band and palette selection.
- 剪裁的光栅单元(即剪裁器外部但属于Insideraster) will be set to the nodata value. If a nodata value has not been set, clipped raster cells will be set to 0. To set a value for nodata, use theRasterbandNodeSetter公司transformer prior to the Clipper.
例子
下面的示例说明了左侧的输入功能和右侧的输出功能。输入和输出都由剪裁边界(1)组成(快船)蓝色和剪辑功能(2)(剪子) in red. The output then splits the features into two groups: Inside port and Outside port.
这个克利普features highlighted in white fall within or intersect the clipper, and these features are output to theInside(3) 港口。这个克利普超出剪裁边界的特征将输出到外面(4) 港口。
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作空间中的其他元素来指定转换器参数。更高级的功能,如高级编辑器和算术编辑器,也可以在一些变压器。要访问这些选项的菜单,请单击在适用参数旁边。有关详细信息,请参阅Transformer Parameter Menu Options.
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心.
标签关键词:MBR“最小边界矩形”栅格网格夹剪辑Clippee子集范围样品绑定清洁混合过冲下沙POINTCLOUD