# Mapbox vector tile with elasticsearch 7.15

**URL:** https://discuss.elastic.co/t/mapbox-vector-tile-with-elasticsearch-7-15/289092
**Category:** Elasticsearch
**Tags:** docker
**Created:** [November 12, 2021, 5:15pm UTC](https://discuss.elastic.co/t/mapbox-vector-tile-with-elasticsearch-7-15/289092 "2021-11-12T17:15:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tleduong](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tleduong](https://discuss.elastic.co/u/tleduong)
#### Post date: [November 12, 2021, 5:15pm UTC](https://discuss.elastic.co/t/mapbox-vector-tile-with-elasticsearch-7-15/289092/1 "2021-11-12T17:15:52Z")

</div>

Anyone have experience enabling mapbox vector tile for Elastic? I have a v7.15 docker container of Elasticsearch running with basic authentication but getting this error when I try to access to index/\_mvt/spatial\_field/:z/:x/:y endpoint.

reason": "current license is non-compliant for [geotile\_grid aggregation on geo\_shape fields]", "license.expired.feature": "geotile\_grid aggregation on geo\_shape fields"

How do I enable this feature locally or feed it the right license?

---

<div class="post-metadata">

### Author: ![tleduong](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tleduong](https://discuss.elastic.co/u/tleduong)
#### Post date: [November 12, 2021, 10:14pm UTC](https://discuss.elastic.co/t/mapbox-vector-tile-with-elasticsearch-7-15/289092/2 "2021-11-12T22:14:40Z")

</div>

Found the answer, just needed this in my docker environment setting:

- "xpack.license.self\_generated.type=trial"

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 10, 2021, 10:15pm UTC](https://discuss.elastic.co/t/mapbox-vector-tile-with-elasticsearch-7-15/289092/3 "2021-12-10T22:15:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
