反馈已提交
网络繁忙
At present, Beijing, Shanghai, Tianjin, Chongqing, Taiwan, Hong Kong Special Administrative Region and Macao Special Administrative Region in BI map are all counted as provincial level.
When making a map, the user wants to put these regions together with prefecture level cities, but as a province level, they cannot be matched with prefecture level cities, as shown in the following figure:
So how can these areas directly match prefecture level cities? It will be described in detail below.
Path to store map JSON file: %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic\world\China\, add JSON files to these regions as prefecture level cities, as shown in the figure below:
Take the Macao Special Administrative Region as an example, you can operate other regions in the same way.
Undert the BI installation directory %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic\world\China\, add 2 blank JSON files, as shown in the following figure:
1) Use the editor to open "Macau-area.json" and "Macau-point.json", and add the same code in these two blank files, as shown in the following figure:
The code is as follows:
{
"type": "FeatureCollection",
"features": []
}
2) Return to directory %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic\world\ ,open "China-area.json", select and copy the feature structure of Macau Special Administrative Region into the features: [] array of "Macau-area.json", and save the file. As shown in the figure below:
3) Return to directory %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic\world\, open "China-point.json", select and copy the feature structure of Macau Special Administrative Region into thefeatures: [] array of "Macau-point.json", and save the file. As shown in the figure below:
4) When the operation is complete, restart BI.
Enter FineBI decision-making platform, click "Manage" → "Map Configuration" → "Geographic Information" → "Area", add a new prefecture level city, "Macau", as shown in the figure below:
1) Click "Dashboard" on FineBI decision platform to create a "New Dashboard", as shown in the figure below:
2) Click "Add component" and select "area data" in the data list, as shown in the following figure:
3) Select "Geographic role" → "City" from the "Dimension" field "City"'s drop-down menu, as shown in the following figure:
4) It can be seen that "Macao" in the city field can be matched with "Macao" at the prefecture level, as shown in the following figure:
Click and download the JSON file(can be used directly):
JSON file.rar
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭