Property
Converter Interface
This
interface allows the user to define how a property should be converted.
A series of converters is provided, allowing the user to simply change
the type of a property or even use property set to form a new
property.
The field
"Origin Properties" list all the properties of the dataset. Each
property listed in the table presents a check box allowing the user to
choose which property he wants to use in the converter.
The
"Convert" field displays all types of conversion supported. The types
are:
- GenericAttributeConverter:
Simple conversion between data types.
- XYToPointConverter:
Converts two basic attributes for geometric type - point. An attribute
should identify the point's X coordinate and the Y coordinate of the
other point.
- XYZToPointConverter:
Converts three basic attributes for geometric type - point. Besides the
x and y attributes, an attribute must identify the Z component.
- XYMToPointConverter: Converts
three basic attributes for geometric type - point. Besides the
x and y attributes, an attribute must identify the M component.
- XYZMToPointConverter: Converts
four basic attributes for geometric type - point. Besides the
x and y attributes, two attributes must identify the Z and M components.
- PointToXConverter:
Converts a geometric attribute of type point, generating a basic
attribute with the X coordinate.
- PointToYConverter: Converts
a geometric attribute of type point, generating a basic attribute with
the Y coordinate.
- PointToZConverter: Converts
a geometric attribute of type point, generating a basic attribute with
the Z coordinate.
- PointToMConverter: Converts
a geometric attribute of type point, generating a basic attribute with
the M coordinate.
- TupleToStringConverter:
Converts a set of attributes for a single attribute of type string.
The new
attribute to be generated is defined in the "Target Property" field. To
assist in this process is used the Property
Interface.
To illustrate the operation of the
interface, the figure below presents the extraction of the Z component
of a geometric property.