Questions

Here are the answers to the questions in this chapter.


Miss Vector says...
Why is the FeatureReader the preferred option [for filtering data in a self-serve system]? Pick all the reasons that apply:

1. It can be quicker and more resource efficient
2. It allows multiple areas to be used as the existing areas
3. It works with raster data
4. It has more choices for spatial filtering

The FeatureReader is more efficient where the source dataset is a format that has a spatial index, because it won't have to read all of the source data. It also has more filtering choices than a Clipper transformer (though not a SpatialFilter)

The FeatureReader does allow multiple areas to be used, and it does support raster data - however so does the Clipper transformer, so there is no difference between the two in those scenarios. Additionally, the two are equivalent in performance where there is no spatial index (i.e. both will need to read the full dataset)

Miss Vector says...
If the incoming geometry string is XML, there is a shortcut [to passing/using it in a workspace]. What is it?

1. Use an XML Reader with the source dataset parameter published
2. Publish the source dataset parameter in the FeatureReader to send the XML straight into it
3. Replace the GeometryReplacer with an XMLTemplater
4. Use a Creator transformer with the geometry parameter published

If you publish the geometry parameter in a Creator transformer you can pass XML directly into it and FME will automatically generate a spatial feature from it. This removes the need for any AttributeManager and GeometryReplacer transformers.

Miss Vector says...
How well do you know the types of FME published parameters? Decide which of the following are real parameters, and which are fake.

1. Color: Real
2. Double: Fake
3. Password: Real
4. Text (Multiline): Real

Miss Vector says...
Let me throw an easy question at you! If the Generic Writer parameter is published to determine what format to write data in a data download system, what would the Generic Reader parameter be used for?

1. To determine what format of data to read in a Data Download system
2. To determine what format of data to read in a Data Upload system
3. To determine the correct Styler transformer to use in the workspace
4. To determine whether I'm connected to a Data Upload or a Data Download system

Right, I'm uploading some data and I'm going to tell FME Server what format it is. Why would I care (#1) about what format of data is being read in a Data Download system (and how could I tell)? Similarly (#3) it's the output format that determines which Styler to use, not the input format. #4 is just plain nonsense!

results matching ""

    No results matching ""