Creator
From Fmepedia
Creator is a Workbench Transformer.
| Table of contents |
The Creator is a transformer that can create all types of features. It was introduced in FME 2007 (first appearing in beta builds). It replaces the 2DCreator, 3DCreator, ArcCreator, EllipseCreator, and NullGeometryCreator.
The Creator's interface allows you to select the desired type of geometry (null, point, text, line, arc, ellipse, polygon and XML) and then enter the coordinates and/or parameters which are needed to create the object you want. The XML window shows, by default, the XML representation of the object as specified in one of the other windows. If you want to create a 2D object, simply leave all the Z-values blank.
NB: The Creator generates Rich Geometry - so some transformers (such as Chopper) may not be compatible with the data it creates (in 2007 betas)!
Null
Creates an object without geometry. For some applications, it can be useful to have such an object available, e.g. when you are using a CSV writer but you want to output a header or footer.
Point
Creates a single point at the given coordinates.
Text
Creates a single text object at the given coordinates, using the text string, height and rotation.
Line
Creates a single line object using the specified coordinate pairs. If you want to create an area, use the polygon option instead. Even if you specify the first and last coordinate pairs to be the same, the type of the object generated will still be fme_line.
Arc
Creates an arc using the specified parameters. The primary axis parameter specifies the length of the primary axis, and the secondary axis parameter specifies the length of the secondary axis. The start angle parameter specifies the start angle for the arc, measured in degrees counterclockwise from horizontal. The sweep angle parameter specifies the number of degrees on the ellipse that define the arc, measured in degrees counterclockwise. The rotation parameter specifies the angle in degrees from the horizontal axis to the primary axis in a counterclockwise direction. A circle can be created by setting the primary and secondary axis to the same length and using a sweep angle of 360 degrees.
Please note that not all transformers or output feature types work well with arcs. You may need an ArcStroker to simplify it.
Ellipse
Creates an ellipse using the specified parameters. In order to create a circle, make sure the primary and secondary axes have the same length.
Please note that the ellipse generated by this is an arc feature, not all transformers or output feature types can work with these, so you may need an ArcStroker to simplify it.
Polygon
Creates a polygon feature. Works in the same way as the line option, but it will warn you if you forget to close the polygon.
XML
Creates an object based on an XML representation. Will also show the XML representation of any object defined in any of the other windows.
