作者指令

由FDO写入器处理的指令下面列出。显示的后缀是由当前的前缀 _在映射文件中。默认情况下,对于fdo作家是FDO

数据集

必填/可选:必需的

此指令的值是Writer Connection String。连接字符串是一种专门编码的字符串,指定通过FDO提供程序建立连接所需的所有信息。

The connection string is encoded with an XML-like encoding. By entering the connection information into the format settings box dialogs, Workbench will automatically encode the connection string properly. To encode the connection string manually within a mapping file or FME Objects, contact Safe Software.

Workbench参数:Destination FDO Provider Connection String

def

必填/可选:必需的

The FDO writer usesfdo_def.定义要素类的行。指定输出要素类的典型映射文件片段如下所示:

fdo_def  \ [fdo_index_column ] \ [fdo_gertry_column ] \ [fdo_overwrite_table ] \ [  [,] *

定义行上存在的配置参数在下表中描述:

范围

Contents

featureName

这声明了要素类的名称。

fdo_identity_column

This specifies the name of the default index data property that is created if no user attribute is specified as an IDENTITY attribute.

DefaultPrimaryIndex.

fdo_writer_mode.

这指定了功能类型级写入模式设置。有效值是UPDATE删除, 和继承_from_Writer.

注意模式仅允许operations where asUPDATE删除can be overwritten at the feature levels.继承_from_Writer.只需指示从Writer级别占用此值,而不会在要素类型级别覆盖它。

Default继承_from_Writer.

fdo_geometry_column.

这指定在创建新功能类时将包含几何图形的几何属性的名称。

DefaultGeometry

fdo_overwrite_table.

这指定了如果要素类已经存在于目标数据存储中的名称,则指定要拍摄的操作featureName。有效值是继承_from_Writer.是的, 和截短

Default继承_from_Writer.

attributename.

This declares the name of the data property. The maximum length of property names is 100 characters.

attributype.

这声明了数据属性的类型。有效值如下所示:

布尔基

约会时间

十进制(宽度,精度)

int16

int32

int64

byte

单身的

double

Char(宽度)

blob(宽度)

clob(width)

indexType

有效值为此参数是标识。

具有身份索引类型的属性必须唯一地标识要素类中的功能:无法将具有非唯一值的功能插入到目标fdo数据存储中。如果使用Identity索引类型声明多个属性,则那些多个属性表达了复合标识属性。

default_schema_name.

必填/可选:可选的

This directive specifies the FDO Schema name that is used if the destination feature type name lacks the Schema name component. If this directive is unspecified, then the string “Default” is used as the default Schema name.

default_schema_name默认值

Workbench参数:Default Schema Name

Writer_Mode.

必填/可选:可选的

笔记:有关此指令的更多信息,请参阅本章Database Writer Mode

此指令指定该编写器默认将执行的操作。业务是插,UPDATE, 或者删除。此操作的默认编写器级值可以在功能类型级别覆盖。相应的特征类型def调用参数名称Writer_Mode。它具有与编写器级别模式相同的有效选项,以及值继承_from_Writer.,这会导致由要素类型继承的写入级别模式作为写入该功能类型的要素的默认值。

还可以专门为各个功能设置操作,使用fme_db_operation.attribute. Note that when the writer mode is set to插,this prevents the mode from being interpreted from individual features and all features are inserted unless otherwise marked as update or delete features. These are skipped.

如果theWriter_Mode.指令未指定,然后是值的给出。

fdo_writer_mode插入

Workbench参数:Writer Mode

overwrite_all_tables.

必填/可选:可选的

此指令在默认情况下向FDO Writer通知每个要素类的操作,默认情况下将第一个功能写入该要素类时。有效值是是的, 和截短

如果值是是的,然后在将第一个要素写入该要素类之前,将要销毁特征类定义然后新创建。将删除要素类中的所有现有功能,并且对要素类定义进行的任何修改都将反映在创建的要素类中。目的地FDO提供程序必须支持删除命令和修改现有FDO模式的功能。

如果值是那then the writer does not perform any actions. Features will be appended to the Feature Class.

如果值是截短那then all features of that Feature Class will be erased, but the Feature Class definition stays intact: any changes made to the destination feature type will not be applied to the Feature Class definition in the destination Datastore.

此操作的默认编写器级值可以在功能类型级别覆盖。相应的特征类型def调用参数名称OVERWRITE_TABLES.。它具有与编写器级别模式相同的有效选项,以及值继承_from_Writer.,这会导致该设置由要素类型继承为默认为写入该功能类型的功能。

如果theoverwrite_all_tables.指令未指定,然后是值的给出。

fdo_overwrite_all_tables no.

Workbench参数:覆盖所有表

Batch_insert.

必填/可选:可选的

此指令指定插入的每个调用插入命令的功能数。如果FDO提供程序通过网络连接访问目的地数据存储,批量插入可以显着提高写入速度,因为批量插入减少了写入功能所需的网络往返行程的数量。如果FDO提供程序不支持批处理插入,则编写器将自动恢复为每个插入物的一个功能。每个插入的默认功能数是一个。

fdo_batch_insert 1

Workbench参数:每个批处理功能

TRANSACTION

必填/可选:可选的

此指令指定事务策略。

有效值是无和翻译。

如果不NE is specified, the writer will not use transactions when writing through the FDO Provider. The specific behavior is dependent on the FDO Provider, but commonly, if the translation halts before the successful completion of the translation, then changes made to the destination Datastore will not be rolled-back.

如果该值是翻译,则执行的所有命令将是单个事务的一部分,并且交易将在翻译结束时提交。如果在成功完成翻译之前翻译停止,则预期更改将被回滚,目标数据存储留在执行之前的正常状态。默认值是翻译。如果FDO提供程序不支持事务,则翻译将继续在不使用事务的情况下继续。

Mapping File Syntax

fdo_transaction翻译

工作台参数

交易环境

SPATIAL_CONTEXT_NAME

必填/可选:可选的

本指令指定FDO空间上下文to be associated with new Feature Classes automatically created by the writer. If the writer is writing features to an existing Feature Class, then this directive does not affect those features. When a new Feature Class is created, then the writer checks if the Spatial Context specified by this directive exists in the destination Datastore. If the Spatial Context does not exist, then a new Spatial Context is created with the coordinate system of the feature together with the creation parameters specified by the related directives范围_TYPE.XY_TOLERANCEZ_TOLERANCE, 和范围_COORDS.。如果使用指定名称找到现有的空间上下文,则由该存在指定的操作EXISTING_SPATIAL_CONTEXTdirective is performed. If an existing Spatial Context is not found and the FDO Provider does not have the ability to create new Spatial Contexts, then the Provider-dependent default Spatial Context will be associated with the new Feature Class.

如果this directive is not specified, then the writer will derive a Spatial Context name from the coordinate system of the first feature written to a feature type. If the feature does not have a coordinate system, then the writer will attempt to use a default spatial context in the destination Datastore.

fdo_spatial_context_name默认值

Workbench参数:空间上下文名称

EXISTING_SPATIAL_CONTEXT

必填/可选:可选的

此指令指定创建新功能类时要采取的操作以及指定的空间上下文名称SPATIAL_CONTEXT_NAMEexists in the destination Datastore. Valid values areUSEUPDATE, 和破坏。如果USE指定,然后现有的空间上下文与新功能类相关联。如果UPDATE指定,那么编写器将尝试使用功能的坐标系和相关指令指定的参数来修改现有的空间上下文范围_TYPE.XY_TOLERANCEZ_TOLERANCE, 和范围_COORDS.。如果破坏is specified, then the existing Spatial Context is destroyed then newly created. The Spatial Context cannot be destroyed if the Spatial Context is associated with any existing Feature Classes in the destination Datastore.

The default value isUSE

fdo_existing_spatial_context使用

Workbench参数:Existing Spatial Context

范围_TYPE.

必填/可选:可选的

此指令指定在创建或更新空间上下文时使用的范围类型。有效值是DYNAMIC静止的。如果值是DYNAMIC然后,当将功能插入到与空间上下文相关联的要素类中时,空间上下文的范围将根据需要生长。如果值是静止的那then the extent boundaries specified by the范围_COORDS.在创建或更新空间上下文时,请参阅指令。

The default value isDYNAMIC。如果FDO提供程序不支持指定的范围类型,则将使用其他范围类型。

FDO_EXTENT_TYPE DYNAMIC

Workbench参数:空间上下文范围类型

范围_COORDS.

必填/可选:可选的

此指令指定在创建或更新空间上下文时使用的范围边界。此指令的有效值是由空格分隔的四个浮点数。四个数字按顺序指定最小x值,最小值y值,最大值x值以及范围的最大值。

The default value is-1000000000 -1000000000 1000000000 1000000000

fdo_extent_coords' -1e9 -1e9 1e9 1e9'

Workbench参数:空间上下文范围

XY_TOLERANCE

必填/可选:可选的

此指令指定在创建或更新空间上下文时使用的X / Y轴公差值。有效值是浮点数。公差在于依赖于坐标系的距离单元。

The default value is1.0

fdo_xy_tolerance 1.0.

Workbench参数:空间上下文X / Y容差

Z_TOLERANCE

必填/可选:可选的

This directive specifies the Z-axis tolerance values used when creating or updating Spatial Contexts. Valid values are floating-point numbers. The tolerances are in distance units that depend on the coordinate system.

The default value is1.0

fdo_z_tolerance 1.0.

Workbench参数:空间背景z容差