Modifying data sample | Urbi Pro | Urbi Documentation
Urbi Pro

Modifying data sample

Modifying a data sample can be useful when you need to retain only specific data from the entire dataset for your operations. When you create a layer and after creating it, you can modify the data sample:

  • Filter data by parameters.
  • Filter data by territories by applying geofilters.
  • Manually change the list of filtering results by removing particular objects. If you uploaded the dataset with point objects, you can add new objects to the sample: see the Adding point objects instruction.

You can change the sample for categories of built-in data and your own data: uploaded as a file and uploaded via API.

If some layers and widgets are created based on the data sample, they reflect the changes. Any sample changes do not delete the data in the dataset.

You can also display data only for certain territories on a dashboard without changing the sample using geofilters: see the Filtering by territories on a dashboard section.

  1. Go to the Main or Data tab.

  2. Select the required category of the built-in data or the uploaded dataset.

  3. To filter data by territories, in the Geofilter settings box, select the territories for which the data sample is created (up to 50 territories). You can use:

    • Suggested standard territories: regions, districts, settlements, and others. Depending on the tariff, some territories may not be available.
    • Your own territorial division. To do this, first upload a dataset with polygons and create a territory filter.

    Click Done.

  4. To filter data by parameters, set the required filters.

  5. To manually change the list of filtering results, go to the Results pane, click Edit list, and select the items to retain in the data sample. Click Apply.

    Modifying results when creating a layer
  6. Click Create layer.

    If there are no dashboards in the project yet, the first dashboard is created, and the layer with data is automatically added to it.

  7. If there is a dashboard in the project, specify where to add the layer in the dialog box:

    • Select the created dashboard in the list and click Create.
    • Click Add to the new dashboard, enter a name of the new dashboard, and click Create. A new dashboard is created, and the layer with data is automatically added to it.
  1. Go to the Dashboards tab.

  2. Select the required dashboard.

  3. Click Layers icon.

  4. Select the required layer.

  5. Click Edit dataset.

    Edit dataset button
  6. To filter data by territories, in the Geofilter settings box, select the territories for which the data sample is created (up to 50 territories). You can use:

    • Suggested standard territories: regions, districts, settlements, and others. Depending on the tariff, some territories may not be available.
    • Your own territorial division. To do this, first upload a dataset with polygons and create a territory filter.

    Click Done.

  7. To filter data by parameters, set the required filters.

  8. To manually change the list of filtering results, go to the Results pane, click Edit list, and select the items to retain in the data sample. Click Apply.

    Modifying results of data sample for a created layer
  9. To finish editing, click one of the buttons:

    • Update layer: all changes are saved, and the layer is updated.
    • Create layer: a new layer is created and added to the current dashboard.
    • Back to layer: the changes are not saved, and the current dashboard is opened.

You can use geofilters to select the territories for which layer data is displayed on the dashboard.

By default, the dashboard displays all data from the sample on which the layer is based:

Initial sample

To hide data related to a territory on the dashboard, click on the territory name in the upper right corner of the dashboard:

The sample after filtering