Questions
Here are the answers to the questions in this chapter.
Miss Vector says... |
Which of the following is NOT a category of transformers?
1. Attributes 2. Calculations 3. Data Quality 4. Workflows |
Miss Vector says... | |
Here are four transformers and four categories. Match the transformer to the correct category. | |
Scenario | Tool |
Chopper | Geometries |
Terminator | Workflows |
Matcher | Data Quality |
DateFormatter | Strings |
Did you look through the transformer gallery to find these? The quicker way is to look at the help page for the transformer. While we are on the subject, transformers can belong to more than one category (though not all do). |
Miss Vector says... |
Look at this screenshot of an editing dialog and tell me what the value returned to the attribute will be:
1. 2+2 2. 4 3. 4.0 4. Error! The key is to notice that the header of this dialog says "String Editor". Therefore the value returned to this attribute will be the literal string "2+2". If the user wishes to add 2+2 to get 4, they should have used the arithmetic editor! |
Miss Vector says... |
How many of the transformers in the Filters and Joins category appear in the top-25 Most-Valuable Transformers list?
1. Two (2) 2. Four (4) 3. Six (6) 4. Eight (8) As of August 2017 (and FME 2017.1) there are eight. They are the Tester (1st), FeatureMerger (4th), TestFilter (8th), Aggregator (12th), FeatureReader (13th), AttributeFilter (14th), SpatialFilter (21st), and GeometryFilter (22nd) |
Miss Vector says... |
So... why the Tester? Why not use the AttributeFilter?
Because we only need to test for one value in a simple Yes/No format. The AttributeFilter is better for testing multiple values. Also the AttributeFilter doesn't let us do "Begins With" tests. |
Miss Vector says... |
Look at the following screenshot, then answer how many features will appear in the output connection...
1. Eight (8) 2. Eighteen (18) 3. Twenty-six (26) 4. Can't tell It's impossible to tell from the screenshot, because you don't know how many attribute values will be a match. Because there are eight firehalls it will be anywhere from zero to eight, but that's all we can tell. |
Miss Vector says... |
Why do we use the StringCaseChanger on the roads data (to change it to UPPERCASE) rather than on the crime data (to change it to TitleCase)?
Because uppercase is easier to match and has no risk of bad data. If a block was wrongly labelled W Georgia ST in the original data, a title case match would fail. An uppercase conversion would not. Also, be sure not to confuse the StringCaseChanger (changes attribute values) with the BulkAttributeRenamer (changes attribute names)! |