span8
span4
span8
span4
Tutorial: Getting Started with FME Desktop|Previous: View Data|Next: Modify Attributes
Now that we have visualized our data and know how we want to manipulate it, we need to use a Transformer to achieve that.In FME a Transformer is an object that manipulates data in a specific way.Each Transformer has its own unique function and can be strung together in a series to achieve complex tasks.In part three of this tutorial series, we will add a Transformer to the canvas using Quick Add.
3-AddTransformer-Begin.fmwt(starting workspace)
3-AddTransformer-Completed.fmwt(completed workspace)
To watch the full video, see ourYoutube Channel.Please note that this video was made with FME Desktop 2019, and shows a bug in the data.The data should show 100 records, not 171.To correct this, download the data from this tutorial.
Continue working in the workspace from theprevious articleor download the3-AddTransformer-Begin.fmwtworkspace.
1.Add a Transformer
When modifying data in FME, you will need to use a Transformer.To add a Transformer, click anywhere on the canvas and start typing the Transformer name you wish to add.When you start typing the Quick Add dialog will appear, from this dialog Transformers, Readers and Writers can be added by just typing their name.
Once the Quick Add has found the Transformer you are looking for, either click Enter on the keyboard or double click it with the mouse to add it to the canvas.
If you are following along with the data provided, start typing AttributeManager and double-click on the name to add one to the canvas.
2.Connect Transformer
To use the Transformer, it must be connected to the workflow.Click on the output arrow on the Reader Feature Type and drag to the input arrow on the Transformer.When they are correctly connected, a line will appear between them.Additionally, once they are connected attributes from earlier in the workflow can be accessed in the Transformer, editing the Transformer parameters will be covered in thenext article.
Regardless of which dataset and transformer you are using, connect the Reader and the Transformer.
3.Continue to Next Article
If you are continuing to thenext article, please leave your workspace open.
There are over 450 Transformers available in FME as well as more available on theFME Hubso finding the correct one can be daunting.Thankfully there are plenty of resources available to help narrow down the search.
a.Transformer Gallery
The Transformer Gallery can be accessed in two ways:
i) Transformer Gallery window in FME Workbench
To access this window go to View > Windows > Transformer Gallery
The Transformer Gallery is a dockable window that can be used to find and add Transformers.帮助变压器画廊,recommended to enable to Help Window which will give summaries about each Transformer when they are selected.The Help Window can be accessed through View > Windows > Help.
The website is a good source for viewing summaries for multiple Transformers at a time to help choose the correct one.It also links to other similar Transformers and the documentation.
In both versions of the Transformer Gallery, Transformers can be searched by name or filtered by category.For example, if you are looking to modify attributes, you can filter by the Attributes category.In the website version, Transformer descriptions are provided to help narrow down the search as well as list similar Transformers or related resources to learn how to use the Transformer.
b.FME Community
TheFME Communityis useful for finding which Transformers would work best in a particular workflow.Enter what you would like to achieve into the search bar to see related results.For example, “How to join data” returns the articles “Merging or Joining Spatial Data” and “Merging or Joining Spreadsheet or Database Data” which both list various transformers that can be used.
Transformer:An object in FME Workbench that represents a data transformation process
Transformer Gallery:An organized list of transformers available in FME Workbench
Quick Add:A method for adding transformers to a workspace
Desktop Basic Course: Transforming with Transformers
Transforming Data Documentation
Getting Started with FME Desktop: Modify Attributes
Data Attribution
The data used here was randomly generated fromwww.generatedata.com
Getting Started with FME Desktop: Introduction to FME Data Inspector
Getting Started with FME Desktop: Modify Attributes
Tutorial: Getting Started with FME Desktop
Calculating Area, Perimeter, and Lengths
Changing Raster Values by Geographic Feature
Polygon Within a Distance of Selected Features
Generate Contour Data from Points
© 2020 Safe Software Inc |Legal