Thematic maps represent spatial variation of geographic distributions. Select your desired combination of indicator/data element, period and organisation unit level. If your database has coordinates and aggregated data values for these organisation units, they will appear on the map.
You must refresh the DHIS2 analytics tables to have aggregated data values available.
Thematic layers are represented by layer cards in the layer panel such as:
Along the top of the thematic card from left to right are:
A grab field to allow dragging and re-ordering layers with the mouse
The title and period associated with the layer
An eye symbol for toggling the visibility of the layer
An arrow symbol to collapse and expand the thematic card
In the middle of the thematic card is a legend indicating the value ranges displayed on the layer.
Along the bottom of the thematic card from left to right are:
An edit (pencil) button to open the layer configuration dialog
A data table toggle button to show or hide the data table associated with the layer
A slider for modifying the layer transparency
A delete (trash can) icon to remove the layer from the current thematic map.
To create an event layer, choose Thematic on the Add layer selection. This opens the Events layer configuration dialog.
In the DATA tab:
Select a data type and then select respectively the group and the target element. The available fields depend on the type of item selected.
Select a value from the Aggregation type field for the data values to be shown on the map. By default, “By data element” is selected. Alternative values are: Count; Average; Sum; Standard deviation; Variance; Min; Max. See also Aggregation operators .
In the PERIOD tab
select the time span over which the thematic data is aggregated. You can select either a fixed period or a relative period.
In the Period type field select period length, then select the target in the Period field.
In the Period type field select Relative , then select one of the relative periods, for example This month or Last year , in the Period field.
In the ORG UNITS tab:
Select the organisation units you want to include in the layer. It is possible to select either
One or more specific organisation units, or
A relative level in the organisation unit hierarchy, with respect to the user. By selecting a User organisation unit the map data will appear differently for users at different levels in the organisation unit hierarchy.
In the STYLE tab:
Select either Automatic or Predefined legend.
Automatic legend types means that the application will create a legend set for you based on your what method, number of classes, low color and high color you select. Method alludes to the size of the legend classes. Set to
the range of each interval will be (highest data value - lowest data value / number of classes)
the legend creator will try to distribute the organisation units evenly.
If you have facilities in your thematic layer, you can set the radius for minimum and maximum values by changing the values in the Low size and High size boxes respectively.
Click ADD LAYER .
In the layer panel, click the edit (pencil) icon on the thematic layer card.
Modify the setting on the DATA, PERIOD, ORG UNITS and STYLE tabs as desired.
Click UPDATE LAYER .
Thematic layers have a data table option that can be toggled on or off from the thematic layer card.
The data table displays the data forming the thematic layer.
clicking on a title will sort the table based on that column; toggling between ascending and descending.
entering text or expressions into the filter fields below the titles will apply those filters to the data, and the display will adjust according to the filter. The filters are applied as follows:
filter by name containing the given text
filter values by given numbers and/or ranges, for example: 2,>3&<8
filter by legend containing the given text
filter by ranges containing the given text
filter level by numbers and/or ranges, for example: 2,>3&<8
filter by parent names containing the given text
filter by IDs containing the given text
filter by GIS display types containing the given text
filter by color names containing the given text
Data table filters are temporary and are not saved with the map layers as part of the favourite.
The NAME filter field in the data table provides an effective way of searching for individual organisation units.
To clear all data in a thematic layer:
In the layer panel, click the delete (trash can) icon on the thematic layer card.
The layer is removed from the current map.