> For the complete documentation index, see [llms.txt](https://help.maphubs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.maphubs.com/data/raster-tile-layers.md).

# Raster Tile Layers

{% hint style="info" %}
A raster tile service is a web service that points to image tiles used in web maps, normally 256x256 pixel PNG or JPEG images stored in a Z/X/Y format. For example: <https://storage.googleapis.com/moabi-raster-tiles/LC81290522017025LGN00/{z}/{x}/{y}.png> is the link to a tiles for a Landsat 8 scene used in this layer in Map for Environment <https://mapforenvironment.org/layer/info/640/#10.22/11.853/99.5299>
{% endhint %}

{% hint style="warning" %}
Before you start you must have a [MapHubs account](/getting-started/signup-for-a-maphubs-account.md), and have a [group](/getting-started/groups.md) where you want to create the new layer
{% endhint %}

## Create a Layer

Create a new layer by going to the Explore -> Layers page and clicking the  + button in the bottom right. Alternative you can click the Add a Layer button from the page of a group, and some MapHubs portals will have a Create a Layer shortcut on the landing page.

Choose the *Raster Tiles* option

![](/files/-LMyCMhXHWqU2SNTNKxg)

Enter the tile URL for the raster tile service, pay special attention to the template portion  of the URL which must have the `/{z}/{x}/{y}` coordinates.

![](/files/-LMyD_QU1loJ6kTe07_d)

{% hint style="info" %}
If you know the min and max zoom levels you can optionally configure them here. Setting the max zoom level (if known) will prevent a raster layer from disappearing in the map when you zoom in past its maximum
{% endhint %}

Next give the layer a name, description, source, and license. Choose the group where you want to save the layer.&#x20;

![](/files/-LMyEWqfRYjul8_4CE-s)

Finally zoom the preview map to the location of the raster data and optionally choose an opacity value for the layer if you want it to be transparent

![](/files/-LMyEiLmhW_ARHRtyiQD)


---

# 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://help.maphubs.com/data/raster-tile-layers.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.
