Which transformer would you read data from a local file but only include features that intersect another stream of polygon features?

Prepare for the FME Certified Professional Test with engaging quizzes and flashcards featuring detailed explanations. Master the essential skills and concepts needed to excel in the exam!

Multiple Choice

Which transformer would you read data from a local file but only include features that intersect another stream of polygon features?

Explanation:
Reading from a local file is done with a reader transformer designed for file-based sources, and in FME that is the FeatureReader. It pulls features directly from a local dataset like a shapefile or GeoJSON. To keep only those features that intersect another stream of polygon features, you would feed the FeatureReader’s output into a spatial operation (such as SpatialFilter) and connect the polygon stream to the second input, setting the relation to intersect. The SpatialFilter then passes through only the features from the file that intersect the polygon stream. The other options don’t provide the file-reading capability on their own: a database-focused transformer (DatabaseJoiner) works with databases, InlineQuerier handles inline data or queries, and SpatialFilter itself cannot read from a local file without a preceding reader.

Reading from a local file is done with a reader transformer designed for file-based sources, and in FME that is the FeatureReader. It pulls features directly from a local dataset like a shapefile or GeoJSON. To keep only those features that intersect another stream of polygon features, you would feed the FeatureReader’s output into a spatial operation (such as SpatialFilter) and connect the polygon stream to the second input, setting the relation to intersect. The SpatialFilter then passes through only the features from the file that intersect the polygon stream. The other options don’t provide the file-reading capability on their own: a database-focused transformer (DatabaseJoiner) works with databases, InlineQuerier handles inline data or queries, and SpatialFilter itself cannot read from a local file without a preceding reader.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy