Mapnikerasterizer.
使用MapNik Toolkit绘制输入点,行,多边形和栅格功能到栅格上。
Mapnik将功能分为名为TALERS的组。图层中的功能应共享相同的几何类型。对于每层,将定义一个或多个符号化器;这些表示一组描述如何呈现该功能的参数。例如,一个层可以是代表国家边界的一组线。然后,这层可以有两个符号化器 - 一个绘制线条,以及第二个符号围绕线的“辉光”。
输入端口
该变压器将为每层具有一个输入端口。使用图层使用Inputs范围。
Output Ports
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The raster(s) drawn from a group of features.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Invalid features that will not be included in the output raster.
Parameters
Transformer
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
If the通过...分组参数设置为an attribute list, one raster per group will be produced.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Note:How parallel processing works with FME: seeAbout Parallel Processingfor detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by the通过...分组范围。
Parallel Processing Levels
For example, on a quad-core machine, minimal parallelism will result in two simultaneous FME processes. Extreme parallelism on an 8-core machine would result in 16 simultaneous processes.
You can experiment with this feature and view the information in the Windows Task Manager and the Workbench Log window.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
No:这是默认行为。只有在存在所有输入时,处理将在此变换器中发生。
按组:此变压器将按顺序处理输入组。改变价值通过...分组parameter on the input stream will trigger batch processing on the currently accumulating group. This will improve overall speed if groups are large/complex, but could cause undesired behavior if input groups are not truly ordered.
Rendering Rules
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the layers and symbolizers that specify how features will be rendered.
表中的每个条目都包含一个输入端口,符号器类型和该符号器的参数。符号符号依赖于符号符号。可以在中找到每个符号器的参数的描述Mapnik documentation。
Note that layers will be rendered in the order they are specified. The first layer in this table will be rendered first (i.e. will appear below any subsequent layers).
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
此参数指定定义图层的内容。
设置到Each rendering rule is a layer,上表中的每个单独规则将被呈现为单独的图层。
设置到每个输入端口都是一层, each input port will be rendered as a layer. Note that some layers will contain multiple symbolizers in this case.
基本上,这决定了渲染规则的抽取顺序。按顺序呈现图层,其中包含在下一图层的任何特征之前绘制的层的所有功能。在图层中,符号化器是应用逐个功能的。
示例:您有表示街道的行功能,每个功能还包含指定街道名称的属性。要呈现此操作,您可以设置行符号器和文本符号器。在这种情况下,您将首先绘制所有街道,然后将所有标签放在首位,所以Each rendering rule is a layerwould be more appropriate.
Example: You have overlapping polygons, and want to draw each with a border. To render this, you could set up a Polygon symbolizer and a Line symbolizer. In this case, you would want to draw each feature as both a polygon and a line before moving on to the next feature, so每个输入端口都是一层would be more appropriate.
注意这一行为Each rendering rule is a layer可以在何时复制Layer Definition设定为每个输入端口都是一层。为此,只需为每个单独的图层添加新的输入端口。
Raster Properties
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
To set the size of the output raster, specify either the dimensions or the cell size.
使用尺寸设置输出栅格大小,请设置规格规格至列和行and specify values for both theNumber of ColumnsandNumber of Rows。
To set the output raster size using spacing, set the规格规格至间距并指定一个瓦尔ue for细胞间距。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies how many cell columns there are in the output raster. This parameter is used when the规格规格is列和行。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies how many cell rows there are in the output raster. This parameter is used when the规格规格is列和行。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This parameter specifies the width of the output raster cells, measured in ground units. This parameter is used when the规格规格is间距。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
此参数设置输出栅格的解释。
Background
The background may be filled with a solid color and/or image. If neither a color nor image is specified, the background will be transparent.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
TheColorparameter sets the background color.
Click the colored square to the right of the text field, or edit the contents of the field directly. The color must be specified as
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
The彩色alpha值parameter sets the alpha value for the background color. It must be a number between 0 and 1.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
此参数指定应用作栅格的背景的图像文件。
Ground Extents
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
If theGround Extents参数设置为Use input data ground extents, the output raster extents will be determined by the union of the bounding boxes of the valid input vector features.
If theGround Extents参数设置为指定地面范围, the remainingGround Extentsparameters are used to specify the extents of the output raster.
Note that the output raster extents may not be equal to the specified extents if the raster size was specified by the number of rows and columns. This is because the x and y spacing must be equal (i.e. (Maximum X-Minimum X) /Number of Columns必须等于(Maximum Y-Minimum Y) /Number of Rows). If they are not, the extents may be enlarged in one dimension.
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
这指定了输出栅格的最小x值。它是使用的Ground Extents参数设置为指定地面范围。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies the minimum y value of the output raster. It is used when theGround Extents参数设置为指定地面范围。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
This specifies the maximum x value of the output raster. It is used when theGround Extents参数设置为指定地面范围。
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
这指定了输出栅格的最大值y值。它是使用的Ground Extents参数设置为指定地面范围。
编辑变换器参数
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, see变压器参数菜单选项。
变压器类别
FME Licensing Level
FME Professional edition and above
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center。
TagsKeywords: minimum bounding rectangle MBR fme_colour rasteriser