Successfully!

Error!

Map Custom Matching

  • Last update:  2022-01-11
  • I. Overview

    1. Version introduction

    Report server versionJar package version
    New features

    10.0

    2020-04-26

    Added Custom Match button for some map types


    2. Application scenarios

    Sometimes the area name of user map data is inconsistent with the built-in area name of finereport map, and the area name does not match, resulting in the data cannot be displayed normally when the map front end is displayed.

    In order to solve the problem of map area name mismatch, the 2020-04-26 version of jar package added map fuzzy matching function.

    For example, the built-in area name of the map isAnhui, but the area name of the user data is Anhui Province. After custom matching of the map,Anhui and Anhui Province will be matched in the front-end display, as shown in the following figure:

    1.png


    3. Function introduction

    1) Scope of application

    Supported map types: area map, point map, flow direction map, composite map, drill through area map, drill through point map, drill through user-defined map and thermal map.

    2) Matching rules

    We can use custom matching to matching following:

    • The region abbreviation can be matched with the built-in region name, such as Anhui matches to Anhui Province.

    • The abbreviated region name can be matched with the built-in region name, such as Jiangsu matched to Jiangsu Province and Nanjing matches to Nanjing city.

    • The detailed region name can be matched with the built-in region name, such as Nanjing City matches to Jiangsu Province.

    II. Operation method

    Taking the regional map as an example, the setting method of map fuzzy matching is introduced in detail.

    1. Function entrance

    1)Click on the right side of map attribute Panel Data > Area Name to open the area name matching setting interface.

     2.png

    2)The area name matching setting interface is as follows:

    • Dataset: support template dataset and server dataset, not cell data.

    • Region name: the region name field in the dataset.

    • Refresh button: when the matching relationship or data changes, you can click the button to view the latest matching list.

    • Default matching relation table: after setting the data set and area name, the system will automatically fuzzy match the area name in the data set with the built-in area name in the map, and the default relation will be displayed in the middle area.

    • User defined matching relation table: users can select or manually enter the domain name of the built-in area in the map from the drop-down of the default relation table. The matching relation between the user-defined area names is displayed in the lower area.

    Note 1: The area name on the left side of the relation table is the area name in the dataset, and the area name on the right side is the built-in area name in the map.

    Note 2: If the system default matching error or unable to match, users can use the custom matching function.

    Note 3: To drill a map, it is necessary to distinguish whether each level is specified separately or the bottom level data summary is required. The bottom level data summary only needs to set the matching of the last level.

    3.png 


    2. Built in matches

    1) The area names of built-in matching items in the figure below are different according to the map boundary set by the user. The user can select the appropriate map boundary according to the area name in the dataset.

    2) The setting method of map boundary is shown in the following figure:

     

    3) The relationship between map boundary and built-in matching items is shown in the following table:

    Map boundaryBuilt in matches

    world

    Built in matches are all country names

    China

    Built in matches are all province names

    province

    Built in matches are the names of all the cities in the province

    city

    Built in matches are the names of all districts in the city


    3. Default match

    After the user has set the dataset and area name, the system will automatically fuzzy match the area name in the dataset with the built-in area name in the map, as shown in the following figure:

    Rrightmatch toThe list shows red highlighted fontPlease select a match, it means that automatic matching cannot be performed, and the user needs to modify the map boundary or customize the matching relationship.

    6.png


    4. Custom matching

    If the system default matching error or unable to match, users can use the custom matching function.

    1) Methods of custom matching

    On the right, match to the edit box corresponding to the list, fuzzy search or drop-down box, select the built-in area name, and customize the matching relationship.As shown in the figure below:

    2) The custom match is none

    If no matching item is selected during user-defined matching, as shown in the figure below:

    When the map is displayed, the area will be grayed and no data will be displayed, as shown in the figure below:

     

    III.Template download

    Click to download the template:

    map_match.cpt

    Attachment List


    Theme: Chart
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback