The config block
The config block contains configuration options for a given visualization.
These are the fields that each config block can contain:
Field name | Description |
---|---|
| Optional. Used in raster numeric visualizations. The raster band that we’ll use to get the data from. |
| Mandatory for categorical visualizations. The attribute that contains the categorical attributes that will be used. |
| Mandatory for a categorical visualization. An array of the values that will be used as categories. Categories will be rendered from top to bottom following the definition order. |
| Optional. Defines which dataset attribute or attributes to use for labeling. If multiple values are provided, the first available one will be used. |
| Optional. Used in raster algebra numeric visualizations. The type of operation and the bands used for it. |
| Optional. Used in raster visualizations. Defines values that won’t be shown |
| Mandatory for a numeric visualization. The attribute that contains the numeric values used. |
| Optional. Used in categorical visualizations. It can be set to either “below” or “above” to make features that do not match any of the defined categories render below or above the other ones. The default position is “below”. |
| Optional. Used on raster data visualizations. It can be set to either “nearest” or “linear”. Defaults to “nearest” |
| Optional. Used in categorical visualizations. If this field is set to true it will show all features that do not match any of the defined categories and add an extra entry as the last item in the legend. |
| Mandatory for a numeric visualization. An array of values that are either step based depending on the classification method and number of steps chosen or, for a continuous visualization, the min and max values from the numericAttribute. |
Default Values
Name | Points | Polygons | Lines | Raster |
---|---|---|---|---|
| - | - | - | “nearest” |
| "#EA3891" | "#EA3891" | "#EA3891" | - |
| "#EA3891" | "#EA3891" | "#EA3891" | - |
| - | - | - | |
| - | - | "round" | - |
| - | - | "round" | - |
| 0.9 | 0.8 | 1 | - |
| - | false | - | - |
| 4 | - | 2 | - |
| "#F9F8Fb" | "#777777" | - | - |
| 1 | 1 | - | - |
Examples
Last updated