Why was TotalPopulation2001 automatically created as a parameter for the custom transformer while NeighborhoodArea was not?

Prepare for the FME Certified Professional Test with our comprehensive quiz, featuring flashcards and multiple-choice questions complete with hints and explanations. Ensure you're fully ready to ace your exam!

Multiple Choice

Why was TotalPopulation2001 automatically created as a parameter for the custom transformer while NeighborhoodArea was not?

Explanation:
The thing being tested is how FME treats data that comes from the input versus data that is created inside a custom transformer. Attributes that exist on the incoming features and are used inside the transformer are exposed as parameters because they define what the transformer takes from the outside world. TotalPopulation2001 fits this: it’s an input attribute used by the transformer’s logic, so FME automatically creates a parameter for it at the transformer level so you can feed in or map that attribute when reusing the transformer. NeighborhoodArea, on the other hand, is produced entirely within the transformer as a derived value; it isn’t something that comes from the input data and needs to be supplied from outside. Therefore it isn’t automatically exposed as a parameter.

The thing being tested is how FME treats data that comes from the input versus data that is created inside a custom transformer. Attributes that exist on the incoming features and are used inside the transformer are exposed as parameters because they define what the transformer takes from the outside world. TotalPopulation2001 fits this: it’s an input attribute used by the transformer’s logic, so FME automatically creates a parameter for it at the transformer level so you can feed in or map that attribute when reusing the transformer. NeighborhoodArea, on the other hand, is produced entirely within the transformer as a derived value; it isn’t something that comes from the input data and needs to be supplied from outside. Therefore it isn’t automatically exposed as a parameter.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy