Line | Urbi Pro | 2GIS Documentation
Urbi Pro

Line

This visualization method is available only for datasets uploaded as a file, and datasets uploaded via API.

The Line visualization method is useful for displaying objects whose length is significantly greater than their width, and the area is not significant. Such objects can include streets and roads, power lines, pipelines, and rivers.

Line

To choose a display method:

  1. Go to the Dashboards tab.
  2. Select the required dashboard.
  3. Click Layers icon.
  4. Select the required layer.
  5. In General settings, select the Line display method.
  6. Set the remaining visualization parameters if necessary.

The data is visualized on the map.

For the Line display method, the following parameters are available:

  • Color: selecting the color of the data display. Two ways to color elements on the map are available.

    • Color basis: parameter based on which the elements on the map are colored according to the Color scale (a set of prepared color samples). The available values depend on the selected data. You can select only numeric attributes.

      To reset the parameter, click Cross icon next to the parameter name.

      • Invert: select to invert the selected color scale.
      • Steps: gradation of the color scale from 1 to 10.
      • Legend: symbols for color and data.
      • Type of scale: Linear — displays values of the same order; Logarithmic — displays a wide range of values, when the values may differ by several orders of magnitude.
      • Opacity: setting an opacity of the elements on the map.
      • Stroke width: stroke width in px from 1 to 25.
    • If the Color basis is not selected, then the color palette with the ability to specify any color in HEX format is available. The elements on the map are colored the same.

      • Opacity: setting an opacity of the elements on the map.
      • Stroke width: stroke width in px from 1 to 25.