Exercise 1
|
Transformer Selection Practice
|
Data |
None |
Overall Goal |
Practice searching for and selecting transformers |
Start Workspace |
None |
End Workspace |
None |
You've applied to become an FME Certified Professional. To help you practice for the exam, your colleagues have given you some questions to test your knowledge of searching for and selecting transformers.
Can you answer them?
1) Most-Used Web Transformers
The first thing your colleagues want to know is, what are the top 5, most-used transformers in the Web category?
HTTPCaller
JSONFlattener
AttributeManager
ParameterFetcher
SalesforceConnector
Clipper
Generalizer
JSONFragmenter
SNSSender
You can find this out through the Transformers Gallery on the Safe Software web site.
Although the Generalizer seems an odd web transformer, it can be used to reduce the number of vertices in geometry, making features smaller and more suitable for use on the web.
2) Quick Add
Here is what appears to be a list of random characters, which transformers are returned by Quick Add for each string of random characters?:
lineco
LineCompletion
LightNewContainer
LineCombiner
LineCloser
An example of a string that appears at the start of a transformer's name.
reac
AreaCalculator
Reacher
ReadEveryAreaCircle
Recorder
An example of a string that appears in the middle of a transformer's name
rbic
RasterBlenderIcon
RasterBandInterpretationCoercer
PointerBinTrainer
RandomBlockImageContainer
An example of a string that represents the CamelCase name of a transformer
drape
SurfaceDraper
DissolveRasterAreaPolygonEvaluator
Draper
DrawPen
An example of a string that describes what the transformer does
attributeexpl
AttributeExporter
AllTwentyTwoRasterImageBinsUserTrialEndEXporterPolygonLayer
AttributeExploder
AttributeExternal
An example of a string that is too long. "eexpl" would be more efficient
3) Transformer Searching
Thirdly, your colleagues have come up with a list of different scenarios, and want you to search for a transformer to carry them out. Remember, there are often many ways to carry out a task in FME:
We have some lines of text in a file and want to read that text and add it as an attribute.
AttributeFileReader
CoordinateSwapper
PointCloudThinner
StringLengthCalculator
NeighborPairFinder
The AttributeFileReader reads the contents of a file and stores them as the value for the specified attribute.
We have a set of addresses and for each address want to find the closest two libraries.
AttributeFileReader
CoordinateSwapper
PointCloudThinner
StringLengthCalculator
NeighborPairFinder
The NeighborPairFinder finds the closest two Candidate features within some maximum distance of each Base feature and some minimum separation in heading between the Candidates and the Base.
We have a point cloud dataset and want to reduce its size by resampling it to remove excess points.
AttributeFileReader
CoordinateSwapper
PointCloudThinner
StringLengthCalculator
NeighborPairFinder
The PointCloudThinner outputs point cloud features that have fewer points than the original input features. This transformer is typically used to reduce data volume by identifying a set of points to keep and discarding the remaining points.
We have a text string and want to find out how many characters the string contains.
AttributeFileReader
CoordinateSwapper
PointCloudThinner
StringLengthCalculator
NeighborPairFinder
Finding out a value usually needs to calculate the answer, so these transformers often end in the word "Calculator". Here we want to find the length of the string, hence StringLengthCalculator.
We have a set of vector contours and want to create a cross-section by transposing the X and Z coordinates.
AttributeFileReader
CoordinateSwapper
PointCloudThinner
StringLengthCalculator
NeighborPairFinder
The CoordinateSwapper swaps coordinate axes of the input features.