RasterHillshader
Generates a shaded relief effect, useful for visualizing terrain.
每个选择输入乐队将转换为GRAY8 band with hillshade values between 0 and 255. Additionally, if Interpolate Nodata is set to No or if the band has a nodata value, an additional ALPHA8 band will be generated, with a value of 0 where the input was nodata and a value of 255 where the input was data.
Note that the horizontal and vertical units are expected to be equal. If this is not the case, the Scaler may be used prior to this transformer to apply an appropriate scale factor.
Input Ports
Input features must contain raster geometries only.
参数
方位角angle of the light source, expressed in positive degrees from 0 to 360, measured clockwise from north. The default value, 315, is generally used to generate shaded maps.
水平的高度角上面的光源on, expressed in positive degrees, with 0 degrees at the horizon and 90 degrees directly overhead.
Whether to calculate values at raster edges and near nodata values.
When this is set to No, there will be a one pixel border around the edge of the raster set to the nodata value (i.e. the alpha band value will be set to 0). Additionally, when any pixel in the 3x3 window used to calculate the hillshade value is equal to nodata, the output pixel will also be set to nodata.
When this is set to Yes, values around the edge and near nodata values will be estimated by interpolating missing values. Note that holes will not be filled in. That is, cells that are nodata in the input image will remain nodata in the output.
用于计算斜率和方面的算法。一些分析表明,喇叭的配方更适合令人讨厌的地形,而Zevenbergen&Thorne的配方对于平滑地形更好。
Usage Notes
该变压器支持光栅频段选择。这RasterSelector可用于修改此选择。
Editing Transformer Parameters
使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options。
Transformer Categories
FME许可级别
FME专业版及以上
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。