Snipper
Shortens the geometry of a line feature from the ends by snipping specified distances, indices, or measure values. It operates on features with simple line geometry and polygons without holes.
参数指定剪辑的起始和结束点。执行后,特征的几何形状将是表示在那些两个位置之间的原始线路部分的线,包括端点。如果在线的开始或结尾,则将生成新坐标,如果尚未在指定的位置处旁等。如果该行包含三维坐标,则每个端点处的Z值将线性地从原始特征的坐标内插,终点存在。
Parameters
模式
The mode you choose determines which parameters are available and how they are interpreted. Therefore, only the mode parameters are listed here.
In all modes, features containing geometry other than polygons or lines (for example, points and donut polygons) will be passed through this transformer untouched via the<被拒绝>port. Aggregate features, including homogeneous aggregates, are also rejected.
Distance (Value) or Distance (Percentage):从第一个坐标开始,可以将线路开始和结束的剪切的数量指定为地面单位的测量或线路整个长度的百分比。
A negative value specifies the final vertex on the line. Values larger than the measurement of the original line will be interpreted as the end point.
Each of these parameters may either be entered as a number, or can be taken from the value of a feature attribute by selecting the attribute name from the pull-down list.
If the测量模式是3D,线性特征具有Z坐标,所有测量将被视为从一个顶点到3D空间中的一个顶点的距离。否则,将仅考虑X和Y坐标,并且测量将是顶点之间的平面距离。
测量(相对于起点):在中指定的值Starting Location和Ending Location参数是指原始线的起点的测量值和结果线的开始或结束点的度量差异。
负值将被解释为原始线的起点,并且大于原始线路的测量值的值将被解释为终点。
If theMeasure Namefield is blank, the default measure values are used. Otherwise, the measure values with the name specified in theMeasure Namefield are used instead.
Measure (Value):在中指定的值Starting Location和Ending Locationparameters refer to the measure values at the start and end points of the resulting line.
Any value less than the input’s starting measure will be interpreted as the start point of the original line and values larger than the input’s ending measure will be interpreted as the end point of the original line.
If theMeasure Namefield is blank, the default measure values are used. Otherwise, the measure values with the name specified in theMeasure Namefield are used instead.
顶点:The vertices from the original line which are to form the first and last vertices of the resulting line are specified as a numeric index, with "0" being the first vertex of the line.
Negative numbers measure vertices relative to the last point in the line, with the value "-1" used to specify the vertex which is the last vertex of the line's geometry, "-2" the second last vertex, and so on. If the input vertex number is smaller than the negative absolute value of the total number of vertices, then it will be interpreted as the starting vertex of the original line and if it is larger than the total number of vertices, it will be interpreted as the ending vertex.
Each of these parameters may either be entered as a number, or can be taken from the value of a feature attribute by selecting the attribute name from the pull-down list.
Usage Notes
The测量模式parameter does not have any effect on two-dimensional lines, or when theSnipping ModeisVertex.
编辑变换器参数
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变换器参数菜单选项.
变压器类别
Transformer History
此变压器替换距离陷阱和顶点。
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.
TagsKeywords: DistanceSnipper VertexSnipper