Data aggregation | Urbi Pro | Urbi Documentation
Urbi Pro

Data aggregation

For layers with areal objects (Proximity zones and Polygons) you can aggregate data from another layer to enrich information about the area displayed on the screen.

Aggregation is a way of transforming a set of data into one resulting value (sum of values, average value, and others).

Example scenario

Calculate the average rating of competitors or the amount of living population within a 5 minute proximity zone for a new organization branch.

To aggregate data for a layer:

  1. Create layers with data that you want to aggregate and place them inside one layer group.

    For example, if you want to aggregate data about residents, create a layer from the Population category for the required territory.

  2. Create a layer with Proximity zones or Polygon visualization type.

Layer group with proximity zones
  1. Open the created layer with areal objects (see the previous step) and click Aggregate data.

  2. Enter a new layer name.

  3. Configure aggregation attributes:

    Creating data aggregation
    • Data layer: select the layer with data you want to aggregate.
    • Attributes: specify the data type for aggregation. Set of data depends on the selected layer.
    • Aggregation method: select the method of transforming data.

    To add aggregation of other data or another method, click Add attribute.

    Note

    You can add not more than 20 attributes for one aggregation layer.

  4. Click Create.

    New layer appears inside the current layer group.

Hover over any polygon (or proximity zone) to see the aggregated data in a tooltip.

Tooltip with aggregated data

For the new layer with the Polygon visualization type, the following parameters are available:

  • Color: the color scale of the data display.

    • Color basis: the parameter based on which the elements on the map will be colored according to the Color scale. The available values depend on the selected data category.
    • Color scale: the set of prepared color samples.
    • Invert: select to invert the selected color scale.
    • Steps: gradation of the color scale from 1 to 10.
    • Legend: symbols for color and prepared data.
    • Type of scale: Linear — displays of values of the same order; Logarithmic (default) — displays of a wide range of values, when the values may differ by several orders of magnitude.
    • Opacity: setting the opacity of the elements on the map.
    • Stroke width: width in px from 1 to 25.
  • Outline: enable to display an outline around the elements.

    • Color scale: select the outline color.
    • Stroke width: width in px from 1 to 25.
  • Height: enable to display the data as a bar chart in a three-dimensional format.

    • Height basis: the parameter based on which the elements on the map will be formed. The available values depend on the selected data category.
    • Height scale: column height multiplier from 0.1 to 20.