AttributeCompressor
Compresses and (optionally) encrypts the values of the specified attributes. The compressed and encrypted attribute values can be decompressed and decrypted using theAttributeDecompressor.
This transformer is particularly useful for compressing large blocks of XML, or geometry-storing attributes.
输入端口
Features with attributes.
Output Ports
List of compressed attributes.
Parameters
Compression Parameters
After connecting the transformer, click the browse button to select the attributes.
The value of this parameter controls the compression level which will be applied to the attributes. A value of 0 indicates that no compression should be used, while a value of 9 indicates that maximum compression should be used. The default value is 6.
Encryption Parameters
Use this parameter to select an encryption type. Currently, only the AES-256 encryption algorithm is supported.
If encryption is being used, the value of this parameter will be used to generate an encryption key. The same value may then be used to decrypt the attribute values in theAttributeDecompressortransformer.
Usage Notes
The AttributeCompressor uses the zlib library to provide basic compression, and the OpenSSL library to provide encryption.
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
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.
TagsKeywords: compress compression compressing zlib zip