阅读:3032回复:0
[原创]FME函数速查手册(6)-Transformer Quick-Reference(6)
<TABLE cellSpacing=0 cellPadding=0 width=653 border=0 x:str>
<COLGROUP> <COL style="WIDTH: 104pt; mso-width-source: userset; mso-width-alt: 4448" width=139> <COL style="WIDTH: 194pt; mso-width-source: userset; mso-width-alt: 8288" width=259> <COL style="WIDTH: 191pt; mso-width-source: userset; mso-width-alt: 8160" width=255> <TR height=30> <TD class=xl24 width=139 height=30 x:str="ExpressionEvaluator "><FONT size=2><FONT face=Verdana>ExpressionEvaluator </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Evaluates an arithmetic expression and returns the result in a new attribute. "><FONT size=2><FONT face=Verdana>Evaluates an arithmetic expression and returns the result in a new attribute. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>表达式计算,结果输出为新的属性</FONT></TD></TR> <TR height=15> <TD class=xl24 width=139 height=15 x:str="Extender "><FONT size=2><FONT face=Verdana>Extender </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Creates extensions to linear features. "><FONT size=2><FONT face=Verdana>Creates extensions to linear features. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>延长线状要素</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="FeatureMerger "><FONT size=2><FONT face=Verdana>FeatureMerger </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Merges the attributes of one feature onto another feature. "><FONT size=2><FONT face=Verdana>Merges the attributes of one feature onto another feature. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>将一个要素的属性合并到另一个要素</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="FeatureTypeExtractor "><FONT size=2><FONT face=Verdana>FeatureTypeExtractor </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Adds an attribute containing the original feature type of a feature. "><FONT size=2><FONT face=Verdana>Adds an attribute containing the original feature type of a feature. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>获得要素类型并输出为新的属性</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="FeatureTypeFilter "><FONT size=2><FONT face=Verdana>FeatureTypeFilter </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Separates the features routed to it into their original feature types, if possible. "><FONT size=2><FONT face=Verdana>Separates the features routed to it into their original feature types, if possible. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>根据原来的要素类型重新区分输入的要素</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="GeometryCoercer "><FONT size=2><FONT face=Verdana>GeometryCoercer </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Resets the geometry type of the feature. "><FONT size=2><FONT face=Verdana>Resets the geometry type of the feature. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>改变要素的图形类型</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="GeometryFilter "><FONT size=2><FONT face=Verdana>GeometryFilter </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Routes a feature based on its geometry type. "><FONT size=2><FONT face=Verdana>Routes a feature based on its geometry type. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>根据要素的图形类型进行分类输出</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="GeometryRemover "><FONT size=2><FONT face=Verdana>GeometryRemover </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Completely removes the geometry of the feature. "><FONT size=2><FONT face=Verdana>Completely removes the geometry of the feature. </FONT></FONT></TD> <TD class=xl24 width=255><FONT face=Verdana size=2>删除图形数据</FONT></TD></TR> <TR height=45> <TD class=xl24 width=139 height=45 x:str="GlobalVariableRetriever "><FONT size=2><FONT face=Verdana>GlobalVariableRetriever </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Reads the specified global variable and puts its value into the specified attribute. "><FONT size=2><FONT face=Verdana>Reads the specified global variable and puts its value into the specified attribute. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>读全局变量的值,写入属性</FONT></TD></TR> <TR height=45> <TD class=xl24 width=139 height=45 x:str="GlobalVariableSetter "><FONT size=2><FONT face=Verdana>GlobalVariableSetter </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Creates and sets the specified global variable to the value of the specified attribute. "><FONT size=2><FONT face=Verdana>Creates and sets the specified global variable to the value of the specified attribute. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>根据属性的值创建并设置全局变量</FONT></TD></TR> <TR height=60> <TD class=xl24 width=139 height=60 x:str="GMLFeatureExtractor "><FONT size=2><FONT face=Verdana>GMLFeatureExtractor </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Constructs GML documents from the input features and stores them in the specified attribute for the features that are output by the GML port. "><FONT size=2><FONT face=Verdana>Constructs GML documents from the input features and stores them in the specified attribute for the features that are output by the GML port. </FONT></FONT></TD> <TD class=xl25 width=255><FONT size=2><FONT face=宋体>根据输入要素构建</FONT><FONT face=Verdana>GML</FONT><FONT face=宋体>文档并写入属性</FONT></FONT></TD></TR> <TR height=45> <TD class=xl24 width=139 height=45 x:str="GMLFeatureReplacer "><FONT size=2><FONT face=Verdana>GMLFeatureReplacer </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Constructs features out of GML documents that are stored in an attribute of the input features. "><FONT size=2><FONT face=Verdana>Constructs features out of GML documents that are stored in an attribute of the input features. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>根据属性中存储的GML文档构建要素</FONT></TD></TR> <TR height=90> <TD class=xl24 width=139 height=90 x:str="GOIDGenerator "><FONT size=2><FONT face=Verdana>GOIDGenerator </FONT></FONT></TD> <TD><FONT size=2><FONT face=Verdana>Calculates a GOID (Geographic Object IDentifier) for each incoming feature, and adds it as a new attribute. The GOID is a unique 128-bit number that incorporates the position of a feature with other numbers. </FONT></FONT></TD> <TD class=xl25 width=255><FONT size=2><FONT face=宋体>为输入的要素分别生成图形对象标识</FONT><FONT face=Verdana>(GOID)</FONT><FONT face=宋体>,GOID是一个唯一的128位的数字,其中包含了要素的位置和其它一些数字</FONT></FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="Grepper "><FONT size=2><FONT face=Verdana>Grepper </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Performs a regular expression match on the value of the specified attribute. "><FONT size=2><FONT face=Verdana>Performs a regular expression match on the value of the specified attribute. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>对属性值进行表达式匹配性判断</FONT></TD></TR> <TR height=75> <TD class=xl24 width=139 height=75 x:str="HexDecoder "><FONT size=2><FONT face=Verdana>HexDecoder </FONT></FONT></TD> <TD class=xl26 width=259 x:str="Decodes the given attribute into a new attribute, by converting its encoded hexadecimal value into a new ASCII string. Decodes a value that has been encoded from the HexEncoder. "><FONT face=Verdana><FONT size=2>Decodes the given attribute into a new attribute, by converting its encoded hexadecimal value into a new ASCII string. Decodes a value that has been encoded from the HexEncoder. </FONT></FONT></TD> <TD class=xl25 width=255><FONT size=2><FONT face=宋体>将</FONT><FONT face=Verdana>16</FONT><FONT face=宋体>进制编码的属性解码为ASCII字符串,输出为新的属性</FONT></FONT></TD></TR> <TR height=60> <TD class=xl24 width=139 height=60 x:str="HexEncoder "><FONT size=2><FONT face=Verdana>HexEncoder </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Encodes the given attribute into a new attribute, by converting its ASCII value into a hexadecimal string. Can be undone with the HexDecoder. "><FONT size=2><FONT face=Verdana>Encodes the given attribute into a new attribute, by converting its ASCII value into a hexadecimal string. Can be undone with the HexDecoder. </FONT></FONT></TD> <TD class=xl25 width=255><FONT size=2><FONT face=宋体>将属性中的</FONT><FONT face=Verdana>ASCII</FONT><FONT face=宋体>字符串编码为</FONT><FONT face=Verdana>16</FONT><FONT face=宋体>进制,输出为新的属性</FONT></FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="HoleCounter "><FONT size=2><FONT face=Verdana>HoleCounter </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Adds a new attribute whose value is the number of holes in the feature. "><FONT size=2><FONT face=Verdana>Adds a new attribute whose value is the number of holes in the feature. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>获得环中的孔的数量,输出为新的属性</FONT></TD></TR> <TR height=60> <TD class=xl24 width=139 height=60 x:str="InsidePointExtractor "><FONT size=2><FONT face=Verdana>InsidePointExtractor </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Generates a point guaranteed to be inside the area feature, and adds the coordinates of this point to the feature as attributes. "><FONT size=2><FONT face=Verdana>Generates a point guaranteed to be inside the area feature, and adds the coordinates of this point to the feature as attributes. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>生成多边形或环的内部点,其坐标写入属性</FONT></TD></TR> <TR height=60> <TD class=xl24 width=139 height=60 x:str="Intersector "><FONT size=2><FONT face=Verdana>Intersector </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Computes intersections between all input features, breaking lines and polygons wherever an intersection occurs. "><FONT size=2><FONT face=Verdana>Computes intersections between all input features, breaking lines and polygons wherever an intersection occurs. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>计算所有输入要素的交点并打断线、面</FONT></TD></TR> <TR height=30> <TD class=xl24 width=139 height=30 x:str="Joiner "><FONT size=2><FONT face=Verdana>Joiner </FONT></FONT></TD> <TD class=xl27 width=259 x:str="Queries a database to retrieve attributes associated with a feature. "><FONT size=2><FONT face=Verdana>Queries a database to retrieve attributes associated with a feature. </FONT></FONT></TD> <TD class=xl25 width=255><FONT face=宋体 size=2>查询数据库,获得与要素相关联的属性</FONT></TD></TR></TABLE> |
|