Which attribute is exposed to view Elevation in Table View after using PointOnRasterValueExtractor?

Prepare for the FME Certified Professional Exam. Study with flashcards and multiple-choice questions; each question includes hints and explanations. Ensure your success!

Multiple Choice

Which attribute is exposed to view Elevation in Table View after using PointOnRasterValueExtractor?

Explanation:
When you sample a raster at a point, the value from the raster is stored as an attribute that reflects the band it came from. In Table View, these attributes follow the pattern _band{bandNumber}.value, where the band number corresponds to the raster band. For a single-band DEM, you’ll see the elevation data under _band1.value. So the attribute that exposes the Elevation is the band value attribute itself, written as _band{bandNumber}.value. The other names don’t match the actual attribute created by PointOnRasterValueExtractor by default. If needed, you can rename that attribute to Elevation for clarity after extraction.

When you sample a raster at a point, the value from the raster is stored as an attribute that reflects the band it came from. In Table View, these attributes follow the pattern _band{bandNumber}.value, where the band number corresponds to the raster band. For a single-band DEM, you’ll see the elevation data under _band1.value. So the attribute that exposes the Elevation is the band value attribute itself, written as _band{bandNumber}.value. The other names don’t match the actual attribute created by PointOnRasterValueExtractor by default. If needed, you can rename that attribute to Elevation for clarity after extraction.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy