Skip to main content

Hi @pepote, the PointOnRasterValueExtractor adds a list attribute called "_band{}" to each point that is inside of the source raster, and the "_band{}.value" contains the values of all bands at the cell that matches the point. For example, if the first band of your raster represents elevation, "_band{0}.value" will store the elevation. Then, if your goal is to assign the cell value to z-coordinate of the point, you can use the 3DForcer transformer by setting "_band{0}.value" to the Elevation parameter.


Hi @pepote,

I simulated your case in my machine with just a point and a raster file ( DEM ).

The transformer PointOnRasterValueExtractor was used and a new attribute was created after this transformer:

After i used the transformer CoordinateExtractor and in the options inside this transformer, the value for Z was configurated by value attribute _band{0}.value:

The result:

Thanks,

Danilo


It works... thanks a lot!


Reply