S2 Layer
To use S2 layer, you need to assign a column containing S2 tokens.
Usage
Studio auto generates S2 layer from columns named s2
or s2_token
.
Sample Dataset
token | value |
---|---|
80858004 | 0.5979242952642347 |
8085800c | 0.5446256069712141 |
80858014 | 0.1187171597109975 |
8085801c | 0.2859146314037557 |
80858024 | 0.19549012367504126 |
80858034 | 0.3373452974230604 |
8085803c | 0.9218176408795662 |
80858044 | 0.23470692356446143 |
8085804c | 0.1580509670379684 |
80858054 | 0.15992745628743954 |
Settings
The following settings are available for the S2 layer:
Basic
Core settings of the S2 Layer.
Setting | Description |
---|---|
Layer Type | Must be S2 to use the S2 Layer. |
Dataset | The dataset from which to derive S2 indexes. |
Token | The column containing S2 indexes. |
Fill Color
Fill color settings for S2 indexes.
Setting | Description |
---|---|
Fill Color Toggle | Toggle to add or remove a fill color. |
Color Based On | The metric that the fill color is based upon. |
Color Scale | The color scale and palette of the layer. |
Fill Opacity | The opacity of color fill. |
Stroke Color
Stroke color settings for S2 indexes.
Setting | Description |
---|---|
Outline | Toggle to enable/disable outline. |
Stroke Color Based On | The metric that the fill color is based upon. |
Stroke Color Scale | The color scale and palette of the stroke. |
Opacity | The opacity of the S2 cells, 100 = 100%, 0 = 0%. |
Stroke Width
Stroke width configuration for S2 indexes.
Setting | Description |
---|---|
Stroke Width (Pixels) | The width of the stroke/outline in pixels. |
Stroke Based On | A field to base stroke width on. |
Height
Height settings for the S2 layer. Height is best viewed with the 3D viewing mode.
Setting | Description |
---|---|
Height Based On | An column to base the height on. |
Height Scale | Choose from linear, sqrt, and log. |
Height Multiplier | A multiplier to apply to the S2 layer's height. |
Height Range | Increase to raise the height of the S2 indexes. |
Fixed Height | Applies height without additional modifications. |
JSON Schema
For details on how to programmatically specify layer properties, refer to the Layer Configuration specification.
Updated 10 months ago