Maps are helpful because they allow you 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 GeoNode each dataset has one style refered 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. Then click the Edit Style link in the options (see the picture below).
The Dataset will open in a new Map. The Styles Panel will show you all the default style for the dataset and some useful tools. By default, the style will be showm in a text editor form.
You could continue to change the style with the text editor or switch to a visualized editor using the Visual editor above the text editor.
The visual 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.
Click on any of the buttons below to create a type of style you want.
The rule you have chosen is now added on the top with default attributes which you can edit to your preference*.
If the rule has errors, the following will be shown.
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 color as well as to reduce the lines width. The embedded MapStore makes available a powerful Style Editor to accomplish that tasks. In the next paragraph we will explain how.
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.