Showing territory outlines is available for a map if the following conditions are met:
Territory dimension is hierarchical.
Territory dimension contains attributes of the integer type with identifier of the TOPO_IDN type where N is the level of territory dimension hierarchy, for which elements outline will be shown. If N=1, the TOPO_ID attribute is used.
The TOPO_IDN attribute contains key of the map that is used for outline visualization corresponding to the hierarchy level of territory dimension.
NOTE. Showing territory outlines is available in the Analytical Queries (OLAP) and Dashboards tools.
To show territory outlines the map is used, which key is specified in the TOPO_IDN attribute corresponding to the hierarchy level. This attribute is taken from the parent of selected elements of territory dimension, which is the closest to the top of the hierarchy and for the root element of the hierarchy the attribute is taken from the element. If the map with the TOPO_IDN key is not found, the closest parent map is taken by the following scheme: TOPO_IDN → TOPO_IDN-1 → … → TOPO_ID3 → TOPO_ID2 → TOPO_ID.
For example, there is a territory dimension containing the World root element. The World element contains the Europe and Asia child elements of the continents level. Each continent has child elements of the countries level: France and Russia. Each country has child elements of districts level: Bordeaux, Central Federal District.
The following structure will be used to show territory outlines for this territory dimension:
Hierarchy level/ Map | Map for TOPO_ID | Map for TOPO_ID2 | Map for TOPO_ID3 | Map for TOPO_ID4 |
World | World by continents | World by countries | World by country districts | World by district regions |
Continents |
Continent by countries | Continent by country districts | Continent by district regions | |
Countries |
Country by districts | Country by district regions | ||
Districts |
District by regions |
Example of values of TOPO_ID attributes are given in the table:
Items | TOPO_ID | TOPO_ID2 | TOPO_ID3 | TOPO_ID4 |
World | 100 | 102 | 103 | 104 |
Europe |
200 | 202 | 203 | |
France |
300 | 302 | ||
Bordeaux |
400 | |||
Asia |
500 | 502 | 503 | |
Russia |
600 | 602 | ||
Central Federal District |
700 |
Logic of obtaining a map for showing territory outlines:
On selecting all levels by the hierarchy:
On selecting the root element of the hierarchy the TOPO_ID map of the root element of the hierarchy is shown, that is, on selecting the World element the map with the 100 key is shown.
On selecting the root element and elements of the second level of the hierarchy the TOPO_ID2 map of the root element of the hierarchy is shown, that is, on selecting the World and Europe element the map with the 102 key is shown.
On selecting the root element and elements of the second and the third levels of the hierarchy the TOPO_ID3 map of the root element of the hierarchy is shown, that is, on selecting the World, Europe and France elements the map with the 103 key is shown.
On selecting the root element and elements of the second, the third and the fourth levels of the hierarchy the TOPO_ID4 map of the root element of the hierarchy is shown, that is, on selecting the World, Europe, France and Bordeaux elements the map with the 104 key is shown.
On selecting the root element and elements of the second, the third, the fourth and the fifth levels the TOPO_ID5 map of the root element is showed, and so on.
On partial selection by hierarchy levels:
On selecting elements of the second level without selecting the root element of the hierarchy the TOPO_ID2 map of the root element of the hierarchy is shown, that is, on selecting the Europe and Asia element the map with the 102 key is shown.
On selecting elements of the second level and the third level without selecting the root element of the hierarchy the TOPO_ID3 map of the root element of the hierarchy is shown, that is, on selecting the Europe, Asia and France elements the map with the 103 key is shown.
On selecting one element of the second level without selecting the root element of the hierarchy, the TOPO_ID map of the selected element of the second level is shown, that is, on selecting the Asia element the map with the 500 key is shown.
On selecting one element of the second level and selecting of one or more child elements of the third level the TOPO_ID2 map of the selected element of the second level is shown, that is, on selecting the Asia and Russia elements the map with the 502 key is shown.
On selecting one element of the second level, selecting one or more child elements of the third level and selecting elements of the fourth level the TOPO_ID3 map of the selected element of the second level is shown, that is, on selecting the Asia, Russia and Central Federal District elements the map with the 503 key is shown.
On selecting one element of the third level and several child elements of the fourth level the TOPO_ID2 map of the selected element of the third level is shown, and so on.
See also:
Basic Requirements for Working with Map | Showing Territory Outlines