Designing a Map
The following section describes how to design a Map based on the data you have collected in ActivityInfo. You can select fields from your Forms and Subforms or use other Reports that include a Geographic Source to display your data on various maps.
When you design a Form that collects geographic information, you can display the data collected in your Records on Map Reports.
You can collect geographic information using a Geographic Point field to collect specific coordinates or by referencing the built-in geographic Database of ActivityInfo to collect information related to a geographic area. Both are considered Geography Sources.
You can display various types of data on a Map. Quantity and Calculated fields showing numerical values will be displayed as proportional circles by default. Other types of fields and Calculated fields that return text or boolean values will be displayed as icons by default.
If you don't collect geographic information you won't be able to design a Map report. Records that have no values will not be displayed on the Map.
How to design a Map
- During the first phase of the Map design, you must select the source(s) of the data you will use. These can be one or more Databases, one or more Folders, one or more Forms. Depending on what you want to use as your source you can drill down the list to reach a specific Form or select all the contents available instead.
- To reach a specific Form, click on a Database to reveal the list of the available Forms and Folders.
- If the Form belongs to a Folder, select the Folder from the list of Folders to reveal the list of Forms in it.
- When you have selected all the sources you need click on the "Done" button.
Make sure that you use Forms that collect geographic information.
- To design a Map you first need to add Layers. Select the data you want to display on the map and drag and drop it in the Layers panel.
- Once you drop a data source on the Layers panel, observe how the Map starts forming.
- Zoom in and out of the map using your mouse scroll wheel. Customize the way the map appears by clicking on the right mouse button and moving the cursor right or left at the same time.
- Change the Map to a different basemap by selecting the type of basemap you prefer in the Basemap menu.
- Click on 'Collapse' to collapse the Report Design side panel.
You can add as many Layers as needed by dragging and dropping the data sources on the panel.
- Click on the Layer card to reveal more options.
- Change the name of the Layer by typing a new name in the Layer card.
- Select the display you prefer.
- Select the geography source.
- Delete a Layer by clicking on "Delete layer".
- You can further define the style of the Layer.
- When using proportional circles you can select the color of the circles by clicking on a color.
- When using icons you can select the icon to use and the color of the icon by clicking on the icon and the color respectively.
- You can optionally add a Calculated field to your Map. Calculated fields allow you to analyze the data and display the results on the Map. Click on "+ Add calculated field" to navigate to the Formula editor.
Calculated fields showing numerical values will be displayed as proportional circles by default. Calculated fields that return text or boolean values will be displayed as icons by default.
- The Formula editor will appear. Under 'Functions' (left-hand side) you can view the functions available. Under 'Fields' (right-hand side) you can view the fields available.
- Start writing your Formula and click on "Done" when the Formula is ready.
- You can give a name to the Layer of the Calculated field and define the display, geography and styling options as with the rest of the Layers.