Dataset - Edit Style

Maps are helpful because they allow you to gain a deeper understanding of your data by allowing you to visualize it in many different ways. So you can tell different stories depending on how the data is presented. For any given data or dataset, you should explore different styling options and choose the best style for that.

In MapStand Hub each dataset has one style referred to as a Default Style which is determined by the nature of the data you’re mapping. When uploading a new dataset (see Datasets Uploading) a new default style will be associated to it.

Editing the Dataset Style

In order to edit a dataset style, open the Dataset Page (see Dataset Information) and click on Edit > Edit Style link (see the picture below).


Edit Styles button

 The Styles Panel will show you all the default style for the dataset and some useful tools. By default, the style will be shown in a text editor form.


The Styles Panel

You can continue to change the style using the Visual Editor or switch to a code editor.

The code editor looks like this


You can then edit the style by clicking on each attribute of the style.

Creating Style Rules

In order to create a new rule, Three options are provided.

  1. Mark rule

  2. Icon rule

  3. Text rule

Click on any of the buttons below to create a type of style you want.

../../_images/add_style_buttons.png

Create new rule buttons

The rule you have chosen is now added on the top with default attributes which you can edit to your preference*.

../../_images/new_rule.png

New style

If the rule has errors, the following will be shown.

../../_images/edit_style_error.png

Rule Error

You can switch the rule ordering by dragging it to the top or bottom depending on your preference.

It would be nice to change the style in order to decrease the opacity of the filling colour as well as to reduce the lines width. The embedded MapStore makes available a powerful Style Editor to accomplish that tasks. 

Each rule has a delete icon on the top right which you can use to remove the rule on the style.

Click on Save on the top to save your changes.