# Custom Tile Map (no geo data)

**URL:** <https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689>\
**Category:** Kibana\
**Created:** [October 15, 2019, 3:42pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689 "2019-10-15T15:42:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eiksch](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@eiksch](https://discuss.elastic.co/u/eiksch)\
**Post date:** [October 15, 2019, 3:42pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689/1 "2019-10-15T15:42:08Z")

</div>

Hi,

I have a tileset for a big ingame map (GTA V [Example Map Interface](https://map.statev.de)) and I want to put it into Kibana. I created the layer and managed to make it display the images, but they are kinda screwed [Screenshot](http://puu.sh/EsSvo/7cbe0e2cee.jpg)

Is it even possible to make the Map feature work with a custom map like this?

And if it somehow works.. how do I set the dimensions for my custom coordinates? I just have x and y with no relation to lat and lng.

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [October 16, 2019, 8:05pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689/2 "2019-10-16T20:05:40Z")

</div>

Hi @eiksch

The answer is somewhat mixed.

it is possible to use Kibana Maps for this non-geo use-case. For a similar example, see the screenshots where we used Maps to display a map of game-of-thrones ([https://www.elastic.co/blog/elastic-maps-7-3-0-released](https://www.elastic.co/blog/elastic-maps-7-3-0-released)). It _does_ require that all your x-y coordinates are mapped to equivalent lats and lons in the appropriate -90/90 (for lat) and -180/180 (for lon) domains. So this may require a conversion step first on your end.

From the screenshot, it seems you are using the TMS-source. Yes, that's exactly the kind of source to use. So basically, just add [https://map.statev.de/{z}/{y}/{x}.png](https://map.statev.de/%7Bz%7D/%7By%7D/%7Bx%7D.png)

Unfortunately, why the GTA-map looks screwy in Kibana, is because the orientation of that GTA tile-set is flipped. The orientation of the Y-axis is bottom-to-top for your tile service. Maps only supports the tileset orientations where the Y-axis points top-to-bottom. That is why you get that odd striping effect.

The tileset spec Maps supports is the Google Maps one ([https://en.wikipedia.org/wiki/Tiled\_web\_map](https://en.wikipedia.org/wiki/Tiled_web_map)). Most toolkits that support cutting up imagery in tileset should support this spec.

---

<div class="post-metadata">

**Author:** ![eiksch](https://avatars.discourse-cdn.com/v4/letter/e/ee7513/32.png) [@eiksch](https://discuss.elastic.co/u/eiksch)\
**Post date:** [October 20, 2019, 3:10pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689/3 "2019-10-20T15:10:32Z")

</div>

I extended my picture now, from 8192x8192 to 16384x8192.

Then I used gdal\_translate and created a .tif to add the lat/lon information to the picture

And then I used gdal2tiles to create the tileset.

It now looks like [this](http://puu.sh/EuN4P/062db188bf.jpg)

@thomasneirynck can you tell me what is missing? It looks like it has something to do with the format of the tileset. Maybe gdal2tiles can't achieve what I need?

edit: it should look like this: [link](http://map.statev.de/half.jpg)

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [October 21, 2019, 1:08pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689/4 "2019-10-21T13:08:42Z")

</div>

Eep, that looks worse!

Can you check if the {x}/{y}/{z} parameters are ordered in the URL? it's possible that gdal2tiles puts them in a different order.

btw. you might be interested in this blogpost, that shows a similar use-case. [https://www.elastic.co/blog/kibana-and-a-custom-tile-server-for-nhl-data](https://www.elastic.co/blog/kibana-and-a-custom-tile-server-for-nhl-data) It's a few years old, and does not use the new Kibana Maps, but the principle is the same.

---

<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:** [November 18, 2019, 1:08pm UTC](https://discuss.elastic.co/t/custom-tile-map-no-geo-data/203689/5 "2019-11-18T13:08:51Z")

</div>

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