# Hillshade

Hillshades are used to visualize the valleys and ridges encoded in elevation raster data.

Hillshade visualizations are defined using `“type”: “hillshade”` and, support the following properties:

| Field name  | Description                                                                         |
| ----------- | ----------------------------------------------------------------------------------- |
| `color`     | An array of colors that will be used in the hillshade. From less elevation to more. |
| `source`    | The light angle. 0 is North, 90 East, …                                             |
| `intensity` | Controls the intensity of a hillshade.                                              |

The following map is an example of a raster layer using a hillshade visualization

![](https://293097899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLlIfNdbm4rCsu755xrdc%2Fuploads%2FQj0604sv6pCDbEmBvHvb%2FScreenshot%202024-04-12%20at%2013.36.53.png?alt=media\&token=f9df60de-8207-4adb-8f18-e559ee586098)

with the following style

```jsx
{
  "version": "2.3",
  "type": "hillshade",
  "config": {"band": 1},
  "legend": {},
  "paint": {"isSandwiched": false}
}
```

Felt also supports adding color to hillshades by defining a `color` property in the style

![](https://293097899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLlIfNdbm4rCsu755xrdc%2Fuploads%2FzHsPctSca1tv0e1clnM3%2FScreenshot%202024-04-12%20at%2013.42.47.png?alt=media\&token=50112b5f-1110-45e8-b422-010bf5ef949f)

which is defined by the following style

```jsx
{
  "config": {"band": 1, "steps": [-154.46435546875, 7987.457987843631]},
  "legend": {},
  "type": "hillshade",
  "version": "2.3",
  "paint": {
    "isSandwiched": false,
    "color": "@feltHeat",
    "source": 315,
    "intensity": 0.76
  }
}
```


---

# 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://developers.felt.com/felt-style-language/types-of-visualizations/hillshade.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.
