htmlreportgenerator
该变压器的该输出旨在送入htmllayouterfor the creation of pages with more sophisticated bootstrap grid layouts.
Input Ports
所有输入都通过单个端口提供。可以使用多种功能来创建存储单个输出HTML页面的单个输出功能html_content.属性。
输出端口
这种变压器支持Group Byand outputs a single feature per group (or simply a single feature ifGroup By未使用)包含单个HTML页面html_content.属性。所有输入属性(除此之外)Group Byattributes) and geometries will be lost on the output feature.
参数
变压器
如果是Group Byparameter is set to a set of attributes, one HTML page per group will be produced.
页面设置
This attribute allows users to specify an HTML title for the output page. This is the title that will appear on the tab in a browser.
Page Contents
This section allows users to add, order, and remove page elements from the list. The output page will display the elements in the order that they are specified in this list. Available elements include图表(栏)那图表(线)那图表(饼)那Header那图像那列表那Map (Esri Leaflet)那地图(谷歌)那地图(Mapbox宣传册)那地图(OSM宣传册)那分隔器那andTable。
每个元素的配置将在右侧的相应内容设置框中设置。
内容设置
Each element specified in the page contents settings can have input settings specified in the content settings. The options depend on the element type. Options for each type of element are described below:
此元素使用Chart.js库创建基本响应条形图。此页面元素预计多个输入功能,将这些功能与这些功能中的数据组合成单个图表。每个输入功能将沿图表的X轴创建一个新栏。
此可选文本字段允许您在图表上放置X轴标签。
此强制属性字段控制沿X轴沿着X轴下的每个条形下出现的值。
This optional text field allows you to place an y axis label on the chart.
This table allows the user to specify multiple different data series for their bar chart. In the Data Attribute column the user should select a numeric attribute that will be plotted as the count data (or the bar height) for a given feature. The Color field allows the user to specify a unique color for each data series.
此元素使用Chart.js库创建基本响应线图。此页面元素预计多个输入功能,将这些功能与这些功能中的数据组合成单个图表。每个输入功能将沿图表的X轴创建一个新点。
此可选文本字段允许您在图表上放置X轴标签。
此强制属性字段控制沿X轴沿着X轴下的每个条形下出现的值。Note that datapoints will always be evenly spaced along the x axis. If you require the flexibility to have non-uniformly spaced x axis values, consider using the图表transformer to generate a static chart image that can be added to the page as an “Image” element.
This optional text field allows you to place an y axis label on the chart.
此表允许用户为其界图指定多个不同的数据系列。在数据属性列中,用户应选择一个数字属性,该属性将被绘制为给定特征的Y轴数据(或点高度)。彩色字段允许用户为每个数据系列指定唯一颜色。
此元素使用Chart.js库创建基本响应饼图。此页面元素预计多个输入功能,将这些功能与这些功能中的数据组合成单个图表。每个输入功能都将在饼图中创建切片。
This mandatory attribute field controls the labels for each slice of the pie chart, that will be used in both the tooltip and chart legend.
This value of this numeric attribute will determine the size of a given slice. Slices will be weighted according to the value of this attribute.
这里的配色方案可以指定派chart. Options includeRed to White那Blue to White那红色到绿色那彩虹那pastandDark。
Allows the user to enter text either as a header or paragraph form.
Optional parameter that allows the user to enter text to appear in the page.
This allows the user to set the header level of the text. If set toNone那the text will be added at regular paragraph (标签)尺寸。
允许用户指定页面上文本的对齐。选项包括剩下那Right那中心andJustified。
允许用户为文本指定颜色。
This element allows the user to either link to or embed an image in their page.
此设置允许用户选择是否要使用URL或相对路径链接到图像,或者将图像的实际内容嵌入到其页面内。请注意,后一个选项可以大大膨胀HTML页面的大小,以便更大的图像。
This option is only enabled when the附件方法is set to关联。It allows the user to specify an image via a relative path or external URL.
This option is only enabled when the附件方法is set to嵌入。It allows the user to specify an image on the disk to embed within the page. This parameter expects a valid path to a png or jpeg file. If setting this path from an attribute, the user must ensure that the image exists on disk at the time the features hit this transfomer. In the event you wish to use an image dynamically created as part of a workflow, consider using thefeaturewriter.变压器在此变换器之前将此图像写入磁盘并在单个工作区内的报表中使用它。
这个可选参数允许一个指定的文本that will be displayed in the event the image fails to load.
Allows the user to create a list of text from an attribute.
The attribute that will be used to populate the list values one entry per feature.
此选项指定列表是否将用弹丝孔,字母,数字,罗马数字标记或任何内容。
Allows the user to set a color for the list text.
This attribute can only be set if列表Item Markersis set toNone。如果设置为此,Bootstrap样式徽章将设置在列表的右侧。
This element allows the user to create a simple webmap featuring the geometries of input features as a layer.
Note:The tiles used to generate embedded maps may be subject to usage limitations and other restrictions. Please review the使用条款。
此可选参数允许用户指定用于在工具提示中标记映射上的每个功能的属性值。
This option allows the user to specify a color for the layer.
此选项允许用户从可用的ESRI Basemaps列表中进行选择。选项包括:街道那Terrain那卫星那灰色的那Dark Gray那阴影浮雕那Topographic那andNational Geographic。
此参数允许用户指定逗号列表分隔的ArcGIS在线功能层URL,这将显示为地图上的其他图层。
This element allows the user to create a simple webmap featuring the geometries of input features as a layer. Note that this transformer only supports a single Google map per page. To create a web page with multiple Google maps, you must create multiple pages (usingGroup By或多个HTMLReportGenerator变压器),然后将它们重新组装到单个页面中使用htmllayoutertransformer.
Note:The tiles used to generate embedded maps may be subject to usage limitations and other restrictions. Please review the使用条款。
此可选参数允许用户指定用于在工具提示中标记映射上的每个功能的属性值。
This option allows the user to specify a color for the layer.
此可选字段允许用户指定其Google地图API Access令牌。请注意,这不需要创建一个简单的Google Maps WebMap。
This element allows the user to create a simple webmap featuring the geometries of input features as a layer. Note this page element requires the user to create or possess a Mapbox account to obtain a Mapbox access token. Visithttp://www.mapbox.com.创建一个免费帐户。
Note:The tiles used to generate embedded maps may be subject to usage limitations and other restrictions. Please review the使用条款。
此可选参数允许用户指定用于在工具提示中标记映射上的每个功能的属性值。
This option allows the user to specify a color for the layer.
This mandatory field allows the user to specify their Mapbox API Access token. This token is required for the basemap to render correctly.
This allows the user to input the map id of a map created with their Mapbox account. The default is set tomapbox.streets.as this map should be present on all accounts.
This element allows the user to create a simple webmap featuring the geometries of input features as a layer.
Note:The tiles used to generate embedded maps may be subject to usage limitations and other restrictions. Please review the使用条款。
此可选参数允许用户指定用于在工具提示中标记映射上的每个功能的属性值。
This option allows the user to specify a color for the layer.
此强制性字段允许用户指定其MapQuest API访问令牌。基础映射需要此令牌正确呈现。
可以获得MapQuest API访问令牌https://developer.mapquest.com/。
此元素创建具有来自属性数据的基本HTML表。
Allows the user to choose between several bootstrap table styles including:有条纹的那Borderedand凝结。TheDefault风格是Bordered。
This table allows the user to configure the columns of the output HTML table. The ‘Column Contents’ column must be set to an attribute value. These values will appear as the rows of the column. The ‘Column Name’ field allows the user to specify a name for each column.
Allows the user to enter custom HTML.
Raw HTML-formatted text that will be inserted into the output page. The user should ensure that the text is valid HTML.
这个按钮底部的变压器允许的s the user to view a preview of the page they are creating in their default browser. Clicking this button will show a preview of the rough layout of the page. Preview generation may not work while some parameters are in the invalid state. The final page will in many cases look different as the preview is unaware of the actual values that will be sent in at run-time.
编辑变换器参数
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变压器参数菜单选项。
变压器类别
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。