FeatureReader
Reads features from any FME-supported format.为进入的每个功能完成完整的读取Initiator港口。由读取产生的功能通过命名的输出端口或通过通用输出端口输出。
可以通过指定支持它们的格式的Where子句或空间过滤器来限制读取功能。大多数读取器设置和约束可以从输入功能上的属性值动态配置。
另外,为每个遇到的特征类型输出表示要素类型定义的架构功能。模式功能可用于配置动态写入的功能类型定义。
输入端口
Receives features that initiate feature reading.
输出Ports
输出port for schema features. If connected, a schema feature is produced for each unique feature type encountered during read. The schema feature is guaranteed to be output before any data features of the same feature type and is output only once per translation.
Schema reading may affect performance. If the schema feature output port is not connected or阅读功能设定为数据特征,然后不会发生模式读数,并且不会存在任何表现损失。如果指定要读取的要素类型列表,则架构读数将在输出所有列出的要素类型的模式时停止。如果列出了读取的功能类型,则在每个发起者功能都会发生模式读数。
只有通过配置变压器无法读取数据特征,只能提高性能。这是通过设置完成的阅读功能toSchema Featuresor by ensuring that the
参数forConstraintsor for属性和几何处理do not apply to schema features.
Upon read success, outputs the original Initiator features with the addition of the_matched_records.包含读取该发起者功能的数据功能数的属性。
参数
Reading
Reader
选择the Reader format and dataset, including any reader-specific parameters.
Constraints
输入将要读取的要素类型。单击浏览按钮可以从读取器生成的列表中选择功能类型。对于某种格式,参数可以留空,表示应读取所有要素类型。
When published, this parameter can be represented as a fixed list, a fixed list with aliases, or left as a dynamic list that determines the feature types at runtime.
功能类型也可以来自现有属性或从表达式生成。要指定要素类型,请使用空格分隔每个要素类型。如果要素类型名称包含空格或双引用,则引用具有双引号的整个功能类型名称,然后使用额外的双重报价退出任何内部双引号。例如,名为“我的”特殊“表”的特征类型将成为“我的”“特殊”表“”。
Note:Older versions of the FeatureReader using colon as a separator will work as before, but can be updated (seeFeature Type Separator).
此选项允许旧版本的FeatureReader更改属性中的多个要素类型的分隔符,以成为空格而不是冒号。结资分离器被弃用;一旦选择了空间,就无法重新选择冒号。
此选项仅适用于已升级为第5版或更新的FearyureReader的版本4和较旧的版本,并指定从属性读取的功能类型。
对于支持它的格式,只读取符合何Where子句的功能。
仅选择与Initiator功能满足指定的空间关系的功能。看Spatial Relations Defined对于允许的空间关系的描述。选择<没有空间过滤器>when no spatial filtering is desired. Select信封相交to read only those features whose envelope intersects the Initiator feature’s envelope.
空间滤波器的性能可能会有所不同ending on the spatial filter being applied and whether the reader supports a Spatial Index. Spatial Filtering is done in two steps: first the candidate features are read, then the more costly filter is applied. For readers that support a Spatial Index, the candidate features are fetched by performing a search envelope on the reader which can greatly improve performance as not all features are read. For readers that do not support a Spatial Index or when the relationship脱节被选中,所有功能都被视为候选功能,因此读取所有功能。检查格式的快速事实部分以查看读者是否支持空间索引。
Note that when setting the Spatial Filter from an attribute, the attribute value can be any of the options found in the drop down list.
Limits the number of data features on each read. If left empty or set to a number less than one, all features are read.
架构/数据功能
Schema and Data Features:根据连接是否连接它们的相应输出端口,读取和输出模式功能和数据功能。对于数据特征,这包括
Schema Features:仅读取和输出架构功能。数据功能未读取。
数据特征:仅读取数据功能。架构功能未读取。
Enable Cache
By default, this transformer rereads the original source data for each Initiator feature. To improve performance (for example, with web services, databases, or URLs), you can choose to create a preprocessed cache to improve speed when rereading the original source data.
这cache expires after the specified time interval, or if the original data file is modified.
Note:这Cache Timeoutvalue is also a component of the preprocessed cache. This means that different values ofCache Timeoutcorrespond to different versions of the cached dataset. For example, if the FeatureReader is set with aCache Timeoutof1小时,然后使用相同的数据集进行第二次,但是用一个Cache Timeoutof2hours, there will be two cached copies of this dataset.
输出
输出Ports
可以选择输出端口为可用于读取的要素类型的全部或子集生成。没有生成的输出端口的功能将退出通用输出端口。为了生成输出端口,必须完全指定和可访问读取器。
为每个要素类型生成输出端口以读取。
No additional output ports are generated. All feature types will exit out of the generic output port
Enter a list of feature types that will be used to generate the output ports. Feature types can also be selected from a list generated by the reader by clicking the Browse button.
属性和几何处理
合并发起者和结果:输出功能将包含来自读取结果的所有未冲突的属性以及来自启动器功能的任何未冲突的属性。此模式将根据此模式处理冲突属性解决冲突parameter.
Only Use Result: Output features will contain only attributes resulting from the read.
Only Use Initiator: Output features will contain all of the attributes from the Initiator feature, but none of the attributes resulting from the read.
前缀发起者: Output features will contain attributes resulting from the read, as well as attributes from the Initiator feature but with the Initiator attribute names prefixed with the字首parameter.
使用结果:如果发生冲突,则将使用读取产生的值。
使用Initiator.:如果发生冲突,将使用启动器的值。
If theAccumulation Mode参数设置为前缀发起者那this value will prefix attributes from the Initiator feature.
Result: The feature geometry from the results of the read is used.
Initiator:使用来自Initiator功能的功能几何图形。
Aggregate Initiator and Result:特征几何是从读取结果的来自发起者功能的几何形状的聚合。聚合几何形状将从读取的结果标记坐标系标记。发起者几何形状不会被谴责。如果它在不同的坐标系中,这可以创建意外结果。有关最佳效果,请确保发起者几何形状具有与所读取的几何相同的坐标系。
Port
输入属性的名称以曝光
Example
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, seeTransformer Parameter Menu Options。
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心。
标签关键字:查询查询器Oraclequerier RasteReader