9.4 Manage facility layers

The facility layer displays icons that represent types of facilities. Polygons do not show up on the map, so make sure that you select an organisation unit level that has facilities.

A polygon is an enclosed area on a map representing a country, a district or a park.

Facility layers are represented by layer cards in the layer panel such as:

Along the top of the facilities card from left to right are:

In the middle of the facilities card is a legend indicating the group set representation.

Along the bottom of the facilities card from left to right are:

9.4.1 Create a facility layer

To create facility layer, choose Facilities on the Add layer selection. This opens the Facility layer configuration dialog.

  1. In the GROUP SET tab:

    • Select a Group set from the list of organisation unit group sets defined for your DHIS2 instance.
  2. In the ORGANISATION UNITS tab

    • select the organisation unit level(s) and/or group(s) from the selection fields on the right hand side.

    • 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.

  3. In the STYLE tab:

    • select any styling you wish to apply to the facilities.

      • Show labels

        Allows labels to be shown on the layer. Font size, weight and color can be modified here.

      • Show buffer

        Allows a visual buffer to be displayed on the layer around each facility. The radius of the buffer can be modified here.

  4. Click ADD LAYER .

9.4.2 Create or modify a facility layer

  1. In the layer panel, click the edit (pencil) icon on the facility layer card.

  2. Modify the setting on the GROUP SET, ORGANISATION UNITS and STYLE tabs as desired.

  3. Click UPDATE LAYER .

9.4.3 Filter values in a facility layer

Facility layers have a data table option that can be toggled on or off from the facility layer card.

The data table displays the data forming the facility 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:

    • NAME

      filter by name containing the given text

    • ID

      filter by IDs containing the given text

    • TYPE

      filter by GIS display types containing the given text

Note

Data table filters are temporary and are not saved with the map layers as part of the favourite.

9.4.4 Search for a facility

The NAME filter field in the data table provides an effective way of searching for individual facilities.

9.4.5 Remove facility layer

To clear all data in a facility layer:

  1. In the layer panel, click the delete (trash can) icon on the facility layer card.

    The layer is removed from the current map.

9.4.6 Manage facilities in a layer

You can have facilities in Facility , Boundary and Thematic layers.

9.4.6.1 Relocate a facility

  1. Right-click a facility and click Relocate .

  2. Put the cursor in the new location.

    The new coordinate is stored permanently. This cannot be undone.

9.4.6.2 Swap longitude and latitude of a facility

  1. Right-click a facility and click Swap longitude/latitude .

    This is useful if a user inverted latitude and longitude coordinates when creating the organisation unit.

9.4.6.3 Display facility information

You can view organisation unit information set by the administrator as follows:

View organisation unit information
Function Action

View information for the current period

  1. Click a facility.

View information for a selected period

  1. Right-click a facility and click Show information .

  2. In the Infrastructural data section, select a period.

Note

You configure the displayed infrastructural data in the System Settings app.