# Style vector data

#### Overview

This section explains how to apply styling to vector data in Ellipsis Drive.

A short video walkthrough is available below.

{% embed url="<https://www.loom.com/share/f3e9267c12a741cc9e2e6825f8cad66c?sid=40200dbd-fe8a-4c9d-b602-11003d803507>" %}

***

#### Applying styles

To style a vector layer, open the layer and access the styling options in the viewer.

Styling is applied based on feature properties and can be configured using the methods below.

***

#### Styling methods

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Range-based styling (rangeMap)</summary>

Assigns colors based on value ranges within a selected attribute.

Useful for continuous data such as elevation, density, or measurements.

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Value-based styling (valueMap)</summary>

Assigns specific colors to distinct attribute values.

Useful for categorical data such as land use types or classifications.

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> <strong>Constant</strong></summary>

Applies a single style to all features in the layer.

Useful for simple visualisation or baseline styling.

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Seeded random styling</summary>

Assigns consistent random colors to features based on their properties.

Useful for visually distinguishing features without predefined categories.

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Inherited styling</summary>

Applies styling based on a color attribute already present in the dataset.

Useful when styling is defined at data source level.

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Case-based styling (caseMap)</summary>

Applies styles based on conditional logic.

Useful for defining rules where styling depends on multiple conditions.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ellipsis-drive.com/working-with-vector-data/style-vector-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
