Successfully!

Error!

Custom WMS and WMTS

  • Last update:  2023-10-13
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0.6

    Added the custom WMTS function under Map Configuration > Custom GIS Layer.

    Functions

    You can customize WMS and WMTS in Map Configuration of the FineReport decision-making system.

    WMS and WMTS published through map tools like ArcGIS can be used to display offline maps within a local area network.

    iconNote:
    Map services can be searched and built according to users' needs. Map services in different servers may vary.

     1.png

    Customizing WMS

    Creating a Layer in the Decision-Making System

    1. In the designer, choose Server > Map Configuration, log in to the decision-making system, and redirect to the map configuration page.

     2.png

    2. Select Custom GIS Layer, create a directory, and name it. Select the created directory, select WMS, and enter the URL. You can search online for available WMS.

    For example, enter the URL https://demo.mapserver.org/cgi-bin/wms? and click Load Layer. According to the corresponding WMS protocol, available layers are further obtained for selection, with all options selected by default.

    Click Save in the upper right corner of the designer and the settings take effect.

    3.png

    Applying GIS Layer on Template Map

    After synchronizing geographic files, you can select the created WMS layer under Type > Basic > GIS Layer > Custom in any template of the designer.

     4.png

    The map layer effect in the template preview is shown in the following figure.

     5.png

    GIS layers are supported in both mobile terminals and HTML5 end. The effect is shown in the following figure.

     6.png

    Customizing WMS in a Single Template

    You can set custom WMS for the current template separately.

    Choose Type > GIS Layer > Custom > Custom WMS, enter the URL, and click Connect. According to the corresponding WMS protocol, available layers are further obtained for selection, with all options unselected by default.

    7.png

    Notes

    1. If images fail to be loaded after you click Load Layer, check whether the parameters concatenated in the URL are the same with the default concatenated parameters. Currently, concatenated parameters cannot be customized.

    &SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=Layer name &STYLES=&FORMAT=image/jpeg&TRANSPARENT=false&HEIGHT=256&WIDTH=256&SRS=EPSG:3857&BBOX=Coordinates

    2. In FineReport versions before V11.0.6, only the projection method EPSG:3857 is supported in WMS. In FineReport versions after V11.0.6, three projection methods—EPSG:3857, EPSG:4326, and EPSG:3395 are supported.

    Customizing WMTS

    Creating a Layer in the Decision-Making System

    1. In the designer, choose Server > Map Configuration, log in to the decision-making system, and redirect to the map configuration page.

    2. Select Custom GIS Layer, create a directory, and name it. Select the created directory, select WMTS, and enter the URL. You can search online for available WMTS.

    For example, enter the URL https://e.s2maps-tiles.eu/wmts?layer=bluemarble_3857&style=default&tilematrixset=g and click Load Layer. The effect is shown in the following figure.

    Click Save in the upper right corner of the designer and the settings take effect.

     8.png

    Applying GIS Layer on Template Map

    After synchronizing geographic files, you can select the created WMTS layer under Type > Basic > GIS Layer > Custom in any template of the designer.

     9.png

    The map layer effect in the template preview is shown in the following figure.

     10.png

    GIS layers are supported in both mobile terminals and HTML5 end. The effect is shown in the following figure.

     11.png

    Notes

    1. When you configure the WMTS layer, layer, style, and tilematrixset are required parameters in the URL. Only the projection method EPSG:3857 is supported in WMTS.

    2. Currently, you cannot directly customize WMTS in the designer template.


    Attachment List


    Theme: Chart
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback