SupportLog In

To use S2 layer, you need to assign a column containing S2 tokens.

An example of the S2 Layer.

An example of the S2 Layer.

Usage

Studio auto generates S2 layer from columns named s2 or s2_token.

Sample Dataset

tokenvalue
808580040.5979242952642347
8085800c0.5446256069712141
808580140.1187171597109975
8085801c0.2859146314037557
808580240.19549012367504126
808580340.3373452974230604
8085803c0.9218176408795662
808580440.23470692356446143
8085804c0.1580509670379684
808580540.15992745628743954

Settings

The following settings are available for the S2 layer:

Basic

Core settings of the S2 Layer.

SettingDescription
Layer TypeMust be S2 to use the S2 Layer.
DatasetThe dataset from which to derive S2 indexes.
TokenThe column containing S2 indexes.

Fill Color

Fill color settings for S2 indexes.

SettingDescription
Fill Color ToggleToggle to add or remove a fill color.
Color Based OnThe metric that the fill color is based upon.
Color ScaleThe color scale and palette of the layer.
Fill OpacityThe opacity of color fill.

Stroke Color

Stroke color settings for S2 indexes.

SettingDescription
OutlineToggle to enable/disable outline.
Stroke Color Based OnThe metric that the fill color is based upon.
Stroke Color ScaleThe color scale and palette of the stroke.
OpacityThe opacity of the S2 cells, 100 = 100%, 0 = 0%.

Stroke Width

Stroke width configuration for S2 indexes.

SettingDescription
Stroke Width (Pixels)The width of the stroke/outline in pixels.
Stroke Based OnA field to base stroke width on.

Height

Height settings for the S2 layer. Height is best viewed with the 3D viewing mode.

SettingDescription
Height Based OnAn column to base the height on.
Height ScaleChoose from linear, sqrt, and log.
Height MultiplierA multiplier to apply to the S2 layer's height.
Height RangeIncrease to raise the height of the S2 indexes.
Fixed HeightApplies height without additional modifications.

JSON Schema

For details on how to programmatically specify layer properties, refer to the Layer Configuration specification.