SharedItemRetriever
从内部FMelibrary中检索出现的外观,纹理,栅格或几何定义。
输入Ports
输出端口
Features with the retrieved shared item(s).
没有几何部分与几何XQuery匹配的功能。
Parameters
Shared Items To Retrieve
此参数指定要检索的哪些类型的共享项。可以选择外观,纹理,光栅和几何定义的任何组合。
This parameter specifies whether to retrieve Shared Items using IDs stored on appearances,traits,或从几何属性本身。
当检索属性,这个参数specifies the name of the attribute(s) from which to retrieve Shared Item IDs.
从中检索时traits,此参数指定从中检索共享项目ID的特征的名称。
在从几何属性中检索纹理或栅格时,此参数指定应检索共享项目的几何图形的侧面。它们可以从每个指定几何形状的前部,背面或前后检索它们。
如果Output Duplicate Items被设定为No, a shared item is output only once if the item is shared by multiple geometries. If this parameter is set toYes,即使存在重复项,也会输出共享项的每一个使用都会输出单独的功能。
如果Retrieve Items Recursively被设定为Yes,几何定义will have any contained Geometry Instances fully instantiated. Appearances will include retrieved Textures and Rasters. Textures will include retrieved Rasters.
如果此参数设置为No,几何定义将有任何包含的几何实例作为参考。外观将包括对纹理和栅格的引用。纹理将包括对栅格的引用。
如果要将传输到变压器传入的几何图形的一部分仅隔离,请使用此参数。如果未指定条件,则操作将应用于各个级别的整个几何图形。
选择可以基于结构位置,几何名称,类型,外观信息,特征,特质存储类型或定义引用。使用的语法是一个受限制的XQuery集,其中返回子句是固定的。
基本几何XQuery对话框允许您通过自动根据指定的测试条款自动编写必要的查询来构建简单的选择查询。单击“切换到”高级“按钮打开”高级编辑器“,允许您键入Query Free-form,以获取更多富有效果查询。
Note: ">Note:Once you switch to Advanced mode, you will have to clear all parameters before you can return to Basic mode.
分层几何形状表示为类型几何的节点,其中属性包含关于每个几何图形的特征,类型和名称的信息。
Output Feature Handling
This parameter specifies whether to copy attributes from input features onto output features.
如果此参数设置为降低, 那就不要geometry traitswill be copied onto the output Appearance features.
如果此参数设置为Keep as Attributes, all traits from the geometry that referenced the appearance will be copied onto the output Appearance features as attributes.
如果输入Traits被设定为Keep as Attributes,Output Duplicate Items被设定为Yes, and shared IDs are being retrieved from Geometry Properties, this parameter specifies whether to store appearance usage info as attributes. In this case, the following attributes will be placed on the output feature, if appropriate. These values describe in more detail exactly how the Texture was specifically applied to the geometry from which it was referenced.
Attribute Name |
描述 |
---|---|
fme_geometry_part_name. |
几何部分名称:这是在几何部分上引用外观的几何名称 |
fme_appearance_from_front |
从前面的外观:此属性将存在并具有值yes如果外观放在几何部分的前部。如果它未连接到前部,则不会出现此属性 |
fme_appearance_from_back. |
Appearance From Back: This attribute will be present and have the valueyes如果外观放在几何部分的背面。如果未连接到后部,则不会出现此属性。 |
fme_appearance_texture_gen_info |
Appearance Texture Gen Info: Generally speaking, this will hold all the details required to understand how the texture coordinates were generated for the geometry part which referenced this appearance. (Texture coordinates may be viewed as a way of mapping from the Specifically, this parameter contains the data necessary to extrapolate the XYZ to UV transformation required to transform data based in ground coordinates into the same coordinate space as the texture came from. 逗号以以下格式分隔值: X,Y,Z,U1,V1,dU2,dV2,dU3,dV3,a,b,c,d,e,f Where(X,Y,Z)is the first selected representative coordinate,U1,V1is the texture coordinate at that location,(dU2,dV2)是第一和第二所选代表纹理坐标之间的区别,和(dU2,dV2)是第一和第三选择代表纹理坐标之间的差异。由此表示的矩阵a,b,c,d,e,fallows for the calculation of two parametric values, alpha and beta such that the following expression can be used to map from(X,Y,Z)空间 - >(u,v)空间,或相反的,如果美国er wishes to later bring geometries into the same coordinate space as the Raster, or the reverse, in further feature processing. 给定地面坐标(x,y,z), find(紫外线): dX = x-X dY = y-Y dZ = z-Z alpha = a * dx + b * dy + c * dz beta = d * dx + e * dy + f * dz u = alpha*dU2+beta*dU3+U1 v = alpha * dv2 + beta * dv3 + v1 For example, one value for this attribute may be: `-0.500576565314848,0.803943350158095,4.94542140836595,-1.11022302462516e-015,1.98164442416027e-015,1.11022302462516e-016,0.999999999999999,0.999999999999999,1,-6.55663808803325,-6.16047694893307,-4.1725949293875,-0.292710919283411,5.84378207124815,3.53907266079942' |
The name of the attribute on which to store the Shared Item ID of each retrieved item.
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变换器参数菜单选项.
Defining Values
There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.
Using the Text Editor
The Text Editor provides a convenient way to construct text strings (including regular expressions) from various data sources, such as attributes, parameters, and constants, where the result is used directly inside a parameter.
Using the Arithmetic Editor
算术编辑器提供了一种方便的方法来构建来自各种数据源的数学表达式,例如属性,参数和特征函数,其中结果直接在参数内使用。
Conditional Values
Set values depending on one or more test conditions that either pass or fail.
Parameter Condition Definition Dialog
内容
表达式和字符串可以包括许多函数,字符,参数等。
When setting values - whether entered directly in a parameter or constructed using one of the editors - strings and expressions containing String, Math, Date/Time or FME Feature Functions will have those functions evaluated. Therefore, the names of these functions (in the form @<function_name>) should not be used as literal string values.
These functions manipulate and format strings. | |
Special Characters |
文本编辑器中提供了一组控制字符。 |
Math functions are available in both editors. | |
Date/Time Functions | 文本编辑器中提供日期和时间函数。 |
这些运算符可在算术编辑器中使用。 | |
These return primarily feature-specific values. | |
FME and workspace-specific parameters may be used. | |
创建和修改用户参数 | 创建自己的可编辑参数。 |
对话框选项 - 表格
Transformers with table-style parameters have additional tools for populating and manipulating values.
行重新排序 |
启用后,单击行项目后。选择包括:
|
Cut, Copy, and Paste |
启用后,单击行项目后。选择包括:
Cut, copy, and paste may be used within a transformer, or between transformers. |
Filter |
Start typing a string, and the matrix will only display rows matching those characters. Searches all columns. This only affects the display of attributes within the transformer - it does not alter which attributes are output. |
进口 |
导入使用从数据集读取的一组新属性填充表。特定应用在变压器之间变化。 |
Reset/Refresh |
Generally resets the table to its initial state, and may provide additional options to remove invalid entries. Behavior varies between transformers. |
Note:Not all tools are available in all transformers.
FME Licensing Level
FME Professional edition and above
FME Community
FME社区是演示亚搏国际在线官网,TOS,文章,常见问题和更多的地方。获取您的问题的答案,从其他用户学习,并建议,投票和评论新功能。
搜索有关此变压器的样本和信息FME Community.