# Raster visualization issues at low zoom levels

#### Raster data looks incorrect at low zoom levels

If your raster data does not render correctly when zooming out, this is usually caused by the **interpolation method used during ingestion**.

Interpolation determines how pixel values are aggregated when the raster is downsampled for lower zoom levels.

***

### Choosing the correct interpolation method

#### Nearest neighbor interpolation

Use this when your data represents **categorical values or classes.**

This method preserves original values and prevents class mixing. It ensures that discrete categories remain visible at all zoom levels and do not “disappear” when the data is generalized.

***

#### Linear interpolation

Use this for **continuous data**, such as:

* elevation models
* temperature
* satellite imagery or other optical data

This method produces smoother transitions between values, reducing pixelation when zooming out.

***

#### How to set interpolation

You can define the interpolation method during upload in the Ellipsis Drive interface.

It can also be configured programmatically via the [API](https://docs.ellipsis-drive.com/developers/api-v3/path-raster/edit-raster) or using the [Python package](https://ellipsis-package.readthedocs.io/en/latest/path/raster/index.html#edit).

<figure><img src="/files/LmtzKB2IXs2q1p84Ogzn" alt=""><figcaption></figcaption></figure>

***

{% hint style="warning" %}

### Important note

Choosing the wrong interpolation method can significantly affect how your data is perceived at different zoom levels, especially in derived visualizations or analytical workflows.
{% endhint %}


---

# 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/extra/troubleshooting/raster-visualization-issues-at-low-zoom-levels.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.
