You are here: > attributecompressor.

attributecompressor.

压缩和(可选地)加密指定属性的值。可以使用该压缩和加密的属性值来解压缩和解密AttributeDecompressor

该变形器特别适用于压缩大型XML块或几何存储属性。

跳转到配置

典型的用途

  • 密码-encrypt a value for storage in a database, for decryption with theAttributeDecompressor
  • Compress large blocks of XML to optimize storage
  • 压缩大型几何形状,以便存储为BLOB字段以优化存储空间

How does it work?

Attributecompressor允许您选择要压缩的一个,某些或所有属性,并选择要应用的压缩级别。您可以选择使用用户提供的密码加密压缩属性,或者将它们留未加密。通过变压器的功能将输出其属性名称,但所选值压缩。这AttributeDecompressor可以用来读取它们,也可以在工作区内的其他地方或在不同的工作空间中读取它们。

使用说明

  • 这attributecompressor.uses the zlib library to provide basic compression, and the OpenSSL library to provide encryption.
  • 不同的数据集具有不同程度的可压缩性,因此结果会有所不同。

配置

输入端口

Output Ports

Parameters

编辑变压器参数

使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅变换器参数菜单选项

定义值

这re 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.

参考

Processing Behavior

Feature-Based

Feature Holding

依赖性 没有任何
FME Licensing Level FME专业版及以上
别名
历史
类别

属性

FME Knowledge Center

FME知识中心是演示,How-TOS,文章,常见问题和更多的地方。获取您的问题的答案,从其他用户学习,并建议,投票和评论新功能。

搜索所有结果关于attributecompressor在FME知识中心。