Optimizing, publishing, and styling Vector data

Styling vector data

  • We can style vectorial datasets by adding rules to the default style.

  • Go to the Mainrd dataset details page and click on Edit > Edit Style > Visual editor

  • We can add a new rule by clicking on the desired symbol type in the toolbar

    image

  • We can also add a rule by copying from previously defined styles using the copy from link.

    image

Creating line rule

  • Click on image in the toolbar

  • Name it CSS Roads and set the following attributes

    • stroke colour: orange,

    • stroke width: 6,

    • line cap: round,

    image

  • You can also adjust the line rule styles by going through the options listed in the drop-down-menu in the upper right corner of the menu. See the figure below: image

Creating mark rule

  • Click on image in the toolbar.

  • Name it Mark rule and set the following attributes

    • fill color: yellow,

    • stroke color: red,

    • stroke width: 1,

    • radius: 2,

    image

You can also choose another shape by clicking on the shape button to display available options.

image

Creating text rule

  • Click on image on the toolbar.

  • Name it Text rule and set the listed attributes. Select the label from the available attributes.

    image

Do the same for the icon rule image.

  • Once you are done adding your rules, click on Apply to save the changes.

Next Section: Publishing Vector Time Series