Maps - Event and TEI Layer - Session Summary¶
- Mapping our data within the event or tracked entity layer requires that co-ordinates are collected during data entry
- We can map events within a tracker program the same way we map event data when using the event layer
- We can map tracked entities using the tracked entity layer. This layer allows us to show relationships in the same program
- The tracked entity layer also has some limitations:
- We can not use any event data in conjunction with the tracked entity coordinate
- Can not show any relationships on the map between different programs
- We can also map data using program indicators, please refer to that sessions material for more information
Creating a map using the event layer¶
- In the maps app, go to Add layer -> event layer
- You will have 5 tabs that you should fill out in sequence
- Data tab : Select the program, program stage, coordinate field and event status
- Period tab : Select your period
- Org Units tab : Select your org units
- Filter tab : Select the criteria for events that you want to filter out from your map. Only events that meet your criteria will be shown on the map
- Style tab : There are several options on the style tab that will affect the output of your map
- Group events vs. view all events
- Group events : When you have many events, it is often useful to group them together. As you zoom in these will start to separate into the individual detail
- View all events : if you are working with a subset of your data, you may want to view all events immediately. If you have many events and choose this option, your map will not be useful when zoomed out.
- Color/Radius : this will determine the color/radius of your grouped or individual events if no style has been applied to them
- Style by data element : This is useful to assign color schemes to our events using two data types
- Data items that contain option sets : A color will be assigned to each option within the option set
- Data items that use a number : A color will be assigned to them using either an automatic or pre-defined legend
- This option will ignore any color option you have selected previously in the "color" sectio
- Group events vs. view all events
- It is also typically a good idea to add a boundary layer to a map using an event layer by going to Add layer -> Boundaries and selecting the level or group you want to add the boundary for
Create a map using the TEI layer¶
- In the maps app go to Add layer -> Tracked Entities
- You will have 5 tabs that you should fill out in sequence
- Data tab : Select the tracked entity type, Program and Program status
- Relationships tab : Check "Display Tracked Entity relationships" and select the relationship type
- Period tab : Select the period type along with the start and end date
- Org Units tab : select the org unit and the selection mode
- Style tab
- Select the color and size of the tracked entity
- Select the color and size of the related entity
- Select the color of the line used to connect the tracked entity and related entity
- It is also typically a good idea to add a boundary layer to a map using an event layer by going to Add layer -> Boundaries and selecting the level or group you want to add the boundary for
Save a map¶
- Go to the file menu and select the "Save" option
- Give the map a name and a description and select "Save"
Download a map¶
Select the download option from within the app. This will open up a new dialog. Position your legend where you want it and select "Download" to download the map. This will download a PNG file of the map to your downloads folder.