> For the complete documentation index, see [llms.txt](https://docs.ellipsis-drive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipsis-drive.com/working-with-vector-data/style-vector-data.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
